Changes

Jump to: navigation, search

Template:IMDb name

994 bytes added, 11:35, 12 August 2018
fix for #if removing leading space output by EditAtWikidata
[https://www.imdb.com/{{#if: {{{1|{{{id|}}}}}}
| name/{{#ifeq: {{Str left|{{{1|{{{id}}}}}}|2}} | nm
| {{{1|{{{id}}}}}}
| nm{{#if: {{Str len|{{{1|{{{id}}}}}}}} < 7
| {{Str rightmost|000000{{Trim|{{{1|{{{id}}}}}}}}|7}}
}}
}}
| {{#if: {{#property:P345}}
| name/{{First word|1={{#property:P345}}|sep=,}}
| Name?{{urlencode:{{PAGENAME}}}}
}}
}}/{{#switch: {{lc:{{{section|}}}}}
| award | awards = awards Awards for | biography | bio = bio Biography for
}} {{#if: {{{2|{{{name|}}}}}}
| {{{2|{{{name}}}}}}
| {{PAGENAMEBASE}}
}}] 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}} | nm
| {{#ifeq: {{Str len|{{{1|{{{id}}}}}}}} | 9
|
| {{Main other|[[Category:IMDb template with invalid id set]]}}
}}
}}</includeonly><noinclude>
{{documentation}}
</noinclude>
Anonymous user

Navigation menu