Template:IMDb name: Difference between revisions

From The Goon Show Depository

en>GKFX
(Simplify string handling)
 
No edit summary
 
(5 intermediate revisions by 2 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:{{PAGENAMEBASE}}}}&s=nm
     }}
     }}
   }}{{#if: {{{1|}}} {{{id|}}} {{#property:P345}} | {{#switch: {{lc:{{{section|}}}}}
   }}{{#if: {{{1|}}} {{{id|}}} {{#property:P345}} | {{#switch: {{lc:{{{section|}}}}}
Line 13: Line 13:
   | {{{2|{{{name}}}}}}
   | {{{2|{{{name}}}}}}
   | {{PAGENAMEBASE}}
   | {{PAGENAMEBASE}}
   }}] at [[IMDb]]<includeonly>{{#if: {{{1|{{{id|}}}}}}{{#property:P345}}
   }}] at [[w:IMDb|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 template with no id set]]}}

Latest revision as of 09:54, 6 October 2022

IMDb name at IMDb