Template:Collapse top/doc: Difference between revisions
Jump to navigation
Jump to search
no edit summary
(+ja) |
w:en>Uzma Gamal No edit summary |
||
Line 25: | Line 25: | ||
;''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. | ||
;'bg': Sets the background color of the collapsed material. Defaults to #CFC - a pleasant green. | ;'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. | ||
;'b-color': Sets the border color. defaults to silver. | ;'b-color': Sets the border color. defaults to silver. | ||
;'padding': Sets the padding on the collapsed material in the colored area. defaults to 8 px | ;'padding': Sets the padding on the collapsed material in the colored area. defaults to 8 px | ||
;'width': Sets the width of the overall template | ;'width': Sets the width of the overall template. Use <code>|width=700px</code>, not <code>|Width=200px</code> (Upper case "W" doesn't work) or <code>|width=200</code> (omits "px" and doesn't work). | ||
;'border2': Sets the border of the box that appears when template is expanded; defaults to "1px silver" (no provision to change from a solid line) | ;'border2': Sets the border of the box that appears when template is expanded; defaults to "1px silver" (no provision to change from a solid line) | ||
;'bg2': Sets background of the box that appears when template is expanded; defaults to white. | ;'bg2': Sets background of the box that appears when template is expanded; defaults to white. |