Template:IMDb name: Difference between revisions

From The Goon Show Depository

m (1 revision imported)
m (1 revision imported)
 
(6 intermediate revisions by 3 users not shown)
Line 6: Line 6:
   | {{#if: {{#property:P345}}
   | {{#if: {{#property:P345}}
     | name/{{First word|1={{#property:P345}}|sep=,}}/
     | name/{{First word|1={{#property:P345}}|sep=,}}/
     | find?q={{urlencode:{{PAGENAME}}}}&s=nm
     | find?q={{urlencode:{{#if: {{{2|{{{name|}}}}}}
      | {{{2|{{{name}}}}}}
      | {{PAGENAMEBASE}}
      }}}}&s=nm
     }}
     }}
   }}{{#if: {{{1|}}} {{{id|}}} {{#property:P345}} | {{#switch: {{lc:{{{section|}}}}}
   }}{{#if: {{{1|}}} {{{id|}}} {{#property:P345}} | {{#switch: {{lc:{{{section|}}}}}
Line 13: Line 16:
   | {{{2|{{{name}}}}}}
   | {{{2|{{{name}}}}}}
   | {{PAGENAMEBASE}}
   | {{PAGENAMEBASE}}
   }}] at [[IMDb]]<includeonly>{{#if: {{{1|{{{id|}}}}}}{{#property:P345}}
   }}] at [[IMDb (identifier)|IMDb]]<includeonly>{{#if: {{{1|{{{id|}}}}}}{{#property:P345}}
   | {{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 name with no id set]]}}
}}{{#switch:{{#invoke:string2|matchAny|^nm.........|^nm.......|nm|.........|source={{{1|{{{id}}}}}}|plain=false}}
}}{{#switch:{{#invoke:string2|matchAny|^nm.........|^nm.......|nm|.........|source={{{1|{{{id}}}}}}|plain=false}}
   | 1 | 3 =  {{Main other|[[Category:IMDb template with invalid id set]]}}{{preview warning|IMDb ID starting with ''nm'' should be followed by seven or eight digits, such as ''nm0000567'' or ''nm12345678''}}
   | 1 | 3 =  {{Main other|[[Category:IMDb template with invalid id set]]}}{{preview warning|IMDb ID starting with ''nm'' should be followed by seven or eight digits, such as ''nm0000567'' or ''nm12345678''}}
   | 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}}
}}</includeonly><noinclude>
}}</includeonly><!-- Tracking categories
-->{{#invoke:Check for unknown parameters|check|unknown={{Main other|[[Category:Pages using IMDb name with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:IMDb name]] with unknown parameter "_VALUE_"|showblankpositional=1| 1 | 2 | id | name | section }}<!--
--><noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Latest revision as of 11:10, 13 July 2024

IMDb name at IMDb