Template:Colored Panel

From HFWiki
Jump to: navigation, search

A template to make a coloured panel, for use on the main page..

Usage

{{Colored Panel| <Panel> | <Colour> | <Bordercolour>}}
  • Parameter 1: Panel, the name of the panel. It must exist at Portal:Main/Panels/.
  • Parameter 2: Colour, the colour of the box.
  • Parameter 3: Border colour (optional, otherwise no border)

Example

Code

{{Colored Panel|News|#331818}}
{{Colored Panel|News|#222|#AAA}}

Result