Template:Property/doc
Appearance
This is a documentation subpage for Template:Property. It contains usage information, categories, and other content that is not part of the original template page. |
Template:Property displays a link to Wikidata property. Label language can be set with second parameter (defaults to page language).
Usage examples
[edit]- 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
[edit]- Template:Label which uses Module:Wikidata label
See also
[edit]