Template:Wikidata entity link: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
Antoniokf5 (talk | contribs) m 1 revision imported from wikipedia:Template:Wikidata_entity_link |
simplify and always uppercase |
||
Line 1: | Line 1: | ||
<includeonly>{{#if: |
<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}} |