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

Template:Wikidata property link/sandbox

  • Template
  • Talk
  • Language
  • Watch
  • Edit
< Template:Wikidata property link
This is the template sandbox page for Template:Wikidata property link (diff).
See also the companion subpage for test cases.
Template documentation[view] [edit] [history] [purge]
WarningThis template is used on approximately 2,500 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.
Shortcuts
  • {{PropTemplate:Prop}}
  • {{PropertyTemplate:Property}}
  • {{wplTemplate:Wpl}}
  • {{WPLTemplate:WPL}}
  • {{wdpTemplate:Wdp}}
  • {{WDPTemplate:WDP}}
  • {{wdplTemplate:Wdpl}}
  • {{WDPLTemplate:WDPL}}

Template:Wikidata property link displays a link to Wikidata property.

Usage examples

edit
Standard usage
{{Wikidata property link|123}} → publisher (P123)
{{Wikidata property link|P123}} → publisher (P123)
Leading/trailing whitespace
{{Wikidata property link | 123 }} → publisher (P123)
{{Wikidata property link | P123 }} → publisher (P123)
Lower case
{{Wikidata property link|p123}} → publisher (P123)
{{Wikidata property link | p123 }} → publisher (P123)
id = n(one)
{{Wikidata property link|123|id=n}} → publisher
{{Wikidata property link|P123|id=none}} → publisher
id = o(nly)
{{Wikidata property link|123|id=o}} → P123
{{Wikidata property link|P123|id=only}} → P123
id = f(irst)
{{Wikidata property link|123|id=f}} → P123: publisher
{{Wikidata property link|P123|id=first}} → P123: publisher
Template shortcuts
{{prop|123}} → publisher (P123)
{{property|P123}} → publisher (P123)
{{wpl|123}} → publisher (P123)
{{WPL|P123}} → publisher (P123)

Supporting template and module

edit
  • {{wikidata|label}} which uses {{#invoke:wd|label}}

See also

edit
  • {{Wikidata property}}
  • {{Wikidata entity link}}
  • {{Wikidata URL}}
  • {{Label}}
  • d:Template:Property
  • c:Template:Property
The above documentation is transcluded from Template:Wikidata property link/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:Wikidata_property_link/sandbox&oldid=1073435630"
Last edited on 22 February 2022, at 18:22

Languages

      This page is not available in other languages.

      Wikipedia
      • Wikimedia Foundation
      • Powered by MediaWiki
      • This page was last edited on 22 February 2022, at 18:22 (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