Template:Collapse top/TemplateData

From LIMSWiki
< Template:Collapse top
Revision as of 17:07, 10 March 2020 by Shawndouglas (talk | contribs) (Created as needed.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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.

Template parameters

ParameterDescriptionTypeStatus
Title1 title heading header reason result

Main title of collapsed box

Unknownrequired
Custom warning line2

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

Stringoptional
indentindent

Indents the box from the left of the page

Unknownoptional
expandexpand collapse

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

Stringoptional
Border width (px)border

Sets the width of the border line on the collapsed material

Default
1px
Unknownoptional
Border colorb-color

Sets the border color

Default
Silver
Unknownoptional
Template width (px or %)width

Sets the width of the overall template

Unknownoptional
Collapsed material background colorbg

Sets the background color of the collapsed material

Default
#CFC
Unknownoptional
Alight along the left margin (true or blank)left

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

Stringoptional
Title font colorfc

Sets the font color of the title of the collapsible bar

Default
Black
Unknownoptional
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."

Unknownoptional
Expanded box border size & colorborder2

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

Default
1px silver
Unknownoptional
Padding (px)padding

Sets the padding on the collapsed material in the colored area

Default
8px
Unknownoptional
Expanded box colorbg2

Sets background of the box that appears when template is expanded

Default
white
Unknownoptional