Difference between revisions of "Template:RightBS"

From Persona MUSH Wiki
Jump to: navigation, search
(Created page with '{| style="float: right; clear: both; width: 25em; margin-left: 10px; margin-top: 5px; border: black solid 2px; background:#{{{textbgcolor|FFFFFF}}};-moz-border-radius: 10px;borde…')
 
Line 1: Line 1:
 
{| style="float: right; clear: both; width: 25em; margin-left: 10px; margin-top: 5px; border: black solid 2px; background:#{{{textbgcolor|FFFFFF}}};-moz-border-radius: 10px;border-radius: 10px"
 
{| style="float: right; clear: both; width: 25em; margin-left: 10px; margin-top: 5px; border: black solid 2px; background:#{{{textbgcolor|FFFFFF}}};-moz-border-radius: 10px;border-radius: 10px"
 
|-
 
|-
| colspan="2" style="color:#{{{Headtext|000000}}};background:#{{{Headcolor|A6A6A6}}};font-size: 120%; text-align: center;-moz-border-radius-topright: 10px;border-top-right-radius: 10px;-moz-border-radius-topleft: 10px;border-top-left-radius: 10px" | '''{{{header}}}'''
+
| colspan="2" style="color:#{{{Headtext|000000}}};background:#{{{Headcolor|A6A6A6}}};font-size: 120%; text-align: center;-moz-border-radius-topright: 7px;border-top-right-radius: 7px;-moz-border-radius-topleft: 7px;border-top-left-radius: 7px" | '''{{{title}}}'''
 
|-
 
|-
  

Revision as of 20:05, 28 September 2010

Scope

This template used in conjunction with Template:BoxEnd to add additional boxes to the right hand side of the character page underneath the character info boxes. They will be constrained to the width of the character info box itself. Only include the colors for the appropriate section if you do not wish to use the default colors. See the usage section below for an example on how to use the code.

Code

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

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

With some custom colors

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

Variants
Actions
Navigation
Wiki Tools
Toolbox