Template:IMDb name: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Zyxw
fix for #if removing leading space output by EditAtWikidata
meta>WOSlinker
fix padding to work when id length >= 7
Line 2: Line 2:
   | name/{{#ifeq: {{Str left|{{{1|{{{id}}}}}}|2}} | nm
   | name/{{#ifeq: {{Str left|{{{1|{{{id}}}}}}|2}} | nm
     | {{{1|{{{id}}}}}}
     | {{{1|{{{id}}}}}}
     | nm{{#if: {{Str len|{{{1|{{{id}}}}}}}} < 7
     | nm{{#ifexpr: {{Str len|{{{1|{{{id}}}}}}}} < 7
       | {{Str rightmost|000000{{Trim|{{{1|{{{id}}}}}}}}|7}}
       | {{Str rightmost|000000{{Trim|{{{1|{{{id}}}}}}}}|7}}
      | {{Trim|{{{1|{{{id}}}}}}}}
       }}
       }}
     }}
     }}

Revision as of 21:27, 17 March 2019

IMDb name on IMDb