Template:Property
Appearance
Template:Property displays a link to Wikidata property. Label language can be set with second parameter (defaults to page language).
Usage examples
- Standard usage
{{Property|123}}
→ publisher (P123){{Property|P123}}
→ publisher (P123)- Leading/trailing whitespace
{{Property | 123 }}
→ publisher (P123){{Property | P123 }}
→ publisher (P123)- id = n(one)
{{Property|123|id=n}}
→ publisher{{Property|P123|id=none}}
→ publisher- id = o(nly)
{{Property|123|id=o}}
→ P123{{Property|P123|id=only}}
→ P123- id = f(irst)
{{Property|123|id=f}}
→ P123: publisher{{Property|P123|id=first}}
→ P123: publisher
Supporting template and module
- Template:Label which uses Module:Wikidata label