Аматериал Авикипедиа а?ынт? - зхы иа??и?у аенциклопедиа
The
{{
collapse top
}}
template (or
{{
cot
}}
), and its paired template
{{
collapse bottom
}}
(or
{{
cob
}}
), are used for placing a collapse box around a talk page discussion, especially when the content contains complex wikimarkup such as tables. For very simple content, the one-piece template
{{
collapse
}}
can be used instead.
![](//upload.wikimedia.org/wikipedia/commons/thumb/b/b4/Ambox_important.svg/40px-Ambox_important.svg.png) | These templates don't work properly when you are using the 2021 Reply Tool (
WP:REPLYTOOL
). Specifically, any text after the collapsible box disappears. This is because the Reply Tool inserts indentation colons (
:
) to each line of your response, and
{{
collapse bottom
}}
needs to be placed on its own line, with no characters preceding it on that line. One simple workaround: post your reply anyway, then edit your post to remove the erring colon, and the template will start to work.
|
Ашаблон:Collapse Templates
These templates should only be used in accordance with the
Wikipedia:Refactoring
guideline; they should never be used to end a discussion over the objections of other editors, except in cases of unambiguous disruptive editing.
Do not hide content in articles. This violates the
Ашаблон:Collapse top/doc § Notes
and
Wikipedia:Accessibility
guidelines.
Place
{{
collapse top
}}
(or
{{
cot
}}
), and
{{
collapse bottom
}}
(or
{{
cob
}}
), around the text to be collapsed. For example:
{{collapse top|title=This is the title text}}
Sample contents text
{{collapse bottom}}
produces:
This is the title text
|
Sample contents text
|
{{
collapse bottom
}}
should always be placed on its own line. Do not place any characters before the template on this line. (This means that if you use the
Reply Tool
, you need to remember to manually remove the colon (
:
) or colons it inserts at the start of each line to maintain proper indentation after replying)