![]() |
VOOZH | about |
Creates a box with a header that is, by default, grass. It can also be simplified and be made collapsible.
This template uses styling from the main page.
| Parameter | Function |
|---|---|
|type= |
One of the following:
|
|1= |
The text in the header. If this parameter is continue, it closes a previously opened box without closing the wrapper. If this parameter is close, it closes both the final box and the wrapper.
|
|2= |
If this parameter is continue, it adds the box without adding another wrapper. With content, if this parameter is open/close, it opens/closes the beginning/end of the wrapper.
|
|wrapperstyle= |
Adds styling to the wrapper around the box |
|boxclass= |
Set the class of the box |
|boxstyle= |
Adds styling to the box |
|header= |
Alternative for |1= (deprecated)
|
|headertag= |
Change the header tag to something other than h2. Only works for simple and collapsible.
|
|headerstyle= |
Adds styling to the header |
|line= |
Adds a line below the header. Only works for simple and collapsible
|
|collapsed= |
Whether the box is already collapsed. Only works for collapsible
|
|content= |
The content in the cell. If this is specified, the box does not need to be closed. |
|contentclass= |
Adds a class to the content |
|contentstyle= |
Adds styling to the content |
{{grass header|Example grass header}} This text is always visible. {{grass header|close}}
Example grass header
This text is always visible.
{{grass header|type=collapsible|Collapsible box with header|line=1|headertag=h3}} This text can be collapsed {{grass header|close}}
This text can be collapsed
{{grass header|type=simple|Header box with content|content=This is one single template call}}