Template:Divbox: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>TonyV
mNo edit summary
 
imported>Sekoia
(removing the need for over a dozen auxiliary templates by using #switch)
Line 1: Line 1:
<div class="boilerplate metadata" id="{{{2}}}" style="{{divstyle{{{1}}}}}"><center><b>{{{2}}}</b></center>{{{3}}}</div>
<div class="boilerplate metadata" id="{{{2}}}" style="margin: 0.5em; padding: 0.5em; border: 1px {{#switch: {{{1}}}
| none = hidden
| #default = solid
}} {{#switch: {{{1}}}
| amber = #663300; background-color: #FFFFCC;
| black = white; background-color: black; color: white;
| bloodred = #CC0000; background-color: #FF3333;
| blue = #0000CC; background-color: #CCFFFF;
| brown = #663300; background-color: #F2DEB8;
| forest = #006633; background-color: #B5DBAF;
| gray = #999999; background-color: #EEEEEE;
| green = #009900; background-color: #CCFFCC;
| navy = #00477B; background-color: #AADBE0;
| orange = #FF6600; background-color: #FFDEB5;
| purple = #7D00B3; background-color: #FFDAFF;
| red = #CC0000; background-color: #FFCCCC;
| white = #000000; background-color: #FFFFFF;
| yellow = #FFCC00; background-color: #FFFFCC;
| none
| #default = ;
}}"><center><b>{{{2}}}</b></center>{{{3}}}</div>

Revision as of 10:34, 20 February 2008