From WikiChip
Difference between revisions of "Template:Box"

(Created page with "<includeonly><div class="mw-collapsible mw-collapsed" style="width:100%; border: solid 1px black;"> <div style="border: none; text-align:center; background: #ccf; color: black...")
 
Line 1: Line 1:
 
<includeonly><div class="mw-collapsible mw-collapsed" style="width:100%; border: solid 1px black;">
 
<includeonly><div class="mw-collapsible mw-collapsed" style="width:100%; border: solid 1px black;">
 
<div style="border: none; text-align:center; background: #ccf; color: black; font-weight: bold;">{{{header}}}</div>
 
<div style="border: none; text-align:center; background: #ccf; color: black; font-weight: bold;">{{{header}}}</div>
<div class="mw-collapsible-content">{{{body}}}</div>
+
<div class="mw-collapsible-content" style="background: #F9F9F9;">{{{body}}}</div>
 
</div></includeonly><noinclude>{{Box/Doc}}
 
</div></includeonly><noinclude>{{Box/Doc}}
 
</noinclude><noinclude>[[Category:templates]]</noinclude>
 
</noinclude><noinclude>[[Category:templates]]</noinclude>

Revision as of 19:44, 26 June 2014

Template documentation


A template to create box.

Usage

{{Box
|collapsed    = true/false
|header       = header name
|body         = content
}}

Example

{{Box
|header       = {{Navbar|mini=1|Example|style=padding-left: 10px;float:left;}} Example
|body         = This is the content
}}
{{Box
|collapsed    = false
|header       = {{Navbar|mini=1|Example|style=padding-left: 10px;float:left;}} Example
|body         = This is the content
}}
v · d · e Example
This is the content


v · d · e Example
This is the content