Difference between revisions of "Template:IAFD movie"
Jump to navigation
Jump to search
imported>Zyxw (remove any leading or trailing spaces from unnamed parameters that would break URL) |
imported>Zyxw (make "year" parameter optional) |
||
| Line 1: | Line 1: | ||
{{#if: {{{1|}}} {{{id<includeonly>|</includeonly>}}} | {{#if: {{{1|}}} {{{id<includeonly>|</includeonly>}}} | ||
| − | | [http://www.iafd.com/title.rme/title={{Trim|{{{1|{{{id}}}}}}}}/year={{Trim|{{{2|{{{year}}}}}}}} ''{{#if:{{{3|{{{title<includeonly>|</includeonly>}}}}}}|{{{3|{{{title}}}}}}|{{PAGENAMEBASE}}}}''] at the [[Internet Adult Film Database]] | + | | [http://www.iafd.com/title.rme/title={{Trim|{{{1|{{{id}}}}}}}}{{#if: {{{2|{{{year<includeonly>|</includeonly>}}}}}} | /year={{Trim|{{{2|{{{year}}}}}}}} }} ''{{#if:{{{3|{{{title<includeonly>|</includeonly>}}}}}} | {{{3|{{{title}}}}}} | {{PAGENAMEBASE}} }}''] at the [[Internet Adult Film Database]] |
| {{#if: {{#property:P5098}} | | {{#if: {{#property:P5098}} | ||
| − | | [http://www.iafd.com/title.rme/title={{First word|{{#property:P5098}}|sep=,}} ''{{#if:{{{3|{{{title<includeonly>|</includeonly>}}}}}}|{{{3|{{{title}}}}}}|{{PAGENAMEBASE}}}}''] at the [[Internet Adult Film Database]]{{EditAtWikidata|pid=P5098}} | + | | [http://www.iafd.com/title.rme/title={{First word|{{#property:P5098}}|sep=,}} ''{{#if: {{{3|{{{title<includeonly>|</includeonly>}}}}}} | {{{3|{{{title}}}}}} | {{PAGENAMEBASE}} }}''] at the [[Internet Adult Film Database]]{{EditAtWikidata|pid=P5098}} |
| <span class="error">{{[[Template:IAFD movie|IAFD movie]]}} template missing ID and not present in Wikidata.</span> | | <span class="error">{{[[Template:IAFD movie|IAFD movie]]}} template missing ID and not present in Wikidata.</span> | ||
Revision as of 10:01, 29 July 2018
{{{title}}} at the Internet Adult Film Database
Template:Uses Wikidata Lua error in Module:Lua_banner at line 113: attempt to index field 'edit' (a nil value).
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:
- Wanted at the Internet Adult Film Database
- Wanted at the Internet Adult Film Database
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}}
| The above documentation is transcluded from Template:IAFD movie/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |