Template:IMDb title: Difference between revisions

From Good Old TV Fan Wiki
m (1 revision imported)
 
No edit summary
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
[https://www.imdb.com/{{#if: {{{1|{{{id|}}}}}}
* [https://www.imdb.com/title/{{{1}}} {{{2}}}] at <span class="plainlinks">[https://en.wikipedia.org/wiki/IMDb IMDb]</span>
  | title/{{#ifeq: {{Str left|{{{1|{{{id}}}}}}|2}} | tt
    | {{{1|{{{id}}}}}}
    | tt{{#if: {{Str len|{{{1|{{{id}}}}}}}} < 7
      | {{Str rightmost|000000{{Trim|{{{1|{{{id}}}}}}}}|7}}
      }}
    }}
  | {{#if: {{#property:P345}}
    | title/{{First word|1={{#property:P345}}|sep=,}}
    | Title?{{urlencode:{{PAGENAME}}}}
    }}
  }}/{{#switch: {{lc:{{{section|}}}}}
  | award | awards = awards Awards for
  }} {{Trim|{{#if:{{{quotes|}}}|"|''}}{{#if: {{{2|{{{title|}}}}}}
  | {{{2|{{{title}}}}}}
  | {{PAGENAMEBASE}}
  }}{{#if:{{{quotes|}}}|"|''}} {{{3|{{{description|}}}}}}}}] on [[IMDb]]<includeonly>{{#if: {{{1|{{{id|}}}}}}{{#property:P345}}
  | &#32;{{EditAtWikidata|pid=P345|{{{1|{{{id|}}}}}}}}
  | {{Main other|[[Category:IMDb template with no id set]]}}
  }}{{#ifeq: {{Str left|{{{1|{{{id}}}}}}|2}} | tt
  | {{#ifeq: {{Str len|{{{1|{{{id}}}}}}}} | 9
    |
    | {{Main other|[[Category:IMDb template with invalid id set]]}}
    }}
  }}</includeonly><noinclude>
{{documentation}}
</noinclude>

Latest revision as of 04:24, 14 March 2021