ਫਰਮਾ:Importance mask
¬
This template is used on 59,40,000+ pages, or roughly 3319% of all pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
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.
{{importance mask<noinclude>/templatepage</noinclude> |1={{{importance|}}} |class={{{class|}}} |top= |high= |mid= |low= |bottom= }}
Parameters
[ਸੋਧੋ]importance
(Required) this parameter must be passed as the first unnamed parameter in all cases.class
(Required) – the 'class' parameter must be passed to allow the mask to automatically set the importance of non-articles to NA. Eg:class={{{class|}}}
Eg: importance={{{importance|}}}
top
– specifies whether Top-importance is used, defaults to "yes".high
– specifies whether High-importance is used, defaults to "yes".mid
– specifies whether Mid-importance is used, defaults to "yes".low
– specifies whether Low-importance is used, defaults to "yes".bottom
– specifies whether Bottom-importance is used, defaults to "no".
TemplateData
[ਸੋਧੋ]TemplateData for Importance mask
This template is designed to be used by WikiProject banner templates to normalise the ''importance'' parameter.
ਮਾਪਦੰਡ | ਵੇਰਵਾ | ਕਿਸਮ | ਦਰਜਾ | |
---|---|---|---|---|
Importance | 1 | One of 'top', 'high', 'mid', 'low' or 'bottom', 'NA' or 'Unknown' | String | required |
Class | class | the 'class' parameter must be passed to allow the mask to automatically set the importance of non-articles to NA. | String | required |
Top importance | top | specifies whether ''Top-importance'' is used, defaults to ''yes'' | String | optional |
High importance | high | specifies whether ''High-importance'' is used, defaults to ''yes'' | String | optional |
Mid importance | mid | specifies whether ''Mid-importance'' is used, defaults to ''yes'' | String | optional |
Low importance | low | specifies whether ''Low-importance'' is used, defaults to ''yes'' | String | optional |
Bottom importance | bottom | specifies whether ''Bottom-importance'' is used, defaults to ''no'' | String | optional |