Koha Test Wiki MW Canasta on Koha Portainer
Test major Koha Wiki changes or bug fixes here without fear of breaking the production wiki.
For the current Koha Wiki, visit https://wiki.koha-community.org .Template:Wikidata property link
(Redirected from Template:Property)
Jump to navigation
Jump to search
Template:Wikidata property link displays a link to Wikidata property.
Usage examples
- Standard usage
{{Wikidata property link|123}}
→ Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P123){{Wikidata property link|P123}}
→ Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P123)
- Leading/trailing whitespace
{{Wikidata property link | 123 }}
→ Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P123){{Wikidata property link | P123 }}
→ Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P123)
- id = n(one)
{{Wikidata property link|123|id=n}}
→ Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value).{{Wikidata property link|P123|id=none}}
→ Lua error in Module:Wd at line 196: 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:Wd at line 196: attempt to index field 'wikibase' (a nil value).{{Wikidata property link|P123|id=first}}
→ P123: Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value).
- Template shortcuts
{{prop|123}}
→ Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P123){{property|P123}}
→ Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P123){{wpl|123}}
→ Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P123){{WPL|P123}}
→ Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P123)
Supporting template and module
- {{wikidata|label}} which uses Template:Mlx
See also
- {{Wikidata property}}
- {{Wikidata entity link}}
- {{Wikidata URL}}
- {{Label}}
- d:Template:Property
- c:Template:Property
The above documentation is transcluded from Template:Wikidata property link/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |