Template:IBDB name: Difference between revisions
(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.) |
Johnrdorazio (talk | contribs) No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#if: {{{1|{{{id<includeonly>|</includeonly>}}}}}} {{#property: | {{#if: {{{1|{{{id<includeonly>|</includeonly>}}}}}} {{#property:P208}} | ||
| [https://www.ibdb.com/broadway-cast-staff/{{#if: {{{1|{{{id<includeonly>|</includeonly>}}}}}} | | [https://www.ibdb.com/broadway-cast-staff/{{#if: {{{1|{{{id<includeonly>|</includeonly>}}}}}} | ||
| {{{1|{{{id}}}}}} | | {{{1|{{{id}}}}}} | ||
| {{First word|1={{#property: | | {{First word|1={{#property:P208}}|sep=,}} | ||
}} {{#if: {{{2|{{{name<includeonly>|</includeonly>}}}}}} | }} {{#if: {{{2|{{{name<includeonly>|</includeonly>}}}}}} | ||
| {{{2|{{{name}}}}}} | | {{{2|{{{name}}}}}} | ||
| {{PAGENAMEBASE}} | | {{PAGENAMEBASE}} | ||
}}] at the [[Internet Broadway Database]]<includeonly>{{EditAtWikidata|pid= | }}] at the [[wikipedia:Internet Broadway Database|Internet Broadway Database]]<includeonly>{{EditAtWikidata|pid=P208|{{{1|{{{id|}}}}}}}}{{WikidataCheck|property=P208|value={{{1|{{{id|}}}}}}|category=Internet Broadway Database person ID}}</includeonly> | ||
| <span class="error">{{[[Template:IBDB name|IBDB name]]}} template missing ID and not present in Wikidata.</span>{{Main other|[[Category:IBDB name template missing ID]]}} | | <span class="error">{{[[Template:IBDB name|IBDB name]]}} template missing ID and not present in Wikidata.</span>{{Main other|[[Category:IBDB name template missing ID]]}} |