Template:WikidataCheck
Jump to navigation
Jump to search
This documentation is transcluded from Template:WikidataCheck/doc.
Uses Lua: |
This template allows you to compare a template parameter to a property in Wikidata.
You can call it with: {{WikidataCheck|property=P###|value={{{value|}}}|category=Category prefix|namespaces=0,14}}
Usage
{{WikidataCheck |property= |value= |category= |namespaces= |prefix= }}
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
property | is the P### of the property. The "P" must be uppercase. | empty | required | |
value | is the value to use from the template. This would be something like {{{id|}}} | empty | required | |
category | is the prefix to use in front of the category names. The categories created are "[prefix] not in Wikidata", "[prefix] same as Wikidata", and "[prefix] different from Wikidata".
| empty | required | |
namespaces | is a comma separated list of the numerical namespaces to apply the template in. The default is 0, which is just article space. | empty | optional | |
prefix | a prefix to prepend to the value before comparing with the value on Wikidata. | empty | optional |
Additional information
The template is intended to be used in the following namespaces: no namespace specified
The template is intended to be used by the following user groups: no user group specified
- Example
For en:template:MusicBrainz artist, the following is the code to add:
{{WikidataCheck|property=P343|value={{{mbid|{{{id|{{{1|}}}}}}}}}|category=MusicBrainz artist id|namespaces=0}}