Difference between revisions of "Template:IAFD movie/doc"
Jump to navigation
Jump to search
imported>Trivialist (adding Trackin caetgory section) |
imported>Zyxw (Update for use of Wikidata property. Add description, usage, examples, categories.) |
||
| Line 1: | Line 1: | ||
| + | {{Documentation subpage}} | ||
| + | <!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | ||
| + | {{Uses Wikidata|P5098}} | ||
| + | {{Lua|Module:EditAtWikidata}} | ||
| + | |||
| + | '''{{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 people, use {{Tl|IAFD name}}.'' | : ''For people, use {{Tl|IAFD name}}.'' | ||
: ''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}}.'' | ||
| + | |||
| + | == Usage == | ||
| + | Unnamed parameters: | ||
| + | : {{tlcw|{{BASEPAGENAME}} | <var>ID</var> | <var>YEAR</var> }} | ||
| + | : {{tlcw|{{BASEPAGENAME}} | <var>ID</var> | <var>YEAR</var> | <var>TITLE</var> }} | ||
| + | |||
| + | Named parameters: | ||
| + | : {{tlcw|{{BASEPAGENAME}} | id{{=}} <var>ID</var> | year{{=}} <var>YEAR</var> }} | ||
| + | : {{tlcw|{{BASEPAGENAME}} | id{{=}} <var>ID</var> | year{{=}} <var>YEAR</var> | title{{=}} <var>TITLE</var> }} | ||
| + | |||
| + | Using [[Wikidata]] property {{wpl|P5098}}: | ||
| + | : {{tlcw|{{BASEPAGENAME}} }} | ||
| + | : {{tlcw|{{BASEPAGENAME}} | title{{=}} <var>TITLE</var> }} | ||
| + | |||
| + | == Examples == | ||
| + | |||
| + | === Unnamed parameters === | ||
| + | ''URLs:'' | ||
| + | : <kbd>[http://www.iafd.com/title.rme/title=night+dreams+1/year=1981 http://www.iafd.com/title.rme/title={{Hilite|night+dreams+1}}/year={{Hilite|1981|lightgreen}}]</kbd> | ||
| + | : <kbd>[http://www.iafd.com/title.rme/title=night+dreams+1/year=1981/night-dreams-1.htm http://www.iafd.com/title.rme/title={{Hilite|night+dreams+1}}/year={{Hilite|1981|lightgreen}}/night-dreams-1.htm]</kbd> | ||
| + | |||
| + | ''Usage:'' | ||
| + | : {{tlcw|a=1|{{BASEPAGENAME}} | night+dreams+1 | 1981 | Night Dreams 1 }}</code> | ||
| + | |||
| + | ''Output:'' | ||
| + | :* {{{{BASEPAGENAME}} | night+dreams+1 | 1981 | Night Dreams 1 }} | ||
| + | |||
| + | === Named parameters === | ||
| + | ''URLs:'' | ||
| + | : <kbd>[http://www.iafd.com/title.rme/title=wanted/year=2015 http://www.iafd.com/title.rme/title={{Hilite|wanted}}/year={{Hilite|2015|lightgreen}}]</kbd> | ||
| + | : <kbd>[http://www.iafd.com/title.rme/title=wanted/year=2015/wanted.htm http://www.iafd.com/title.rme/title={{Hilite|wanted}}/year={{Hilite|2015|lightgreen}}/wanted.htm]</kbd> | ||
| + | |||
| + | ''Usage:'' | ||
| + | : {{tlcw|a=1|{{BASEPAGENAME}} | id= wanted | year= 2015 | title= Wanted }}</code> | ||
| + | |||
| + | ''Output:'' | ||
| + | :* {{{{BASEPAGENAME}} | id= wanted | year= 2015 | title= Wanted }} | ||
| + | |||
| + | === ID in Wikidata === | ||
| + | ''Usage in the article [[The Geek]]:'' | ||
| + | : {{tlcw|a=1|{{BASEPAGENAME}} }} | ||
| + | : {{tlcw|a=1|{{BASEPAGENAME}} | title{{=}} The Geek }} | ||
| + | |||
| + | ''Output:'' | ||
| + | :* {{{{BASEPAGENAME}} | geek | 1973 | The Geek }} [[File:Blue pencil.svg |frameless |text-top |10px |alt=Edit this at Wikidata |link=https://www.wikidata.org/wiki/Q12124250#P5098 |Edit this at Wikidata]] | ||
| + | |||
| + | === No ID in template or Wikidata === | ||
| + | ''Usage:'' | ||
| + | : {{tlcw|a=1|{{BASEPAGENAME}} }} | ||
| + | |||
| + | ''Output:'' | ||
| + | :* {{{{BASEPAGENAME}} }} | ||
== Tracking category == | == Tracking category == | ||
| Line 8: | Line 66: | ||
==See also== | ==See also== | ||
| − | * | + | Other templates for this website: |
| − | * | + | * {{tl|IAFD name}} |
| − | * | + | * {{tl|IAFD distributor}} |
| − | <includeonly> | + | * {{tl|IAFD studio}} |
| + | Similar templates for other websites: | ||
| + | * {{tl|IMDb title}} | ||
| + | * {{tl|AFDB movie}} | ||
| + | * {{tl|BGAFD movie}} | ||
| + | * {{tl|EGAFD movie}} | ||
| + | |||
| + | <includeonly>{{sandbox other|| | ||
| + | <!-- Categories below this line; interwikis at Wikidata --> | ||
[[Category:Film external link templates]] | [[Category:Film 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 09:36, 29 July 2018
| This is a documentation subpage for Template:IAFD movie. It contains usage information, categories and other content that is not part of the original template page. |
| 30px | This template uses Lua: |
Template:IAFD movie 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 people, use {{IAFD name}}.
- For a distributor, use {{IAFD distributor}}.
- For a studio, use {{IAFD studio}}.
Contents
Usage
Unnamed parameters:
Named parameters:
Using Wikidata property Template:Wpl:
Examples
Unnamed parameters
URLs:
- http://www.iafd.com/title.rme/title=night+dreams+1/year=1981
- http://www.iafd.com/title.rme/title=night+dreams+1/year=1981/night-dreams-1.htm
Usage:
Output:
Named parameters
URLs:
- http://www.iafd.com/title.rme/title=wanted/year=2015
- http://www.iafd.com/title.rme/title=wanted/year=2015/wanted.htm
Usage:
Output:
ID in Wikidata
Usage in the article The Geek:
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 name}}
- {{IAFD distributor}}
- {{IAFD studio}}
Similar templates for other websites:
- {{IMDb title}}
- {{AFDB movie}}
- {{BGAFD movie}}
- {{EGAFD movie}}