Template:Collapse top/doc: Difference between revisions
it appears that only empty works here
w:en>Innerche No edit summary |
w:en>Twilsonb (it appears that only empty works here) |
||
Line 22: | Line 22: | ||
;''positional parameter 1'', named parameter 'title': These parameters give the main title of collapsed box, which occurs on the same line as the ''show'' link and is always visible. It defaults to 'Extended content'. | ;''positional parameter 1'', named parameter 'title': These parameters give the main title of collapsed box, which occurs on the same line as the ''show'' link and is always visible. It defaults to 'Extended content'. | ||
;warning: If this parameter evaluates to true (i.e. is not | ;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 0, false, or empty) it will leave the material uncollapsed with the border and coloring. Default is to collapse the material. |