• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:LinkedLabel/sandbox

  • Template
  • Talk
  • Language
  • Watch
  • Edit
< Template:LinkedLabel
This is the template sandbox page for Template:LinkedLabel (diff).
See also the companion subpage for test cases.
Template documentation[view] [edit] [history] [purge]
This template uses {{Wikidata}}, a meta-template for easily creating and maintaining templates. Any recently appearing error or display issue which is not obviously caused by a recent edit to this template is probably due to an error in, or recent update to, Template:Wikidata or one of its subpages. Please report any such errors to Template talk:Wikidata, so that any errors can be fixed for this and other projects.
This template uses Lua:
  • Module:Wd (sandbox)

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

Usage examples

edit
Standard usage
{{LinkedLabel}} →
{{LinkedLabel|Q5}} → human Edit this on Wikidata
{{LinkedLabel|P31}} → instance of Edit this on Wikidata
Leading/trailing white space
{{LinkedLabel | Q5 }} → human Edit this on Wikidata
{{LinkedLabel | P31 }} → instance of Edit this on Wikidata
Lower case
{{LinkedLabel | q5 }} → human Edit this on Wikidata
{{LinkedLabel | p31 }} → instance of Edit this on Wikidata

See also

edit
  • {{Label}}
  • {{Wikidata entity link}}
  • {{Wikidata property link}}
  • {{Wikidata}}
The above documentation is transcluded from Template:LinkedLabel/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:LinkedLabel/sandbox&oldid=1004251423"
Last edited on 1 February 2021, at 19:09

Languages

      This page is not available in other languages.

      Wikipedia
      • Wikimedia Foundation
      • Powered by MediaWiki
      • This page was last edited on 1 February 2021, at 19:09 (UTC).
      • Content is available under CC BY-SA 4.0 unless otherwise noted.
      • Privacy policy
      • About Wikipedia
      • Disclaimers
      • Contact Wikipedia
      • Code of Conduct
      • Developers
      • Statistics
      • Cookie statement
      • Terms of Use
      • Desktop