Template:Wikidata entity link: Difference between revisions

From Vigyanwiki
Template>MSGJ
(normalise)
Template>MSGJ
(update to give labels for properties as well)
Line 1: Line 1:
{{#ifeq: {{str left|{{{1|}}}|1}} | Q
{{#switch:{{str left|{{{1|}}}|1}}
  | [[d:{{{1|}}}|{{label|{{{1|}}}}} <small>({{{1|}}})</small>]]
| Q = [[d:{{{1|}}}|{{label|{{{1|}}}}} <small>({{{1|}}})</small>]]
  | P = [[d:Property:{{{1|}}}|{{label|{{{1|}}}}} <small>({{{1|}}})</small>]]
  | [[d:Q{{{1|}}}|{{label|Q{{{1|}}}}} <small>(Q{{{1|}}})</small>]]
  | [[d:Q{{{1|}}}|{{label|Q{{{1|}}}}} <small>(Q{{{1|}}})</small>]]
}}<noinclude>
}}<noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Revision as of 16:13, 18 September 2015

[[d:Q|Template:Label (Q)]]

Template documentation