Template:Box-header colour/doc

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.

Usage
Basic:

With an edit link:

Parameters

 * 1 (or first unnamed parameter)
 * Title to show in box header


 * 2 (or second unnamed parameter)
 * Optional: the target page for the edit link.
 * If not included, no edit link will be shown.


 * colour (or color)
 * Optional: Base colour to use when calculating appropriate colours. May either be a hue value (a number between  and  ), or a X11 colour name (like  ), or a hex triplet (like   or  )
 * If not specified, a "random" colour will be chosen (based on the characters in the root page name)


 * mode
 * Optional: How light or dark the calculated title background colour should be. Either,  ,  ,  , or
 * Defaults to "normal" if not specified.

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):
 * title
 * editpage
 * noedit
 * border
 * titleforeground
 * titlebackground
 * foreground
 * background