Template:Collapse top/doc: Difference between revisions

Jump to navigation Jump to search
it appears that only empty works here
w:en>Twilsonb
(it appears that only empty works here)
w:en>Twilsonb
(it appears that only empty works here)
Line 24: Line 24:
;warning: If this parameter evaluates to true (i.e. is not empty) it will display a default warning line under the main title which reads 'The following is an archived debate. <span style="color:red;">'''Please do not modify it.'''</span>'
;warning: If this parameter evaluates to true (i.e. is not empty) it will display a default warning line under the main title which reads 'The following is an archived debate. <span style="color:red;">'''Please do not modify it.'''</span>'
;''positional parameter 2'': This is optional warning-line text. It will override the standard warning line above, and obviate the need for setting the 'warning' parameter.
;''positional parameter 2'': This is optional warning-line text. It will override the standard warning line above, and obviate the need for setting the 'warning' parameter.
;'expand': If this parameter evaluates to true (i.e. is not 0, false, or empty) it will leave the material uncollapsed with the border and coloring. Default is to collapse the material.
;'expand': If this parameter evaluates to true (i.e. is not empty) it will leave the material uncollapsed with the border and coloring. Default is to collapse the material.
;'bg': Sets the background color of the collapsed material. Defaults to #CFC - a pleasant green. Other colors available from [[List of colors]].
;'bg': Sets the background color of the collapsed material. Defaults to #CFC - a pleasant green. Other colors available from [[List of colors]].
;'border': Sets the width of the border line on the collapsed material. defaults to 1px.
;'border': Sets the width of the border line on the collapsed material. defaults to 1px.
Anonymous user

Navigation menu