Predloga:Importance mask
¬
Predloga se uporablja na številnih straneh. Z urejanjem te predloge lahko zelo obremenite strežnike, zato pred uvedbo vse spremembe, ki jih želite uvesti, preizkusite na njenih podstraneh (/peskovnik oziroma /testniprimeri) ali na svojih lastnih podstraneh. Preizkusite jih lahko tudi v posebnem peskovniku za predloge. Preizkušene spremembe se lahko v predlogo dodajo z enim samim urejanjem. Preden predlogo spremenite, se o spremembah rajši pogovorite na njeni pogovorni strani. |
Usage
[uredi kodo]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
[uredi kodo]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
[uredi kodo]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
[uredi kodo]TemplateData za Importance mask
This template is designed to be used by WikiProject banner templates to normalise the ''importance'' parameter.
Parameter | Opis | Vrsta | Stanje | |
---|---|---|---|---|
Importance | 1 | One of 'top', 'high', 'mid', 'low' or 'bottom', 'NA' or 'Unknown' | Niz | zahtevano |
Class | class | the 'class' parameter must be passed to allow the mask to automatically set the importance of non-articles to NA. | Niz | zahtevano |
Top importance | top | specifies whether ''Top-importance'' is used, defaults to ''yes'' | Niz | neobvezno |
High importance | high | specifies whether ''High-importance'' is used, defaults to ''yes'' | Niz | neobvezno |
Mid importance | mid | specifies whether ''Mid-importance'' is used, defaults to ''yes'' | Niz | neobvezno |
Low importance | low | specifies whether ''Low-importance'' is used, defaults to ''yes'' | Niz | neobvezno |
Bottom importance | bottom | specifies whether ''Bottom-importance'' is used, defaults to ''no'' | Niz | neobvezno |