Template:IMDb name: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Zyxw
Add fix for empty name parameter, where {{IMDb name|0001109|}} displays "[1] on IMDb", see /testcases for examples. Remove {{Trim}} where {{#if:}} does same. Use whitespace with {{#if:}} to make template easier to understand and maintain. All tested first with /sandbox.
meta>Zyxw
m If Wikidata property has multiple values, only use first one. using AWB
Line 7: Line 7:
     }}
     }}
   | {{#if: {{#property:P345}}
   | {{#if: {{#property:P345}}
     | name/{{#property:P345}}
     | name/{{First word|1={{#property:P345}}|sep=,}}
     | Name?{{urlencode:{{PAGENAME}}}}
     | Name?{{urlencode:{{PAGENAME}}}}
     }}
     }}

Revision as of 21:58, 2 August 2018

IMDb name on IMDb