Template:Collapse top/doc: Difference between revisions
→Parameters: note indent
w:en>Razghandi mNo edit summary |
w:en>FT2 (→Parameters: note indent) |
||
Line 32: | Line 32: | ||
;'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. | ||
;'indent': indents the box from the left of the page. Use: <tt>"| indent=50px"</tt> not <tt>"| Indent=50px"</tt> (Upper case "I" doesn't work). Defaults to "do not indent" (ie, 0px). Each ":" in wiki-markup is approximately equivalent to 25px indent. | |||
If an entire section is being archived, remove the section header and add it as the first parameter of the template. This keeps the section header from showing in the TOC. | If an entire section is being archived, remove the section header and add it as the first parameter of the template. This keeps the section header from showing in the TOC. |