Template:Label/sandbox
Appearance
This is the template sandbox page for Template:Label (diff). See also the companion subpage for test cases. |
This template is used on approximately 11,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template uses Lua: |
This template gets the label of a Wikidata item or property.
Usage examples
[edit]- Standard usage
{{Label}}
→{{Label|Q5}}
→ human{{Label|P31}}
→ instance of
- Leading/trailing white space
{{Label | Q5 }}
→ human{{Label | P31 }}
→ instance of
- Lower case
{{Label | q5 }}
→ human{{Label | p31 }}
→ instance of
See also
[edit]{{LinkedLabel}}
{{Wikidata entity link}}
{{Wikidata property link}}
{{Get QID}}
, the inverse template- d:Template:Label
- c:Template:Label