Template:IMDb name: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Codename Lisa
(Collocation fix: Contents are hosted *on* websites, not *at* them. | MOS:COMPUTING#Definite_article: Web service names are not preceded with the definite article.)
m (1 revision imported)
 
(14 intermediate revisions by 7 users not shown)
Line 1: Line 1:
[http://www.imdb.com/{{#if:{{{1|{{{id|}}}}}}|name/{{#ifeq:{{Str left|{{{1|{{{id}}}}}}|2}}|nm|{{Trim|{{{1|{{{id}}}}}}}}|nm{{#if:{{str len|{{{1|{{{id}}}}}}}}<7|{{str rightmost|000000{{Trim|{{{1|{{{id}}}}}}}}|7}}}}}}|{{#if:{{#property:P345}}|name/{{#property:P345}}|Name?{{urlencode:{{PAGENAME}}}}}}}}/{{#switch:{{lc:{{{section|}}} }}
[https://www.imdb.com/{{#if: {{{1|{{{id|}}}}}}
|award|awards=awards Awards for
  | name/{{#if:{{#invoke:ustring|match|1={{{1|{{{id}}}}}}|2=^nm}}
|biography|bio=bio Biography for
    | {{Trim|{{{1|{{{id}}}}}}}}/
}} {{{2|{{{name|{{PAGENAMEBASE}}}}}}}}] on [[IMDb|Internet Movie Database]]<includeonly>{{EditAtWikidata|pid=P345|{{{1|{{{id|}}}}}}}}{{#if:{{{1|{{{id|}}}}}}{{#property:P345}}||{{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>
    | nm{{padleft:{{{1|{{{id}}}}}}|7}}/
    }}
  | {{#if: {{#property:P345}}
    | name/{{First word|1={{#property:P345}}|sep=,}}/
    | find?q={{urlencode:{{PAGENAME}}}}&s=nm
    }}
  }}{{#if: {{{1|}}} {{{id|}}} {{#property:P345}} | {{#switch: {{lc:{{{section|}}}}}
  | award | awards = awards Awards for | biography | bio = bio Biography for
  }}}} {{#if: {{{2|{{{name|}}}}}}
  | {{{2|{{{name}}}}}}
  | {{PAGENAMEBASE}}
  }}] at [[IMDb]]<includeonly>{{#if: {{{1|{{{id|}}}}}}{{#property:P345}}
  | {{EditAtWikidata|pid=P345|nbsp=yes|{{{1|{{{id|}}}}}}}}
  | {{Main other|[[Category:IMDb template with no id set]]}}
}}{{#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''}}
  | 4 = {{Main other|[[Category:IMDb template with invalid id set]]}}{{preview warning|IMDb ID should not contain more than eight digits}}
}}</includeonly><noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Latest revision as of 01:02, 7 June 2021

IMDb name at IMDb