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}}