Plantilla:Collapse top/TemplateData

Desde Chavacano de Zamboanga Wikipedia - El Libre Enciclopedia

TemplateData[revisa codigo]

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.

Parámetros de la plantilla[Editar los datos de la plantilla]

ParámetroDescripciónTipoEstado
Title1 title heading header reason result

Main title of collapsed box

Ejemplo
This is the title text
Desconocidoobligatorio
Custom warning line2

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

Ejemplo
This is a custom warning line
Cadenaopcional
indentindent

Indents the box from the left of the page

Valor automático
0px
Desconocidoopcional
expandexpand collapse

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

Ejemplo
true
Valor automático
Cadenaopcional
Border width (px)border

Sets the width of the border line on the collapsed material

Predeterminado
1px
Ejemplo
2px
Valor automático
Desconocidoopcional
Border colorb-color

Sets the border color

Predeterminado
Silver
Ejemplo
#F0F2F5
Desconocidoopcional
Template width (px or %)width

Sets the width of the overall template

Ejemplo
50%
Desconocidoopcional
Collapsed material background colorbg

Sets the background color of the collapsed material

Predeterminado
#CFC
Ejemplo
#F0F2F5
Desconocidoopcional
Alight along the left margin (true or blank)left

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

Ejemplo
true
Cadenaopcional
Title font colorfc

Sets the font color of the title of the collapsible bar

Predeterminado
Black
Ejemplo
#F0F2F5
Desconocidoopcional
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."

Ejemplo
true
Desconocidoopcional
Expanded box border size & colorborder2

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

Predeterminado
1px silver
Ejemplo
2px
Desconocidoopcional
Padding (px)padding

Sets the padding on the collapsed material in the colored area

Predeterminado
8px
Ejemplo
16px
Desconocidoopcional
Expanded box colorbg2

Sets background of the box that appears when template is expanded

Predeterminado
white
Ejemplo
#F0F2F5
Desconocidoopcional