Строка 1: | Строка 1: | ||
− | <div class="mw- |
+ | <div class="mw-customtoggle-{{{2|CollapsibleB}}}" style="cursor:pointer; position:relative; width:{{{width|100}}}%; background: #332f24; display:inline-block; padding:0px 0px; line-height:28px; color:#dfcf99; font-size:16px; font-weight:bold"><div align="{{{align|center}}}"> {{{1|<noinclude>Развернуть содержимое</noinclude>}}} <span style="position:absolute;left:5px;">▾</span> |
+ | <span style="position:absolute;right:5px;"><span style="font-size:14px;font-weight:400">[Развернуть]</span> ▾</span></div></div> |
||
+ | <div id="mw-customcollapsible-{{{2|CollapsibleB}}}" class="mw-collapsible {{#if:{{{expand|}}}||mw-collapsed}}" style="display:flow-root;"> |
||
+ | <div class="mw-collapsible-content" style="border: 1px solid #332f24; padding:{{{padding-content|0 1em}}}; background:{{{bg-content|transparent}}}; text-align:left; box-sizing:content-box;"> |
||
+ | <noinclude> |
||
Lorem ipsum |
Lorem ipsum |
||
{{collapse bottom}} |
{{collapse bottom}} |
Текущая версия на 07:38, 7 февраля 2021
Развернуть содержимое ▾
[Развернуть] ▾
Lorem ipsum
Сокращения
- {{Cot}}
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.
Usage
Place {{collapse top}}
(or {{cot}}
), and {{collapse bottom}}
(or {{cob}}
), around the text to be collapsed. For example:
{{collapse top|This is the title text|OptionalIDToMakeThatEachColapsibleCollapseAndExpandSeparately}} Sample contents text {{collapse bottom}}
produces:
This is the title text ▾
[Развернуть] ▾
Sample contents text
Вышеприведенная документация извлекается из Шаблон:Collapse top/doc.
Редакторы могут экспериментировать в sandbox этого шаблона и в testcases страницах.
Пожалуйста, добавьте категории и интервики на подстраницу /doc. Подстраницы этого шаблона.
Редакторы могут экспериментировать в sandbox этого шаблона и в testcases страницах.
Пожалуйста, добавьте категории и интервики на подстраницу /doc. Подстраницы этого шаблона.