Difference between revisions of "Template:BoxEndCollapsible"

From Persona MUSH Wiki
Jump to: navigation, search
(Ready for use.)
(Ditto)
Line 4: Line 4:
 
Ignore the crap below, it's raw template code.
 
Ignore the crap below, it's raw template code.
 
</noinclude>
 
</noinclude>
 +
<includeonly>
 
</div>
 
</div>
 
|-
 
|-
 
| class="{{{class}}}; mw-customtoggle-{{{id}}}" style="{{{style}}}; color:#{{{headtext|000000}}};background:#{{{headcolor|A6A6A6}}};font-size: 120%; text-align: center;width: 1500pt;-moz-border-radius-bottomright: 7px;border-bottom-right-radius: 7px;-moz-border-radius-bottomleft: 7px;border-bottom-left-radius: 7px" | ↕
 
| class="{{{class}}}; mw-customtoggle-{{{id}}}" style="{{{style}}}; color:#{{{headtext|000000}}};background:#{{{headcolor|A6A6A6}}};font-size: 120%; text-align: center;width: 1500pt;-moz-border-radius-bottomright: 7px;border-bottom-right-radius: 7px;-moz-border-radius-bottomleft: 7px;border-bottom-left-radius: 7px" | ↕
 
|}
 
|}
 +
</includeonly>

Revision as of 05:59, 16 July 2012

Scope

This template ends the table used to create the layout boxes in both Template:RightBSCollapsible and Template:LeftBSCollapsible. Because it is fueled by your tears, it's not enough to just put {{BoxEndCollapsible}} at the end of your box. You have to give it the same "id" you used to start the box, and the same colors unless you're making a Yosuke-esque fashion statement.


Code

{{BoxEndCollapsible
|id = A unique ID for this box that does not contain a space. It can be the same as the title if it has no space. The same ID must be used for the {{BoxEndCollapsible}} that terminates this template.
|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). 
}}

Usage

Refer to Template:RightBSCollapsible or Template:LeftBSCollapsible.

Ignore the crap below, it's raw template code.


Personal tools
Namespaces

Variants
Actions
Navigation
Wiki Tools
Toolbox