Difference between revisions of "Template:Showhide box"

From Basin Wiki
Jump to navigation Jump to search
(Created page with '<div class="NavFrame"> <div class="NavHead" align=left>{{{header}}}</div> <div class="NavContent" align=left> {{{content}}} </div></div> <noinclude> ==Usage== <pre> {{showhide bo...')
 
(No difference)

Latest revision as of 03:43, 30 April 2009

Usage

{{showhide box|header=|content=}}

You need to include width=, header=, and content=. Just fill in the information after the = signs. Header is what will be in the "always show" part of the box. Content will be the part that will have a button to be hidden. Width, header, and content are capitalisation senstive and must be all lowercase.

Additionally, you can SUBST: this template so you can add style parameters afterwards. This is more advanced, and will clutter up a page with many SUBST:'d boxes quickly with code.