Difference between revisions of "Template:IAFD movie"

From blackwiki
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">&#123;&#123;[[Template:IAFD movie|IAFD movie]]&#125;&#125; template missing ID and not present in Wikidata.</span>
 
     | <span class="error">&#123;&#123;[[Template:IAFD movie|IAFD movie]]&#125;&#125; template missing ID and not present in Wikidata.</span>

Revision as of 10:01, 29 July 2018

{{{title}}} at the Internet Adult Film Database

50px Template documentation[view] [edit] [history] [purge]

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}}.

Usage

Unnamed parameters:

Template:Tlcw
Template:Tlcw

Named parameters:

Template:Tlcw
Template:Tlcw

Using Wikidata property Template:Wpl:

Template:Tlcw
Template:Tlcw

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:

Template:Tlcw
Template:Tlcw

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:

Template:Tlcw
Template:Tlcw

Output:

ID in Wikidata

Usage in the article The Geek:

Template:Tlcw
Template:Tlcw

Output:

No ID in template or Wikidata

Usage:

Template:Tlcw

Output:

Tracking category

See also

Other templates for this website:

Similar templates for other websites: