• Home
  • Random
  • Log in
  • Settings
  • About Safer nicotine wiki
  • Disclaimers
Safer nicotine wiki

Template:Label

  • Language
  • Watch
  • View source
Template documentation[view] [edit] [history] [purge]
This template uses Lua:
  • Module:Wd

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

Usage examples

Standard usage
{{Label}} →
{{Label|Q5}} → Q5
{{Label|P31}} → P31
Leading/trailing white space
{{Label | Q5 }} → Q5
{{Label | P31 }} → P31
Lower case
{{Label | q5 }} → Q5
{{Label | p31 }} → P31

See also

  • {{LinkedLabel}}
  • {{Wikidata entity link}}
  • {{Wikidata property link}}
  • {{Get QID}}, the inverse template
  • d:Template:Label
  • c:Template:Label
The above documentation is transcluded from Template:Label/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://safernicotine.wiki/mediawiki/index.php?title=Template:Label&oldid=11924"
Last edited on 14 October 2025, at 13:51
Cookies help us deliver our services. By using our services, you agree to our use of cookies.
More information

Languages

      This page is not available in other languages.

      Safer nicotine wiki
      • Creative Commons Attribution-ShareAlike
      • Powered by MediaWiki
      • Monitored by WikiApiary
      • ipv6 ready
      • Powered by Semantic MediaWiki
      • This page was last modified on 14 October 2025, at 13:51. Warning: Page may not contain recent updates.
      • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
      • Privacy policy
      • About Safer nicotine wiki
      • Disclaimers
      • Terms of Use
      • Desktop
      • Data access
      • Developers
      • Statistics
      • Cookie statement