This is the template sandbox page for Template:Box-header colour (diff). See also the companion subpage for test cases. |
This template is used on approximately 2,900 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
Preview message: Transclusion count updated automatically (see documentation). |
This template uses Lua: |
This template can be used to easily create a box-header with MOS:COLOUR-compliant colours. It is intended to mainly be used in portals, but can also be used elsewhere.
Basic:
{{Box-header colour | Title | colour= | mode= }}
With an edit link:
{{Box-header colour | Title | Page to be edited | colour= | mode= }}
|1=
(or first unnamed parameter)|2=
(or second unnamed parameter)|colour=
(or |color=
)0
and 359
), or a X11 colour name (like aqua
), or a hex triplet (like #92c
or #6956D7
)|mode=
lightest
, light
, normal
, dark
, or darkest
Other parameters that are accepted by Template:Box-header can also be used in this template, apart from the following (which will be ignored if specified):