Difference between revisions of "Template:Colored Panel"
(Created page with '<includeonly><div class="panel" style="background: {{{2}}}; border: 1px solid {{#if:{{{3|}}}|{{{3}}}|{{{2}}}}};"> {{:Portal:Main/Panels/{{{1}}}}} </div></includeonly><noinclude>_…') |
m |
||
Line 15: | Line 15: | ||
{{Colored Panel|Browse|#331818}} | {{Colored Panel|Browse|#331818}} | ||
{{Colored Panel|Browse|#222|#AAA}} | {{Colored Panel|Browse|#222|#AAA}} | ||
+ | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 16:30, 29 May 2010
A template to make a coloured panel, for use on the main page. For no coloured background or border, use {{Panel}}.
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|Browse|#331818}} {{Colored Panel|Browse|#222|#AAA}}
Result
Browse Main Portals
Characters | Society and Culture | Simulations | All Pages | ||||
Missions | Technology | Simming Positions | All Categories | ||||
Browse Main Portals
Characters | Society and Culture | Simulations | All Pages | ||||
Missions | Technology | Simming Positions | All Categories | ||||