Changes
<includeonly>{{#if: {{{1|}}}
| {{#switch: {{uc:{{padleft:|1|{{#if:1|{{{1}}}}}}}}}
| Q | P = [[d:Property:{{#ifSpecial:1|{{{1}}}}}|{{#invoke:Wikibase|label|{{{1}}}}} <small>({{#if:1|{{{1}}}}})<EntityPage/small>]] | Q = [[d:{{#if:1|{{{1}}}}}|{{#invoke:Wikibasewd|label|{{{1}}}}} <small>({{#if:1|{{{1}}}}})</small>]] | #default = [[d:Special:EntityPage/Q{{#if:1|{{{1}}}}}|{{#invoke:Wikibasewd|label|Q{{#if:1|{{{1}}}}}}} <small>(Q{{#if:1|{{{1|}}}}})</small>]]
}}
| {{#ifeqif: {{#invoke:Wikibasewd|idlabel|raw}} | [[d:Special:EntityPage/{{#invoke:wd|label|raw}}|{{#invoke:wd|label}} <small>({{#invoke:wd| no entitylabel|raw}})</small>]]
| <small>(no entity)</small>
}}
}}</includeonly><noinclude>{{Documentation}}</noinclude>