Template:Label/doc

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

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

Usage examples

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

See also

[edit source]