Difference between revisions of "Module:Wikidata entity link"

From blackwiki
Jump to navigation Jump to search
blackwiki>MSGJ
m (MSGJ moved page Template:Q to Template:Wikidata entity link: clearer name)
blackwiki>Zyxw
(Trim any leading or trailing spaces from unnamed parameter that would prevent template from working as expected.)
Line 1: Line 1:
 
{{#switch:{{str left|{{{1|}}}|1}}
 
{{#switch:{{str left|{{{1|}}}|1}}
| Q = [[d:{{{1|}}}|{{label|{{{1|}}}}} <small>({{{1|}}})</small>]]
+
| Q = [[d:{{#if:1|{{{1|}}}}}|{{label|{{#if:1|{{{1|}}}}}}} <small>({{#if:1|{{{1|}}}}})</small>]]
| P = [[d:Property:{{{1|}}}|{{label|{{{1|}}}}} <small>({{{1|}}})</small>]]
+
| P = [[d:Property:{{#if:1|{{{1|}}}}}|{{label|{{#if:1|{{{1|}}}}}}} <small>({{#if:1|{{{1|}}}}})</small>]]
| [[d:Q{{{1|}}}|{{label|Q{{{1|}}}}} <small>(Q{{{1|}}})</small>]]
+
| [[d:Q{{#if:1|{{{1|}}}}}|{{label|Q{{#if:1|{{{1|}}}}}}} <small>(Q{{#if:1|{{{1|}}}}})</small>]]
 
}}<noinclude>
 
}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 17:06, 23 April 2017

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

Module documentation[create]