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. |
Johnrdorazio (talk | contribs) No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1:
{{#if: {{{1|{{{id<includeonly>|</includeonly>}}}}}} {{#property:
| [https://www.ibdb.com/broadway-cast-staff/{{#if: {{{1|{{{id<includeonly>|</includeonly>}}}}}}
| {{{1|{{{id}}}}}}
| {{First word|1={{#property:
}} {{#if: {{{2|{{{name<includeonly>|</includeonly>}}}}}}
| {{{2|{{{name}}}}}}
| {{PAGENAMEBASE}}
}}] at the [[wikipedia:Internet Broadway Database|Internet Broadway Database]]<includeonly>{{EditAtWikidata|pid=
| <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]]}}
|