Revision as of 03:30, 24 August 2009 editRockMFR (talk | contribs)Extended confirmed users28,801 edits +Category:Collapse templates← Previous edit | Revision as of 12:35, 7 June 2010 edit undoXeno (talk | contribs)Autopatrolled, Bureaucrats, Administrators103,386 edits →Usage: add warning regarding using this template to close discussionsNext edit → | ||
Line 37: | Line 37: | ||
This section is shown by default. | This section is shown by default. | ||
{{divhide|end}} | {{divhide|end}} | ||
;Note on using this template to close discussions | |||
This template should typically not be used to close discussions as {{tl|hat}} is available for this purpose; but if it is, it '''should only be used by uninvolved editors or administrators''' in conjunction with the ] and relevant advice at ]. It should not be used by involved parties to to end a discussion over the objections of other editors. | |||
=== See also === | === See also === |
Revision as of 12:35, 7 June 2010
This is a documentation subpage for Template:Divhide. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
This template will allow you to collapse a section of a page. The first parameter is the title of the collapse section, and the second (optional parameter) is the width. To close the section, use {{divhide|end}}.
- Examples
{{divhide|Test}} These are the hidden contents. {{divhide|end}}Test
These are the hidden contents.
{{divhide|Half test|50%}} These are the hidden contents, and the box only takes up 50% of the page. {{divhide|end}}Half Test
These are the hidden contents, and the box only takes up 50% of the page.
You may also use the parameter "show=yes" to show the contents by default.
{{divhide|Show and test|show=yes}} This section is shown by default. {{divhide|end}}Show and test
This section is shown by default.
- Note on using this template to close discussions
This template should typically not be used to close discussions as {{hat}} is available for this purpose; but if it is, it should only be used by uninvolved editors or administrators in conjunction with the talk page guidelines and relevant advice at refactoring. It should not be used by involved parties to to end a discussion over the objections of other editors.
See also
- {{Divbox}} - allows you to create coloured text background