Template:IBDB name: Difference between revisions

Content deleted Content added
If Wikidata property has multiple values, only use first one; see Cathy Rigby article for example. Use whitespace with {{#if:}} to make template easier to understand and maintain. Tested with /sandbox and /testcases.
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1:
{{#if: {{{1|{{{id<includeonly>|</includeonly>}}}}}} {{#property:P1220P208}}
 
| [https://www.ibdb.com/broadway-cast-staff/{{#if: {{{1|{{{id<includeonly>|</includeonly>}}}}}}
| {{{1|{{{id}}}}}}
| {{First word|1={{#property:P1220P208}}|sep=,}}
}} {{#if: {{{2|{{{name<includeonly>|</includeonly>}}}}}}
| {{{2|{{{name}}}}}}
| {{PAGENAMEBASE}}
}}] at the [[wikipedia:Internet Broadway Database|Internet Broadway Database]]<includeonly>{{EditAtWikidata|pid=P1220P208|{{{1|{{{id|}}}}}}}}{{WikidataCheck|property=P1220P208|value={{{1|{{{id|}}}}}}|category=Internet Broadway Database person ID}}</includeonly>
 
| <span class="error">&#123;&#123;[[Template:IBDB name|IBDB name]]&#125;&#125; template missing ID and not present in Wikidata.</span>{{Main other|[[Category:IBDB name template missing ID]]}}