Template:IMDb title: Difference between revisions

From Ikwipedia
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
{{#if: {{{id|}}}
{{#if: {{{id|}}}
   | [https://www.imdb.com/title/{{#if: {{#invoke:ustring|match|1={{{id}}}|2=^tt}}
   | [https://www.imdb.com/title/{{{id}}}/ {{{title|{{PAGENAMEBASE}}}}}] at [http://en.wikipedia.org/wiki/IMDb IMDb]
    | {{Trim|{{{id}}}}}  <!-- Use IMDb ID if provided -->
    | tt{{padleft:{{{id}}}|7}}
    }}/
    {{#ifeq: {{#if: {{{quotes|}}} | "{{If empty|{{{title|}}}|{{PAGENAMEBASE}}}}" | ''{{If empty|{{{title|}}}|{{PAGENAMEBASE}}}}'' }}
    {{3|{{description|}}}}}} at IMDb
  ]
   | <!-- Blank if only qid is provided, no link -->
   | <!-- Blank if only qid is provided, no link -->
}}
}}

Latest revision as of 07:40, 6 November 2024