Template:DescriptionWD/doc
Jump to navigation
Jump to search
| This is a documentation subpage for Template:DescriptionWD. It contains usage information, categories and other content that is not part of the original template page. |
When placed on an article page, it displays either the text of the first unnamed parameter or the item description from Wikidata if there is no parameter.
For testing it can accept a named parameter |qid= which allows the description to be fetched from an arbitrary article by its Wikidata id. This makes it an expensive call.
Usage
For example, on the article Priyanka Chopra it will display:
{{DescriptionWD}}→ Lua error in Module:RexxS at line 132: attempt to index field 'wikibase' (a nil value).{{DescriptionWD |Indian actor and singer}}→ Indian actor and singer