Template:Colour box/doc

From Darkan
Revision as of 02:56, 17 November 2012 by imported>Blaze fire12 (Deleted in 2008? BRINGING IT BACK.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Documentation This is a documentation subpage for Template:Colour box.
It contains usage information, categories, and other content that is not part of the original template page.

This template displays a coloured box.

Usage

This template can be used by entering the following onto a talk page.

{{BlueValueBox|text of the cell|colour of the cell|#}}

Text of the cell

The text of the cell is what text will go in the cell of the box. Note that the words "text of the cell" are not required.

Colour of the cell

The colour of the cell must be in hex code. Note that the words "colour of the cell" are not required. The third parameter, the # is required for this to work.

For example,

{| class="wikitable"
! Title 
! Title 2
|-
|{{BlueValueBox}}
|{{BlueValueBox|cyan|00C9DD|#}}
|}

Will provide

Title Title 2
Template:BlueValueBox Template:BlueValueBox