Template:Importance mask/doc

Usage
This template is designed to be used by WikiProject banner templates to normalise the importance parameter.

The importances top, high, mid, low, and bottom may be enabled or disabled. However NA and Unknown may not be disabled.

Syntax
Typically this template should be placed on the /importance subpage of a WikiProject banner template.

Parameters
Eg:
 * (Required) this parameter must be passed as the first unnamed parameter in all cases.
 * (Required) – the 'class' parameter must be passed to allow the mask to automatically set the importance of non-articles to NA. Eg:
 * – specifies whether Top-importance is used, defaults to "yes".
 * – specifies whether High-importance is used, defaults to "yes".
 * – specifies whether Mid-importance is used, defaults to "yes".
 * – specifies whether Low-importance is used, defaults to "yes".
 * – specifies whether Bottom-importance is used, defaults to "no".

TemplateData
{       "description": "This template is designed to be used by WikiProject banner templates to normalise the importance parameter.", "params": { "1": {                       "label": "Importance", "description": "One of 'top', 'high', 'mid', 'low' or 'bottom', 'NA' or 'Unknown'", "type": "string", "required": true },               "class": { "label": "Class", "description": "the 'class' parameter must be passed to allow the mask to automatically set the importance of non-articles to NA.", "type": "string", "required": true },               "top": { "label": "Top importance", "description": "specifies whether Top-importance is used, defaults to yes", "type": "string", "required": false },               "high": { "label": "High importance", "description": "specifies whether High-importance is used, defaults to yes", "type": "string", "required": false },               "mid": { "label": "Mid importance", "description": "specifies whether Mid-importance is used, defaults to yes", "type": "string", "required": false },               "low": { "label": "Low importance", "description": "specifies whether Low-importance is used, defaults to yes", "type": "string", "required": false },               "bottom": { "label": "Bottom importance", "description": "specifies whether Bottom-importance is used, defaults to no", "type": "string", "required": false }       } }