User:Xenocidic/UX/hide
From PinataIsland.info, the Viva Piñata wiki
< User:Xenocidic | UX
Revision as of 17:43, 22 August 2008 by Xenocidic (talk | contribs) (document source http://en.wikipedia.org/w/index.php?title=Template:Divhide/doc&oldid=224148564 by User:Xenocidic)
Usage
This template will allow you to collapse a section of a page. The first paramater is the title of the collapse section, and the second (optional paramater) is the width. To close the section, use {{divhide|end}}.
- Examples
{{divhide|Test}} This is the hidden contents. {{divhide|end}}
Template:Divhide This is the hidden contents. Template:Divhide
{{divhide|Half test|50%}} This is the hidden contents and only takes up 50% of the page. {{divhide|end}}
Template:Divhide This is the hidden contents and only takes up 50% of the page. Template:Divhide
You may also use the paramater "show=yes" to show the contents by default.
{{divhide|Show and test|show=yes}} This section is shown by default. {{divhide|end}}
Template:Divhide This section is shown by default. Template:Divhide