Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Humanipedia
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Template:Adult Film Database name/doc
Template
Discussion
English
Read
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Documentation subpage}} <!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> {{Template shortcut|AFD name|AFDB name|afdb name}} {{Uses Wikidata|P3351}} {{Lua|Module:EditAtWikidata}} '''{{NAMESPACE}}:{{BASEPAGENAME}}''' displays an external link to an actor's page at the [[Adult Film Database]] website ([http://adultfilmdatabase.com/ adultfilmdatabase.com]). It is intended for use in the [[Wikipedia:External links|external links]] section of an article. == Usage == Unnamed parameters: : <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | ''ID'' }}</code> : <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | ''ID'' | ''NAME'' }}</code> Named parameters: : <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | id= ''ID'' }}</code> : <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | id= ''ID'' | name= ''NAME'' }}</code> Using [[Wikidata]] property [[d:Property:P3351|P3351]]: : <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>}}</nowiki></code> : <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | name= ''NAME'' }}</code> == Examples == === Unnamed parameters === ''URLs:'' : <kbd>[http://www.adultfilmdatabase.com/actor.cfm?actorid=36967 http://www.adultfilmdatabase.com/actor.cfm?actorid={{hilite|36967}}]</kbd> : <kbd>[http://www.adultfilmdatabase.com/actor/brianna-beach-36967/ http://www.adultfilmdatabase.com/actor/brianna-beach-{{hilite|36967}}/]</kbd> ''Usage:'' : <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | 36967 | Brianna Beach }}</code> ''Output:'' :* {{{{BASEPAGENAME}} | 36967 | Brianna Beach }} === Named parameters === ''URLs:'' : <kbd>[http://www.adultfilmdatabase.com/actor.cfm?actorid=4246 http://www.adultfilmdatabase.com/actor.cfm?actorid={{hilite|4246}}]</kbd> : <kbd>[http://www.adultfilmdatabase.com/actor/john-holmes-4246/ http://www.adultfilmdatabase.com/actor/john-holmes-{{hilite|4246}}/]</kbd> ''Usage:'' : <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | id= 4246 | name= John Holmes }}</code> ''Output:'' :* {{{{BASEPAGENAME}} | id= 4246 | name= John Holmes }} ===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:'' : <code><nowiki>* {{</nowiki>{{BASEPAGENAME}}<nowiki>}}</nowiki></code> ''Output:'' :* {{ {{BASEPAGENAME}} }} == TemplateData == {{TemplateData header}} <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": "{{PAGENAMEBASE}}", "required": false } }, "paramOrder": [ "id", "name" ] } </templatedata> == Tracking categories == * {{clc|Articles using Template:Adult Film Database name}} * {{clc|Adult Film Database name template missing ID and not in Wikidata}} == See also == Other templates for this website: * {{tl|Adult Film Database movie}}, with shortcut {{tl|AFD movie}} * {{tl|Adult Film Database studio}}, with shortcut {{tl|AFD studio}} Similar templates for other websites: * {{tl|IMDb name}} * {{tl|IAFD name}} * {{tl|BGAFD name}} * {{tl|EGAFD actress}} * {{tl|EGAFD actor}} <includeonly>{{sandbox other|| <!--Categories below this line, please; interwikis at Wikidata--> [[Category:Film person external link templates]] [[Category:External link templates using Wikidata]] [[Category:Templates that add a tracking category]] [[Category:WikiProject Pornography]] }}</includeonly>
Summary:
Please note that all contributions to Humanipedia may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Humanipedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Adult Film Database name
(
edit
)
Template:Category link with count
(
edit
)
Template:Clc
(
edit
)
Template:Documentation subpage
(
edit
)
Template:EditAtWikidata
(
edit
)
Template:First word
(
edit
)
Template:Hilite
(
edit
)
Template:Lua
(
edit
)
Template:Main other
(
edit
)
Template:Mbox
(
edit
)
Template:PAGENAMEBASE
(
edit
)
Template:Sandbox other
(
edit
)
Template:Side box
(
edit
)
Template:Sister project
(
edit
)
Template:TemplateData header
(
edit
)
Template:Template link
(
edit
)
Template:Template other
(
edit
)
Template:Template parameter usage
(
edit
)
Template:Template shortcut
(
edit
)
Template:Tl
(
edit
)
Template:Uses Wikidata
(
edit
)
Template:Yesno
(
edit
)
Template:Yesno-no
(
edit
)
Module:Check for unknown parameters
(
edit
)
Module:EditAtWikidata
(
edit
)
Module:Lua banner
(
edit
)
Module:Message box
(
edit
)
Module:Shortcut
(
edit
)
Module:Side box
(
edit
)
Module:String
(
edit
)