Difference between revisions of "Template:IAFD name/doc"
Jump to navigation
Jump to search
imported>Svensson1 m |
imported>Zyxw (update documentation, add examples) |
||
| 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]]) --> |
| + | |||
| + | '''{{NAMESPACE}}:{{BASEPAGENAME}}''' displays an external link to a page at the [[Internet Adult Film Database]] website ([http://www.iafd.com/ www.IAFD.com]). It is intended for use in the [[Wikipedia:External links|external links]] section of an article. | ||
== Usage == | == Usage == | ||
| − | + | Unnamed parameters: | |
| + | : {{tlcw|{{BASEPAGENAME}} | <var>ID</var> }} | ||
| + | : {{tlcw|{{BASEPAGENAME}} | <var>ID</var> | <var>male/female/director</var> }} | ||
| + | : {{tlcw|{{BASEPAGENAME}} | <var>ID</var> | <var>male/female/director</var> | <var>NAME</var> }} | ||
| + | |||
| + | Named parameters: | ||
| + | : {{tlcw|{{BASEPAGENAME}} | id{{=}} <var>ID</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> }} | ||
| + | |||
| + | == Parameters == | ||
| + | ; id | ||
| + | : The "id" parameter (or unnamed parameter "1") is required and should contain the ID portion of the URL. | ||
| + | : <tt>[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]</tt> | ||
| + | |||
| + | ; gender | ||
| + | : The "gender" parameter (or unnamed parameter "2") should contain one of the following: | ||
| + | :# <var>m</var> or <var>male</var> for male performers (default) | ||
| + | :# <var>f</var> or <var>female</var> for female performer credits | ||
| + | :# <var>d</var> or <var>director</var> 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:'' | ||
| + | : <tt>[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]</tt> | ||
| + | : <tt>[http://www.iafd.com/person.rme/perfid=SStCroix/gender=male http://www.iafd.com/person.rme/perfid={{hilite|SStCroix}}/gender={{hilite|male}}]</tt> | ||
| − | + | ''Unnamed parameters:'' | |
| + | : {{tlcw|{{BASEPAGENAME}} | sstcroix | m | Steven St. Croix }} | ||
| + | : {{{{BASEPAGENAME}} | sstcroix | m | Steven St. Croix }} | ||
| + | |||
| + | ''Named parameters:'' | ||
| + | : {{tlcw|{{BASEPAGENAME}} | id{{=}} SStCroix | gender{{=}} male | name{{=}} Steven St. Croix }} | ||
| + | : {{{{BASEPAGENAME}} | id= SStCroix | gender= male | name= Steven St. Croix }} | ||
| + | |||
| + | === Female === | ||
| + | ''URLs:'' | ||
| + | : <tt>[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]</tt> | ||
| + | : <tt>[http://www.iafd.com/person.rme/perfid=GLynn/gender=female http://www.iafd.com/person.rme/perfid={{hilite|GLynn}}/gender={{hilite|female}}]</tt> | ||
| + | |||
| + | ''Unnamed parameters:'' | ||
| + | : {{tlcw|{{BASEPAGENAME}} | glynn | f | Ginger Lynn }} | ||
| + | : {{{{BASEPAGENAME}} | glynn | f | Ginger Lynn }} | ||
| + | |||
| + | ''Named parameters:'' | ||
| + | : {{tlcw|{{BASEPAGENAME}} | id{{=}} GLynn | gender{{=}} female | name{{=}} Ginger Lynn }} | ||
| + | : {{{{BASEPAGENAME}} | id= GLynn | gender= female | name= Ginger Lynn }} | ||
| + | |||
| + | === Director === | ||
| + | ''URLs:'' | ||
| + | : <tt>[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]</tt> | ||
| + | : <tt>[http://www.iafd.com/person.rme/perfid=RMalone/gender=director http://www.iafd.com/person.rme/perfid={{hilite|RMalone}}/gender={{hilite|director}}]</tt> | ||
| + | |||
| + | ''Unnamed parameters:'' | ||
| + | : {{tlcw|{{BASEPAGENAME}} | rmalone | d | Roberto Malone }} | ||
| + | : {{{{BASEPAGENAME}} | rmalone | d | Roberto Malone }} | ||
| + | |||
| + | ''Named parameters:'' | ||
| + | : {{tlcw|{{BASEPAGENAME}} | id{{=}} RMalone | gender{{=}} director | name{{=}} Roberto Malone }} | ||
| + | : {{{{BASEPAGENAME}} | id= RMalone | gender= director | name= Roberto Malone }} | ||
== See also == | == See also == | ||
| − | *[[Template: | + | * [[Template:AFDB name]] |
| − | *[[Template: | + | * [[Template:BGAFD name]] |
| − | *[[Template: | + | * [[Template:EGAFD actress]] |
| − | *[[Template: | + | * [[Template:EGAFD actor]] |
| − | <includeonly> | + | <includeonly>{{sandbox other|| |
<!-- Categories and interwikis go here: --> | <!-- Categories and interwikis go here: --> | ||
[[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:WikiProject Pornography]] | [[Category:WikiProject Pornography]] | ||
| − | + | }}</includeonly> | |
| − | </includeonly> | ||
Revision as of 17:41, 7 March 2017
| 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. |
Template:IAFD name displays an external link to a page at the Internet Adult Film Database website (www.IAFD.com). It is intended for use in the external links section of an article.
Usage
Unnamed parameters:
Named parameters:
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 performers (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:
See also