This template will allow you to collapse a section of a page. It may only be used outside of articlespace. The first parameter is the title of the collapse sect
| 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. |
This template will allow you to collapse a section of a page. It may only be used outside of articlespace. 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}}.
The first unnamed parameter is used at the top for the title and at the bottom to mark the end of the hidden section.
{{divhide|Test}}
These are the hidden contents.
{{divhide|end}}
These are the hidden contents.
The second unnamed parameter is used to specify the width.
{{divhide|Half test|50%}}
These are the hidden contents, and the box only takes up 50% of the page.
{{divhide|end}}
These are the hidden contents, and the box only takes up 50% of the page.
The width parameter may be used to specify the width.
{{divhide|Width test|width=75%}}
These are the hidden contents, and the box only takes up 75% of the page.
{{divhide|end}}
These are the hidden contents, and the box only takes up 75% of the page.
The parameter |show=yes may be used to show the contents by default.
{{divhide|Show test|show=yes}}
This section is shown by default.
{{divhide|end}}
This section is shown by default.
The color parameter may be used to specify the background color.
{{divhide|Color test|color=#90EE90}}
The header of this section has different background color.
{{divhide|end}}
The header of this section has different background color.
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 end a discussion over the objections of other editors.
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.