Open main menu

Changes

{{Documentation subpage}}
{{Lua|Module:Wikibase}}
This template gets the label of a [[Wikidata]] item or property.

== Usage examples ==

; Standard usage
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}}|Q5}}</code> → {{{{BASEPAGENAME}}|Q5}}
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}}|P31}}</code> → {{{{BASEPAGENAME}}|P31}}

; Leading/trailing whitespace
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | Q5 }}</code> → {{{{BASEPAGENAME}} | Q5 }}
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | P31 }}</code> → {{{{BASEPAGENAME}} | P31 }}

== See also ==
* [[Wikidata:Template:Label]]
* [[Template:Wikidata entity link]]
* [[Template:Wikidata property link]]
* [[Module:Wikidata label]]

<includeonly>{{#switch:{{SUBPAGENAME}}|sandbox=|#default=
[[Category:Wikidata templates]]
}}</includeonly>
Anonymous user