साँचा:Divhide/doc

मुक्त ज्ञानकोश विकिपीडिया से
नेविगेशन पर जाएँ खोज पर जाएँ

{{

 साँचा:namespace detect

| type = notice | image = | imageright = | class = | style = margin-bottom:1.0em; | textstyle = | text = साँचा:strong for साँचा:terminate sentence
It contains usage information, categories and other content that is not part of the original साँचा page. | small = | smallimage = | smallimageright = | smalltext = | subst = | date = | name = }}

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

साँचा:divhide These are the hidden contents. साँचा:divhide

{{divhide|Half test|50%}}
These are the hidden contents, and the box only takes up 50% of the page.
{{divhide|end}}

साँचा:divhide These are the hidden contents, and the box only takes up 50% of the page. साँचा:divhide

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

साँचा:divhide This section is shown by default. साँचा:divhide


Note on using this template to close discussions

This template should typically not be used to close discussions as साँचा:tl 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.

See also