Difference between revisions of "Template:LeftBS"

From Persona MUSH Wiki
Jump to: navigation, search
Line 1: Line 1:
 
{| style="margin-bottom: 5px; text-align: left; border: black solid 2px;background:#{{{bgcolor|FFFFFF}}};-moz-border-radius: 10px;border-radius: 10px"
 
{| style="margin-bottom: 5px; text-align: left; border: black solid 2px;background:#{{{bgcolor|FFFFFF}}};-moz-border-radius: 10px;border-radius: 10px"
! style="color:#{{{Headtext|000000}}};background:#{{{Headcolor|A6A6A6}}};font-size: 120%; text-align: center;width: 1500pt;-moz-border-radius-topright: 10px;border-top-right-radius: 10px;-moz-border-radius-topleft: 10px;border-top-left-radius: 10px"|{{{title}}}
+
! style="color:#{{{headtext|000000}}};background:#{{{headcolor|A6A6A6}}};font-size: 120%; text-align: center;width: 1500pt;-moz-border-radius-topright: 10px;border-top-right-radius: 10px;-moz-border-radius-topleft: 10px;border-top-left-radius: 10px"|{{{title}}}
 
|-
 
|-
  

Revision as of 18:07, 28 September 2010

Scope

This template used in conjunction with Template:BoxEnd to add additional boxes to the left hand side of the character page underneath the character info boxes. Only include the colors for the appropriate section if you do not wish to use the default colors. If there are no boxes to the right of the box then this code will automatically stretch the box to fill the space. See the usage section below for an example on how to use the code.

Code

{{LeftBS
|maintext = This is the color of the box text. Insert the hex number for the color you want to use. The default is 000000 (aka Black). 
|bgcolor = This is the background color of the box. Insert the hex number for the color you want to use. The default is FFFFFF (aka White). 
|headcolor = This is the background color of the header. Insert the hex number for the color you want to use. The default is A6A6A6 (aka a light gray). 
|headtext = This is the color of the header text. Insert the hex number for the color you want to use. The default is 000000 (aka Black). 
|title=
}}

Usage

With all default colors

{{LeftBS
|title=Example
}}
| Content Here
{{BoxEnd}}

With some custom colors

{{LeftBS
|bgcolor = FCDDDD 
|title=Example
}}
| Content Here
{{BoxEnd}}
{{{title}}}
Personal tools
Namespaces

Variants
Actions
Navigation
Wiki Tools
Toolbox