Template:Wikidata entity link: Difference between revisions

From IxWiki
Jump to navigation Jump to search
>Uzume
 
mp>Uzume
simplify and always uppercase
Line 1: Line 1:
<includeonly>{{#if: {{{1|}}}
<includeonly>{{#if:{{{1|}}}
| {{#switch: {{uc:{{padleft:|1|{{#if:1|{{{1}}}}}}}}}
| {{#switch:{{padleft:|1|{{uc:{{{1}}}}}}}
   | Q | P = [[d:Special:EntityPage/{{#if:1|{{{1}}}}}|{{#invoke:wd|label|{{{1}}}}} <small>({{#if:1|{{{1}}}}})</small>]]
   | Q | P = [[d:Special:EntityPage/{{uc:{{{1}}}}}|{{#invoke:wd|label|{{uc:{{{1}}}}}}} <small>({{uc:{{{1}}}}})</small>]]
   | #default = [[d:Special:EntityPage/Q{{#if:1|{{{1}}}}}|{{#invoke:wd|label|Q{{#if:1|{{{1}}}}}}} <small>(Q{{#if:1|{{{1|}}}}})</small>]]
   | #default = [[d:Special:EntityPage/Q{{uc:{{{1}}}}}|{{#invoke:wd|label|Q{{uc:{{{1}}}}}}} <small>(Q{{uc:{{{1|}}}}})</small>]]
   }}
   }}
| {{#if:{{#invoke:wd|label|raw}}
| {{#if:{{#invoke:wd|label|raw}}

Revision as of 12:47, 22 February 2022