Difference between revisions of "Template:RightBS/doc"

From Persona MUSH Wiki
Jump to: navigation, search
(Created page with '== 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. …')
 
 
(One intermediate revision by one user not shown)
Line 5: Line 5:
 
<pre>
 
<pre>
 
{{RightBS
 
{{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).  
 
|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).  
 
|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).  
 
|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).  
|header=
+
|title=
 
}}
 
}}
 
</pre>
 
</pre>
Line 16: Line 17:
 
<pre>
 
<pre>
 
{{RightBS
 
{{RightBS
|header=Example
+
|title=Example
 
}}
 
}}
 
| Content Here
 
| Content Here
Line 26: Line 27:
 
{{RightBS
 
{{RightBS
 
|bgcolor = FCDDDD  
 
|bgcolor = FCDDDD  
|header=Example
+
|title=Example
 
}}
 
}}
 
| Content Here
 
| Content Here
 
{{BoxEnd}}
 
{{BoxEnd}}
 
</pre>
 
</pre>

Latest revision as of 22:46, 12 December 2011

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

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

[edit] Usage

With all default colors

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

With some custom colors

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

Variants
Actions
Navigation
Wiki Tools
Toolbox