Template:Item: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{#ifeq: {{padleft:|1|{{#if:1|{{{1|}}}}}}} | Q
<includeonly>{{#if: {{{1|}}}
| [[{{{1|}}}|{{#invoke:Wikibase|label|{{{1|}}}}} <small>{{int:parentheses|{{{1|}}}}}</small>]]
| {{#switch: {{uc:{{padleft:|1|{{#if:1|{{{1}}}}}}}}}
| [[Q{{{1|}}}|{{#invoke:Wikibase|label|Q{{{1|}}}}} <small>{{int:parentheses|Q{{{1|}}}}}</small>]]
  | Q | P = [[d:Special:EntityPage/{{#if:1|{{{1}}}}}|{{#invoke:Wikibase|label|{{{1}}}}} <small>({{#if:1|{{{1}}}}})</small>]]
}}
  | #default = [[d:Special:EntityPage/Q{{#if:1|{{{1}}}}}|{{#invoke:Wikibase|label|Q{{#if:1|{{{1}}}}}}} <small>(Q{{#if:1|{{{1|}}}}})</small>]]
  }}
| {{#if:{{#invoke:wd|label|raw}}
  | [[d:Special:EntityPage/{{#invoke:Wikibase|label|raw}}|{{#invoke:Wikibase|label}} <small>({{#invoke:Wikibase|label|raw}})</small>]]
  | <small>(no entity)</small>
  }}
}}</includeonly><noinclude>{{Documentation}}</noinclude>