Difference between revisions of "Template:IMDb title"
Jump to navigation
Jump to search
m (1 revision imported: fingers crossed) |
m (1 revision imported: Ray_Harryhausen) |
||
(2 intermediate revisions by 2 users not shown) | |||
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}}}}}}}}/ | | {{Trim|{{{1|{{{id}}}}}}}}/{{WikidataCheck|property=P345|value={{Trim|{{{1|{{{id|}}}}}}}}|category=IMDb ID|qid={{{qid|}}}|nocatsame=1}} | ||
| tt{{padleft:{{{1|{{{id}}}}}}|7}}/ | | tt{{padleft:{{{1|{{{id}}}}}}|7}}/{{WikidataCheck|property=P345|value=tt{{padleft:{{Trim|{{{1|{{{id|}}}}}}}}|7}}|category=IMDb ID|qid={{{qid|}}}|nocatsame=1}} | ||
}} | }} | ||
| {{#if: {{#property:P345}} | | {{#if: {{#property:P345}} | ||
Line 16: | Line 16: | ||
| {{EditAtWikidata|pid=P345|nbsp=yes|{{{1|{{{id|}}}}}}}} | | {{EditAtWikidata|pid=P345|nbsp=yes|{{{1|{{{id|}}}}}}}} | ||
| {{Main other|[[Category:IMDb template with no id set]]}} | | {{Main other|[[Category:IMDb template with no id set]]}} | ||
}}{{#switch:{{#invoke: | }}<!-- Tracking categories | ||
-->{{#switch: {{#invoke:String2|matchAny|^tt.........|^tt.......|tt|.........|source={{{1|{{{id}}}}}}|plain=false}}<!-- | |||
-->| 1 | 3 = {{Main other|[[Category:IMDb template with invalid id set]]}}{{Preview warning|IMDb ID starting with ''tt'' should be followed by seven or eight digits, such as ''tt0000567'' or ''tt12345678''}}<!-- | |||
}}</includeonly><noinclude> | -->| 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}} }}<!-- | |||
--></includeonly><noinclude> | |||
{{Documentation}} | |||
</noinclude> | </noinclude> |
Latest revision as of 13:52, 14 June 2022
Template:First word/ IMDb title at IMDb