Changes

Jump to: navigation, search

Template:IMDb title

1,049 bytes added, 11:36, 12 August 2018
fix for #if removing leading space output by EditAtWikidata
[https://www.imdb.com/{{#if: {{{1|{{{id|}}}}}}
| 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>
Anonymous user

Navigation menu