Шаблон:Collapse top/TemplateData

Википедиесь лопаста

TemplateData[Петнемс кяшф валть]

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Collapse top

Use in conjunction with {{Collapse bottom}}. Will collapse text in between the two templates.

Параметры шаблона[Править данные шаблона]

ПараметрОписаниеТипСтатус
Title1 title heading header reason result

Main title of collapsed box

Пример
This is the title text
Неизвестнообязательный
Custom warning line2

Will override the standard warning line, and make the 'warning' parameter unnecessary

Пример
This is a custom warning line
Строковый (без форматирования)необязательный
indentindent

Indents the box from the left of the page

Автозначение
0px
Неизвестнонеобязательный
expandexpand collapse

Using expand=yes or collapse=no will leave the material uncollapsed with the border and coloring

Пример
true
Автозначение
Строковый (без форматирования)необязательный
Border width (px)border

Sets the width of the border line on the collapsed material

По умолчанию
1px
Пример
2px
Автозначение
Неизвестнонеобязательный
Border colorb-color

Sets the border color

По умолчанию
Silver
Пример
#F0F2F5
Неизвестнонеобязательный
Template width (px or %)width

Sets the width of the overall template

Пример
50%
Неизвестнонеобязательный
Collapsed material background colorbg

Sets the background color of the collapsed material

По умолчанию
#CFC
Пример
#F0F2F5
Неизвестнонеобязательный
Alight along the left margin (true or blank)left

Will align the 'parameter 1 title' along the left margin

Пример
true
Строковый (без форматирования)необязательный
Title font colorfc

Sets the font color of the title of the collapsible bar

По умолчанию
Black
Пример
#F0F2F5
Неизвестнонеобязательный
Warning (true or blank)warning

Will display a default warning line under the main title which reads "The following is a closed debate. Please do not modify it."

Пример
true
Неизвестнонеобязательный
Expanded box border size & colorborder2

Sets the border of the box that appears when template is expanded

По умолчанию
1px silver
Пример
2px
Неизвестнонеобязательный
Padding (px)padding

Sets the padding on the collapsed material in the colored area

По умолчанию
8px
Пример
16px
Неизвестнонеобязательный
Expanded box colorbg2

Sets background of the box that appears when template is expanded

По умолчанию
white
Пример
#F0F2F5
Неизвестнонеобязательный