Difference between revisions of "Template:Wikidata entity link"

From blackwiki
Jump to navigation Jump to search
test>MSGJ
(normalise)
test>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 10:43, 18 September 2015

Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (Q)

Template documentation[create]