Difference between revisions of "Template:IAFD name/doc"
Jump to navigation
Jump to search
imported>Trivialist (→See also: +Tracking category section) |
imported>Zyxw (updates for use of Wikidata, update examples, add categories) |
||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | <!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | ||
| + | {{Uses Wikidata|P3869|P4505}} | ||
| + | {{Lua|Module:EditAtWikidata}} | ||
| − | '''{{NAMESPACE}}:{{BASEPAGENAME}}''' displays an external link to a page at the [[Internet Adult Film Database]] website ([http://www.iafd.com/ | + | '''{{NAMESPACE}}:{{BASEPAGENAME}}''' displays an external link to a page at the [[Internet Adult Film Database]] website ([http://www.iafd.com/ IAFD.com]). It is intended for use in the [[Wikipedia:External links|external links]] section of an article. |
| − | : ''For a | + | : ''For a film, use {{Tl|IAFD movie}}.'' |
: ''For a distributor, use {{Tl|IAFD distributor}}.'' | : ''For a distributor, use {{Tl|IAFD distributor}}.'' | ||
: ''For a studio, use {{Tl|IAFD studio}}.'' | : ''For a studio, use {{Tl|IAFD studio}}.'' | ||
| Line 18: | Line 20: | ||
: {{tlcw|{{BASEPAGENAME}} | id{{=}} <var>ID</var> | gender{{=}} <var>male/female/director</var> }} | : {{tlcw|{{BASEPAGENAME}} | id{{=}} <var>ID</var> | gender{{=}} <var>male/female/director</var> }} | ||
: {{tlcw|{{BASEPAGENAME}} | id{{=}} <var>ID</var> | gender{{=}} <var>male/female/director</var> | name{{=}} <var>NAME</var> }} | : {{tlcw|{{BASEPAGENAME}} | id{{=}} <var>ID</var> | gender{{=}} <var>male/female/director</var> | name{{=}} <var>NAME</var> }} | ||
| + | |||
| + | Using [[Wikidata]] property {{wpl|P3869}} or {{wpl|P4505}}: | ||
| + | : {{tlcw|{{BASEPAGENAME}} }} | ||
| + | : {{tlcw|{{BASEPAGENAME}} | name{{=}} <var>NAME</var> }} | ||
== Parameters == | == Parameters == | ||
; id | ; id | ||
: The "id" parameter (or unnamed parameter "1") is required and should contain the ID portion of the URL. | : The "id" parameter (or unnamed parameter "1") is required and should contain the ID portion of the URL. | ||
| − | : < | + | : <kbd>[http://www.iafd.com/person.rme/perfid=glynn/gender=f/ginger-lynn.htm http://www.iafd.com/person.rme/perfid={{hilite|glynn}}/gender=f/ginger-lynn.htm]</kbd> |
; gender | ; gender | ||
: The "gender" parameter (or unnamed parameter "2") should contain one of the following: | : The "gender" parameter (or unnamed parameter "2") should contain one of the following: | ||
| − | :# <var>m</var> or <var>male</var> for male | + | :# <var>m</var> or <var>male</var> for male performer credits (default) |
:# <var>f</var> or <var>female</var> for female performer credits | :# <var>f</var> or <var>female</var> for female performer credits | ||
:# <var>d</var> or <var>director</var> for director credits | :# <var>d</var> or <var>director</var> for director credits | ||
| Line 37: | Line 43: | ||
=== Male === | === Male === | ||
''URLs:'' | ''URLs:'' | ||
| − | : < | + | : <kbd>[http://www.iafd.com/person.rme/perfid=sstcroix/gender=m/steven-st%2e-croix.htm http://www.iafd.com/person.rme/perfid={{hilite|sstcroix}}/gender={{hilite|m}}/steven-st%2e-croix.htm]</kbd> |
| − | : < | + | : <kbd>[http://www.iafd.com/person.rme/perfid=SStCroix/gender=male http://www.iafd.com/person.rme/perfid={{hilite|SStCroix}}/gender={{hilite|male}}]</kbd> |
''Unnamed parameters:'' | ''Unnamed parameters:'' | ||
| − | : {{tlcw|{{BASEPAGENAME}} | sstcroix | m | Steven St. Croix }} | + | : {{tlcw|a=1|{{BASEPAGENAME}} | sstcroix | m | Steven St. Croix }} |
| − | : {{{{BASEPAGENAME}} | sstcroix | m | Steven St. Croix }} | + | :* {{{{BASEPAGENAME}} | sstcroix | m | Steven St. Croix }} |
''Named parameters:'' | ''Named parameters:'' | ||
| − | : {{tlcw|{{BASEPAGENAME}} | id{{=}} SStCroix | gender{{=}} male | name{{=}} Steven St. Croix }} | + | : {{tlcw|a=1|{{BASEPAGENAME}} | id{{=}} SStCroix | gender{{=}} male | name{{=}} Steven St. Croix }} |
| − | : {{{{BASEPAGENAME}} | id= SStCroix | gender= male | name= Steven St. Croix }} | + | :* {{{{BASEPAGENAME}} | id= SStCroix | gender= male | name= Steven St. Croix }} |
=== Female === | === Female === | ||
''URLs:'' | ''URLs:'' | ||
| − | : < | + | : <kbd>[http://www.iafd.com/person.rme/perfid=glynn/gender=f/ginger-lynn.htm http://www.iafd.com/person.rme/perfid={{hilite|glynn}}/gender={{hilite|f}}/ginger-lynn.htm]</kbd> |
| − | : < | + | : <kbd>[http://www.iafd.com/person.rme/perfid=GLynn/gender=female http://www.iafd.com/person.rme/perfid={{hilite|GLynn}}/gender={{hilite|female}}]</kbd> |
''Unnamed parameters:'' | ''Unnamed parameters:'' | ||
| − | : {{tlcw|{{BASEPAGENAME}} | glynn | f | Ginger Lynn }} | + | : {{tlcw|a=1|{{BASEPAGENAME}} | glynn | f | Ginger Lynn }} |
| − | : {{{{BASEPAGENAME}} | glynn | f | Ginger Lynn }} | + | :* {{{{BASEPAGENAME}} | glynn | f | Ginger Lynn }} |
''Named parameters:'' | ''Named parameters:'' | ||
| − | : {{tlcw|{{BASEPAGENAME}} | id{{=}} GLynn | gender{{=}} female | name{{=}} Ginger Lynn }} | + | : {{tlcw|a=1|{{BASEPAGENAME}} | id{{=}} GLynn | gender{{=}} female | name{{=}} Ginger Lynn }} |
| − | : {{{{BASEPAGENAME}} | id= GLynn | gender= female | name= Ginger Lynn }} | + | :* {{{{BASEPAGENAME}} | id= GLynn | gender= female | name= Ginger Lynn }} |
=== Director === | === Director === | ||
''URLs:'' | ''URLs:'' | ||
| − | : < | + | : <kbd>[http://www.iafd.com/person.rme/perfid=rmalone/gender=d/roberto-malone.htm http://www.iafd.com/person.rme/perfid={{hilite|rmalone}}/gender={{hilite|d}}/roberto-malone.htm]</kbd> |
| − | : < | + | : <kbd>[http://www.iafd.com/person.rme/perfid=RMalone/gender=director http://www.iafd.com/person.rme/perfid={{hilite|RMalone}}/gender={{hilite|director}}]</kbd> |
''Unnamed parameters:'' | ''Unnamed parameters:'' | ||
| − | : {{tlcw|{{BASEPAGENAME}} | rmalone | d | Roberto Malone }} | + | : {{tlcw|a=1|{{BASEPAGENAME}} | rmalone | d | Roberto Malone }} |
| − | : {{{{BASEPAGENAME}} | rmalone | d | Roberto Malone }} | + | :* {{{{BASEPAGENAME}} | rmalone | d | Roberto Malone }} |
''Named parameters:'' | ''Named parameters:'' | ||
| − | : {{tlcw|{{BASEPAGENAME}} | id{{=}} RMalone | gender{{=}} director | name{{=}} Roberto Malone }} | + | : {{tlcw|a=1|{{BASEPAGENAME}} | id{{=}} RMalone | gender{{=}} director | name{{=}} Roberto Malone }} |
| − | : {{{{BASEPAGENAME}} | id= RMalone | gender= director | name= Roberto Malone }} | + | :* {{{{BASEPAGENAME}} | id= RMalone | gender= director | name= Roberto Malone }} |
| + | |||
| + | === ID in Wikidata === | ||
| + | ''Usage in the article [[Laura Gemser]]:'' | ||
| + | : {{tlcw|a=1|{{BASEPAGENAME}} }} | ||
| + | : {{tlcw|a=1|{{BASEPAGENAME}} | name{{=}} Laura Gemser }} | ||
| + | |||
| + | ''Output:'' | ||
| + | :* {{{{BASEPAGENAME}} | lauragemser | f | Laura Gemser }} [[File:Blue pencil.svg |frameless |text-top |10px |alt=Edit this at Wikidata |link=https://www.wikidata.org/wiki/Q240527#P3869 |Edit this at Wikidata]] | ||
| + | |||
| + | === No ID in template or Wikidata === | ||
| + | ''Usage:'' | ||
| + | : {{tlcw|a=1|{{BASEPAGENAME}} }} | ||
| + | |||
| + | ''Output:'' | ||
| + | :* {{{{BASEPAGENAME}} }} | ||
== Tracking category == | == Tracking category == | ||
| Line 78: | Line 99: | ||
== See also == | == See also == | ||
| − | * | + | Other templates for this website: |
| − | * | + | * {{tl|IAFD movie}} |
| − | * | + | * {{tl|IAFD distributor}} |
| − | * | + | * {{tl|IAFD studio}} |
| − | + | Similar templates for other websites: | |
| + | * {{tl|IMDb name}} | ||
| + | * {{tl|AFDB name}} | ||
| + | * {{tl|IAFD name}} | ||
| + | * {{tl|BGAFD name}} | ||
| + | * {{tl|EGAFD actress}} | ||
| + | * {{tl|EGAFD actor}} | ||
<includeonly>{{sandbox other|| | <includeonly>{{sandbox other|| | ||
| Line 88: | Line 115: | ||
[[Category:Film external link templates]] | [[Category:Film external link templates]] | ||
[[Category:People and person external link templates]] | [[Category:People and person external link templates]] | ||
| + | [[Category:External link templates using Wikidata]] | ||
| + | [[Category:Templates that add a tracking category]] | ||
[[Category:WikiProject Pornography]] | [[Category:WikiProject Pornography]] | ||
}}</includeonly> | }}</includeonly> | ||
Revision as of 03:02, 29 July 2018
| This is a documentation subpage for Template:IAFD name. It contains usage information, categories and other content that is not part of the original template page. |
| File:Lua-Logo.svg | This template uses Lua: |
Template:IAFD name displays an external link to a page at the Internet Adult Film Database website (IAFD.com). It is intended for use in the external links section of an article.
- For a film, use {{IAFD movie}}.
- For a distributor, use {{IAFD distributor}}.
- For a studio, use {{IAFD studio}}.
Contents
Usage
Unnamed parameters:
Named parameters:
Using Wikidata property Template:Wpl or Template:Wpl:
Parameters
- id
- The "id" parameter (or unnamed parameter "1") is required and should contain the ID portion of the URL.
- http://www.iafd.com/person.rme/perfid=glynn/gender=f/ginger-lynn.htm
- gender
- The "gender" parameter (or unnamed parameter "2") should contain one of the following:
- m or male for male performer credits (default)
- f or female for female performer credits
- d or director for director credits
- name
- The "name" parameter (or unnamed parameter "3") 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.
Examples
Male
URLs:
- http://www.iafd.com/person.rme/perfid=sstcroix/gender=m/steven-st%2e-croix.htm
- http://www.iafd.com/person.rme/perfid=SStCroix/gender=male
Unnamed parameters:
Named parameters:
Female
URLs:
- http://www.iafd.com/person.rme/perfid=glynn/gender=f/ginger-lynn.htm
- http://www.iafd.com/person.rme/perfid=GLynn/gender=female
Unnamed parameters:
Named parameters:
Director
URLs:
- http://www.iafd.com/person.rme/perfid=rmalone/gender=d/roberto-malone.htm
- http://www.iafd.com/person.rme/perfid=RMalone/gender=director
Unnamed parameters:
Named parameters:
ID in Wikidata
Usage in the article Laura Gemser:
Output:
No ID in template or Wikidata
Usage:
Output:
- Template:PAGENAMEBASE at the Internet Adult Film DatabaseScript error: No such module "EditAtWikidata".
Tracking category
See also
Other templates for this website:
- {{IAFD movie}}
- {{IAFD distributor}}
- {{IAFD studio}}
Similar templates for other websites:
- {{IMDb name}}
- {{AFDB name}}
- {{IAFD name}}
- {{BGAFD name}}
- {{EGAFD actress}}
- {{EGAFD actor}}