Template:IMDb title: Difference between revisions

From The Goon Show Depository

m (1 revision imported)
No edit summary
Tag: Reverted
Line 1: Line 1:
[https://www.imdb.com/{{#if: {{{1|{{{id|}}}}}}
[https://www.imdb.com/{{#if: {{{1|{{{id|}}}}}}
   | title/{{#if:{{#invoke:ustring|match|1={{{1|{{{id}}}}}}|2=^tt}}
   | title/{{#if:{{#invoke:ustring|match|1={{{1|{{{id}}}}}}|2=^tt}}
    | {{Trim|{{{1|{{{id}}}}}}}}/{{WikidataCheck|property=P345|value={{Trim|{{{1|{{{id|}}}}}}}}|category=IMDb ID|qid={{{qid|}}}}}
    | tt{{padleft:{{{1|{{{id}}}}}}|7}}/{{WikidataCheck|property=P345|value=tt{{padleft:{{Trim|{{{1|{{{id|}}}}}}}}|7}}|category=IMDb ID|qid={{{qid|}}}}}
    }}
   | {{#if: {{#property:P345|from={{{qid|}}}}}
   | {{#if: {{#property:P345|from={{{qid|}}}}}
     | title/{{First word|1={{#property:P345|from={{{qid|}}}}}|sep=,}}/
     | title/{{First word|1={{#property:P345|from={{{qid|}}}}}|sep=,}}/
Line 22: Line 19:
-->| 4 = {{Main other|[[Category:IMDb template with invalid id set]]}}{{Preview warning|IMDb ID should not contain more than eight digits}}<!--
-->| 4 = {{Main other|[[Category:IMDb template with invalid id set]]}}{{Preview warning|IMDb ID should not contain more than eight digits}}<!--
-->}}<!--
-->}}<!--
-->{{#ifeq: {{Wikidata|property|raw|P31}} | Q21191270 | [[Category:Pages using IMDb title instead of IMDb episode]]{{Preview warning|[[Template:IMDb episode]] should be used for television episodes}} }}<!--
--><!--
-->{{#ifeq: {{Wikidata|property|raw|P360}} | Q21191270 | [[Category:Pages using IMDb title instead of IMDb episodes]]{{Preview warning|[[Template:IMDb episodes]] should be used for list of television episodes}} }}<!--
--><!--
--></includeonly><noinclude>
--></includeonly><noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Revision as of 17:08, 8 April 2023

[https://www.imdb.com/{{#if:

 | title/ IMDb title] at IMDb