Template:Wikidata ID line/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:Wikidata ID line. It contains usage information, categories and other content that is not part of the original template page. |
Usage[edit source]
This template fetches an identifier property from Wikidata and formats it as a URL. Use as for example:
{{Wikidata ID line|P3634|qid=Q19905080}}
which returns:
- [Lua error in Module:Wd at line 162: attempt to index field 'wikibase' (a nil value). Lua error in Module:WikidataIB at line 533: attempt to index field 'wikibase' (a nil value).: {{#Property:P3634|from=Q19905080 }}]
If you want to hide the ID, then use:
{{Wikidata ID line|P3634|qid=Q19905080|showid=no}}
which returns:
- [Lua error in Module:Wd at line 162: attempt to index field 'wikibase' (a nil value). Lua error in Module:WikidataIB at line 533: attempt to index field 'wikibase' (a nil value).]
Use with {{Wikidata ID}} to return multiple IDs at once.
See also[edit source]
- {{Wikidata URL}}