This is the template sandbox page for Template:Wikidata property link (diff). See also the companion subpage for test cases. |
This 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.
Preview message: Transclusion count updated automatically (see documentation). |
Template:Wikidata property link displays a link to Wikidata property.
{{Wikidata property link|123}}
→ publisher (P123){{Wikidata property link|P123}}
→ publisher (P123){{Wikidata property link | 123 }}
→ publisher (P123){{Wikidata property link | P123 }}
→ publisher (P123){{Wikidata property link|p123}}
→ publisher (P123){{Wikidata property link | p123 }}
→ publisher (P123){{Wikidata property link|123|id=n}}
→ publisher{{Wikidata property link|P123|id=none}}
→ publisher{{Wikidata property link|123|id=o}}
→ P123{{Wikidata property link|P123|id=only}}
→ P123{{Wikidata property link|123|id=f}}
→ P123: publisher{{Wikidata property link|P123|id=first}}
→ P123: publisher{{prop|123}}
→ publisher (P123){{property|P123}}
→ publisher (P123){{wpl|123}}
→ publisher (P123){{WPL|P123}}
→ publisher (P123){{wikidata|label}}
which uses {{#invoke:wd|label}}