Difference between revisions of "Template:NPC Activity Box/doc"

From Persona MUSH Wiki
Jump to: navigation, search
(Created page with "Barely modified version of Template:LeftBS. Please use Template:BoxEnd at the end or it won't work! == Code == <pre> {{LeftBS |maintext = This is the color of the box...")
 
m
Line 3: Line 3:
 
== Code ==
 
== Code ==
 
<pre>
 
<pre>
{{LeftBS
+
{{NPC Activity Box
 
|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).  
 
|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).  
Line 15: Line 15:
 
With all default colors
 
With all default colors
 
<pre>
 
<pre>
{{LeftBS
+
{{NPC Activity Box
 
|title=Example
 
|title=Example
 
}}
 
}}
Line 24: Line 24:
 
With some custom colors
 
With some custom colors
 
<pre>
 
<pre>
{{LeftBS
+
{{NPC Activity Box
 
|bgcolor = FCDDDD  
 
|bgcolor = FCDDDD  
 
|title=Example
 
|title=Example

Revision as of 04:42, 1 January 2014

Barely modified version of Template:LeftBS. Please use Template:BoxEnd at the end or it won't work!

Code

{{NPC Activity Box
|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

{{NPC Activity Box
|title=Example
}}
| Content Here
{{BoxEnd}}

With some custom colors

{{NPC Activity Box
|bgcolor = FCDDDD 
|title=Example
}}
| Content Here
{{BoxEnd}}
Personal tools
Namespaces

Variants
Actions
Navigation
Wiki Tools
Toolbox