Template:SDC statement exist/doc: Difference between revisions

Safer nicotine wiki Tobacco Harm Reduction
Jump to navigation Jump to search
mediawiki>Jarekt
No edit summary
 
m (1 revision imported: Templates and CSS files)
 
(No difference)

Latest revision as of 15:18, 28 October 2022

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

ParameterDescriptionDefaultStatus
propertyproperty ID to be tested: "P7482" for , or "P170" for emptyrequired
positive_categorycategory name to add if SDC statement existemptyoptional
negative_categorycategory name to add if SDC statement does not existemptyoptional

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⧽