Template:SDC statement exist/doc
From WWII Archives
File:Lua-Logo.svg | This template uses Lua: |
Template for adding tracking categories based on SDC statements. It should by used by other templates to verify if expected SDC statement exist or not
Usage
{{SDC_statement_exist
|property =
|positive_category =
|negative_category =
}}
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
property | property ID to be tested: "P7482" for Lua error in Module:Wikidata_label at line 271: attempt to index field 'wikibase' (a nil value). (P7482), or "P170" for Lua error in Module:Wikidata_label at line 271: attempt to index field 'wikibase' (a nil value). (P170) | empty | required | |
positive_category | category name to add if SDC statement exist | empty | optional | |
negative_category | category name to add if SDC statement does not exist | empty | optional |
Additional information
The template is intended to be used in the following namespaces: the Template namespace
The template is intended to be used by the following user groups: no user group specified
Relies on:
Module:SDC tracking
⧼Seealso⧽