Template:Priority mask/doc

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Usage[edit source]

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

The priorities top, high, mid, and low may be enabled or disabled. However NB and Unknown may not be disabled.

Syntax[edit source]

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

{{priority mask<noinclude>/templatepage</noinclude>
 |1={{{priority|}}}
 |quality={{{quality|}}}
 |top=
 |high=
 |mid=
 |low=
 |bottom=
 |no=
}}

Parameters[edit source]

  • priority (Required) this parameter must be passed as the first unnamed parameter in all cases.
  • quality (Required) – the 'quality' parameter must be passed to allow the mask to automatically set the priority of non-book pages to NB. Eg: quality={{{quality|}}}

Eg: priority={{{priority|}}}

  • top – specifies whether Top-priority is used, defaults to "yes".
  • high – specifies whether High-priority is used, defaults to "yes".
  • mid – specifies whether Mid-priority is used, defaults to "yes".
  • low – specifies whether Low-priority is used, defaults to "yes".

See also[edit source]