Template:Adult Film Database name/doc

It is intended for use in the external links section of an article.

Usage
Unnamed parameters:

Named parameters:

Using Wikidata property P3351:

Unnamed parameters
URLs:
 * http://www.adultfilmdatabase.com/actor.cfm?actorid=
 * http://www.adultfilmdatabase.com/actor/brianna-beach-/

Usage:

Output:

Named parameters
URLs:
 * http://www.adultfilmdatabase.com/actor.cfm?actorid=
 * http://www.adultfilmdatabase.com/actor/john-holmes-/

Usage:

Output:

No parameters
When used without an "id" parameter, this template will call data from Wikidata, if available. If none is available, an error message will be displayed and the category Category:AdultFilm db name template missing ID will be applied.

Usage:

Output:

TemplateData
{       "description": "This template displays an external link to an actor's page at the Adult Film Database website (adultfilmdatabase.com). It is intended for use in the external links section of an article.", "params": { "id": { "label": "id", "aliases": [ "1" ], "description": "The \"id\" parameter (or unnamed parameter \"1\") should contain the ID portion of the URL. Example: 36967 is the ID portion of http://www.adultfilmdatabase.com/actor.cfm?actorid=36967 or http://www.adultfilmdatabase.com/actor/brianna-beach-36967/. This parameter is optional if Wikidata property P3351 exists, but required if not.", "type": "number", "default": "Wikidata property P3351", "required": false },		"name": { "label": "name", "aliases": [ "2" ], "description": "The \"name\" parameter (or unnamed parameter \"2\") may be used to specify the link text, which should be the name of the subject of the link. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation.", "type": "string", "default": "", "required": false }	},	"paramOrder": [ "id", "name" ] }