Шаблон:Collapse top/TemplateData

от Уикипедия, свободната енциклопедия

TemplateData[редактиране на кода]

This is the TemplateData documentation for this template used by VisualEditor and other tools.

See the monthly error report for this template.

TemplateData for Collapse top

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

Параметри на шаблона[Редактиране данните на шаблона]

ПараметърОписаниеТипСтатут
Title1 title

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

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
Неизвестеннезадължителен