Template:Collapse top/TemplateData: Difference between revisions
meta>Primefac TFD closed as keep (XFDcloser) |
m 8 revisions imported |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
==TemplateData== | ==TemplateData== | ||
{{ | {{TemplateData header}} | ||
<templatedata> | <templatedata> | ||
{ | { | ||
Line 7: | Line 7: | ||
"1": { | "1": { | ||
"aliases": [ | "aliases": [ | ||
"title" | "title", | ||
"heading", | |||
"header", | |||
"reason", | |||
"result" | |||
], | ], | ||
"label": "Title", | "label": "Title", | ||
Line 26: | Line 30: | ||
}, | }, | ||
"expand": { | "expand": { | ||
"description": " | "aliases": [ | ||
"collapse" | |||
], "description": "Using expand=yes or collapse=no will leave the material uncollapsed with the border and coloring", | |||
"example": "true", | "example": "true", | ||
"type": "string", | "type": "string", |
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 |