Template:Wikidata property link
This template is used on many pages. To avoid large-scale disruption and unnecessary server load, any changes to this template should first be tested in its /sandbox or /testcases subpages or in your own user subpage. The tested changes can then be added to this page in one single edit. Please consider discussing any changes on the talk page before implementing them. |
Template:Wikidata property link displays a link to Wikidata property.
Usage examples
- Leading/trailing whitespace
{{Wikidata property link | 123 }}
→ (P123){{Wikidata property link | P123 }}
→ (P123)
- id = n(one)
{{Wikidata property link|123|id=n}}
→ [[d:Special:EntityPage/P123|]]{{Wikidata property link|P123|id=none}}
→ [[d:Special:EntityPage/P123|]]
- 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{{Wikidata property link|P123|id=first}}
→ P123
- Template shortcuts
{{prop|123}}
→ (P123){{property|P123}}
→ (P123){{wpl|123}}
→ (P123){{WPL|P123}}
→ (P123)
Supporting template and module
- {{wikidata|label}} which uses
{{#invoke:wd|label}}