This page is protected against editing.

Template:WikidataCheck

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:WikidataCheck/doc.

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

ParameterDescriptionDefaultStatus
propertyis the P### of the property. The "P" must be uppercase.emptyrequired
valueis the value to use from the template. This would be something like {{{id|}}}emptyrequired
categoryis 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".
    • It is recommended you create these categories with {{hiddencat}} before applying this template.
emptyrequired
namespacesis a comma separated list of the numerical namespaces to apply the template in. The default is 0, which is just article space.emptyoptional
prefixa prefix to prepend to the value before comparing with the value on Wikidata.emptyoptional

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}}