Difference between revisions of "Template:LeftBS"

From Persona MUSH Wiki
Jump to: navigation, search
m (Reverted edits by Strangeshrimp (talk) to last revision by Cyanne)
 
(4 intermediate revisions by 2 users not shown)
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; color:#{{{maintext|000000}}}; 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: 7px;border-top-right-radius: 7px;-moz-border-radius-topleft: 7px;border-top-left-radius: 7px"|{{{title}}}
 
! style="color:#{{{headtext|000000}}};background:#{{{headcolor|A6A6A6}}};font-size: 120%; text-align: center;width: 1500pt;-moz-border-radius-topright: 7px;border-top-right-radius: 7px;-moz-border-radius-topleft: 7px;border-top-left-radius: 7px"|{{{title}}}
 
|-
 
|-
 
 
<noinclude>
 
<noinclude>
 
{{Template:LeftBS/doc}}
 
{{Template:LeftBS/doc}}
 
</noinclude>
 
</noinclude>

Latest revision as of 02:07, 2 January 2014

[edit] 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.

[edit] 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=
}}

[edit] 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