Template:Adult Film Database name/doc
This is a documentation subpage for Template:Adult Film Database name. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
Template:Adult Film Database name 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.
Usage
changeUnnamed parameters:
{{Adult Film Database name | ID }}
{{Adult Film Database name | ID | NAME }}
Named parameters:
{{Adult Film Database name | id= ID }}
{{Adult Film Database name | id= ID | name= NAME }}
Using Wikidata property P3351:
{{Adult Film Database name}}
{{Adult Film Database name | name= NAME }}
Examples
changeUnnamed parameters
changeURLs:
- http://www.adultfilmdatabase.com/actor.cfm?actorid=36967
- http://www.adultfilmdatabase.com/actor/brianna-beach-36967/
Usage:
* {{Adult Film Database name | 36967 | Brianna Beach }}
Output:
- Brianna Beach at the Adult Film Database
Named parameters
changeURLs:
- http://www.adultfilmdatabase.com/actor.cfm?actorid=4246
- http://www.adultfilmdatabase.com/actor/john-holmes-4246/
Usage:
* {{Adult Film Database name | id= 4246 | name= John Holmes }}
Output:
- John Holmes at the Adult Film Database
No parameters
changeWhen 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:
* {{Adult Film Database name}}
Output:
- {{Adult Film Database name}} template missing ID and not present in Wikidata.
TemplateData
changeTemplateData for Adult Film Database name
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
id | id 1 | 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.
| Number | optional |
name | name 2 | 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.
| String | optional |
Tracking categories
change- Category:Articles using Template:Adult Film Database name (6)
- Category:Adult Film Database name template missing ID and not in Wikidata (0)
See also
changeOther templates for this website:
- {{Adult Film Database movie}}, with shortcut {{AFD movie}}
- {{Adult Film Database studio}}, with shortcut {{AFD studio}}
Similar templates for other websites:
- {{IMDb name}}
- {{IAFD name}}
- {{BGAFD name}}
- {{EGAFD actress}}
- {{EGAFD actor}}