Template:Colored Panel

Revision as of 14:52, 12 October 2009 by Williams (talk | contribs) (Created page with '<includeonly><div class="panel" style="background: {{{2}}}; border: 1px solid {{#if:{{{3|}}}|{{{3}}}|{{{2}}}}};"> {{:Portal:Main/Panels/{{{1}}}}} </div></includeonly><noinclude>_…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

A template to make a coloured panel, for use on the main page. For no coloured background or border, use {{Panel}}.


{{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)



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