Template:Colour box

From Darkan
Jump to navigation Jump to search

[view] [edit] [purge] Template documentation

This documentation is transcluded from Template:Colour box/doc.

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