From WikiChip
Difference between revisions of "Template:Box"
m (top margin) |
|||
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="margin-top:15px; 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" style="background: #F9F9F9;">{{{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 18:33, 5 July 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 }} |
Example This is the content
Example This is the content
|