Template:Collapse top/TemplateData: Difference between revisions
meta>Jdaloner m "{{TemplateDataHeader}}" --> "{{TemplateData header}}" |
m 8 revisions imported |
||
(One intermediate revision by one other user not shown) | |||
Line 31: | Line 31: | ||
"expand": { | "expand": { | ||
"aliases": [ | "aliases": [ | ||
" | "collapse" | ||
], "description": "Using expand=yes or collapse=no will leave the material uncollapsed with the border and coloring", | ], "description": "Using expand=yes or collapse=no will leave the material uncollapsed with the border and coloring", | ||
"example": "true", | "example": "true", |
Latest revision as of 01:01, 3 September 2020
TemplateData
TemplateData for Collapse top
Use in conjunction with {{Collapse bottom}}. Will collapse text in between the two templates.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Title | 1 title heading header reason result | Main title of collapsed box
| Unknown | required |
Custom warning line | 2 | Will override the standard warning line, and make the 'warning' parameter unnecessary
| String | optional |
indent | indent | Indents the box from the left of the page
| Unknown | optional |
expand | expand collapse | Using expand=yes or collapse=no will leave the material uncollapsed with the border and coloring
| String | optional |
Border width (px) | border | Sets the width of the border line on the collapsed material
| Unknown | optional |
Border color | b-color | Sets the border color
| Unknown | optional |
Template width (px or %) | width | Sets the width of the overall template
| Unknown | optional |
Collapsed material background color | bg | Sets the background color of the collapsed material
| Unknown | optional |
Alight along the left margin (true or blank) | left | Will align the 'parameter 1 title' along the left margin
| String | optional |
Title font color | fc | Sets the font color of the title of the collapsible bar
| Unknown | optional |
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."
| Unknown | optional |
Expanded box border size & color | border2 | Sets the border of the box that appears when template is expanded
| Unknown | optional |
Padding (px) | padding | Sets the padding on the collapsed material in the colored area
| Unknown | optional |
Expanded box color | bg2 | Sets background of the box that appears when template is expanded
| Unknown | optional |