From WikiChip
Difference between revisions of "Template:Box/Doc"
< Template:Box

(Created page with "{{Template doc |description = A template to create box. |usage = <nowiki>{{Box |header = header name |body = content }}</nowiki> |example = <...")
 
 
Line 2: Line 2:
 
|description    = A template to create box.
 
|description    = A template to create box.
 
|usage          = <nowiki>{{Box
 
|usage          = <nowiki>{{Box
 +
|collapsed    = true/false
 
|header      = header name
 
|header      = header name
 
|body        = content
 
|body        = content
Line 8: Line 9:
 
<pre>
 
<pre>
 
{{Box
 
{{Box
 +
|header      = {{Navbar|mini=1|Example|style=padding-left: 10px;float:left;}} Example
 +
|body        = This is the content
 +
}}
 +
</pre>
 +
 +
<pre>
 +
{{Box
 +
|collapsed    = false
 
|header      = {{Navbar|mini=1|Example|style=padding-left: 10px;float:left;}} Example
 
|header      = {{Navbar|mini=1|Example|style=padding-left: 10px;float:left;}} Example
 
|body        = This is the content
 
|body        = This is the content
Line 14: Line 23:
 
|example2    =
 
|example2    =
 
{{Box
 
{{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
 
|header      = {{Navbar|mini=1|Example|style=padding-left: 10px;float:left;}} Example
 
|body        = This is the content
 
|body        = This is the content
 
}}
 
}}
 
}}
 
}}

Latest revision as of 21:26, 23 July 2014

Template documentation


A template to create box.

Usage[edit]

{{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