Template:Wikidata entity link: Difference between revisions
From Vigyanwiki
Template>Uzume |
(simplify and always uppercase) |
||
Line 1: | Line 1: | ||
<includeonly>{{#if: {{{1|}}} | <includeonly>{{#if:{{{1|}}} | ||
| {{#switch | | {{#switch:{{padleft:|1|{{uc:{{{1}}}}}}} | ||
| Q | P = [[d:Special:EntityPage/{{ | | Q | P = [[d:Special:EntityPage/{{uc:{{{1}}}}}|{{#invoke:wd|label|{{uc:{{{1}}}}}}} <small>({{uc:{{{1}}}}})</small>]] | ||
| #default = [[d:Special:EntityPage/Q{{ | | #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 23:17, 22 February 2022
Template documentation
[create]