Difference between revisions of "Template:Label"

From blackwiki
Jump to navigation Jump to search
imported>Primefac
m (Protected "Template:Label": semi-protection of high-usage templates to combat systematic vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed access] (indefinite)))
imported>Uzume
 
Line 1: Line 1:
{{#if:{{{1|}}}|{{#invoke:Wikibase|label|{{{1}}}}}|{{#invoke:Wikibase|label}}}}<noinclude>{{documentation}}</noinclude>
+
{{#invoke:wd|label|{{{1|}}}}}<noinclude>{{documentation}}</noinclude>

Latest revision as of 16:27, 23 April 2020

Lua error in Module:Wd at line 196: 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