Template:Wikidata entity link: Difference between revisions

From Random Island Wiki
Jump to navigation Jump to search
>MSGJ
(normalise)
m (1 revision imported)
 
(14 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{#ifeq: {{str left|{{{1|}}}|1}} | Q
<includeonly>{{#if: {{{1|}}}
| [[d:{{{1|}}}|{{label|{{{1|}}}}} <small>({{{1|}}})</small>]]
| {{#switch: {{uc:{{padleft:|1|{{#if:1|{{{1}}}}}}}}}
| [[d:Q{{{1|}}}|{{label|Q{{{1|}}}}} <small>(Q{{{1|}}})</small>]]
  | Q | P = [[d:Special:EntityPage/{{#if:1|{{{1}}}}}|{{#invoke:wd|label|{{{1}}}}} <small>({{#if:1|{{{1}}}}})</small>]]
}}<noinclude>
  | #default = [[d:Special:EntityPage/Q{{#if:1|{{{1}}}}}|{{#invoke:wd|label|Q{{#if:1|{{{1}}}}}}} <small>(Q{{#if:1|{{{1|}}}}})</small>]]
{{documentation}}
  }}
</noinclude>
| {{#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>

Latest revision as of 10:51, 6 September 2021