Difference between revisions of "Template:Label/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Cabayi
(fresh copy from wikidata)
 
imported>Andy M. Wang
(sync / sandbox)
Line 1: Line 1:
<includeonly>{{#invoke: Wikidata | getLabel |entity={{{1|}}}|lang={{{2|{{int:lang}}}}}}}</includeonly><noinclude>
+
{{#invoke:Wikibase/sandbox|label|{{{1}}}}}<noinclude>
{{documentation}}</noinclude>
+
{{documentation}}
 +
</noinclude>

Revision as of 01:45, 15 June 2016

Lua error in Module:Wikibase/sandbox at line 22: attempt to index field 'wikibase' (a nil value).

Template documentation[view] [edit] [history] [purge]

This template gets the label of a Wikidata item or property.

Usage examples

Standard usage
{{Label}}Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value).
{{Label|Q5}}Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value).
{{Label|P31}}Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value).
Leading/trailing white space
{{Label | Q5 }}Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value).
{{Label | P31 }}Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value).
Lower case
{{Label | q5 }}Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value).
{{Label | p31 }}Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value).

See also