Template:Wikidata entity link: Difference between revisions
Jump to navigation
Jump to search
>Primefac m (Protected "Template:Wikidata entity link": semi-protecting highly-visible templates in response to recent template-space vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed a...) |
m (1 revision imported) |
||
(4 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#if: {{{1|}}} | |||
|Q|P={{# | | {{#switch: {{uc:{{padleft:|1|{{#if:1|{{{1}}}}}}}}} | ||
|#default= | | Q | P = [[d:Special:EntityPage/{{#if:1|{{{1}}}}}|{{#invoke:wd|label|{{{1}}}}} <small>({{#if:1|{{{1}}}}})</small>]] | ||
}}|{{#invoke: | | #default = [[d:Special:EntityPage/Q{{#if:1|{{{1}}}}}|{{#invoke:wd|label|Q{{#if:1|{{{1}}}}}}} <small>(Q{{#if:1|{{{1|}}}}})</small>]] | ||
}} | |||
| {{#if:{{#invoke:wd|label|raw}} | |||
| [[d:Special:EntityPage/{{#invoke:wd|label|raw}}|{{#invoke:wd|label}} <small>({{#invoke:wd|label|raw}})</small>]] | |||
| <small>(no entity)</small> | |||
}} | |||
}}</includeonly><noinclude>{{Documentation}}</noinclude> |