Difference between revisions of "Template:Wikidata property link"
Jump to navigation
Jump to search
en>MusikAnimal m (Protected "Template:Wikidata property link": High-risk template ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed access] (indefinite))) |
(No difference)
|
Revision as of 08:49, 7 December 2018
Template:Wikidata property link displays a link to Wikidata property.
Usage examples
- Standard usage
{{Wikidata property link|123}}
→ Lua error in Module:Wikibase at line 40: attempt to index field 'wikibase' (a nil value). (P123){{Wikidata property link|P123}}
→ Lua error in Module:Wikibase at line 40: attempt to index field 'wikibase' (a nil value). (P123)
- Leading/trailing whitespace
{{Wikidata property link | 123 }}
→ Lua error in Module:Wikibase at line 40: attempt to index field 'wikibase' (a nil value). (P123){{Wikidata property link | P123 }}
→ Lua error in Module:Wikibase at line 40: attempt to index field 'wikibase' (a nil value). (P123)
- id = n(one)
{{Wikidata property link|123|id=n}}
→ Lua error in Module:Wikibase at line 40: attempt to index field 'wikibase' (a nil value).{{Wikidata property link|P123|id=none}}
→ Lua error in Module:Wikibase at line 40: attempt to index field 'wikibase' (a nil value).
- 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: Lua error in Module:Wikibase at line 40: attempt to index field 'wikibase' (a nil value).{{Wikidata property link|P123|id=first}}
→ P123: Lua error in Module:Wikibase at line 40: attempt to index field 'wikibase' (a nil value).
- Template shortcuts
{{property|123}}
→ Lua error in Module:Wikibase at line 40: attempt to index field 'wikibase' (a nil value). (P123){{property|P123}}
→ Lua error in Module:Wikibase at line 40: attempt to index field 'wikibase' (a nil value). (P123){{wpl|123}}
→ Lua error in Module:Wikibase at line 40: attempt to index field 'wikibase' (a nil value). (P123){{WPL|P123}}
→ Lua error in Module:Wikibase at line 40: attempt to index field 'wikibase' (a nil value). (P123)
Supporting template and module
- Template:Label which uses Module:Wikibase
See also
- Wikidata:Template:Property
- Template:Wikidata property
- Template:Wikidata entity link
- Template:Wikidata URL
The above documentation is transcluded from Template:Wikidata property link/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |