49
edits
(This revision and previous are available under: CC BY-SA 3.0. See list of authors in previous history below.) |
mNo edit summary |
||
| Line 2: | Line 2: | ||
;Usage | ;Usage | ||
* clear - ''Optional'' CSS 'clear' setting for the outer float container. Default is 'right'. | |||
* width - ''Optional'' outer box width (especially good for crazy long section names). Default is 'inherit'. | |||
; | ;Examples | ||
<nowiki>{{tocright}}</nowiki> - floats TOC to right side and clears right | |||
<nowiki>{{tocright|width=30%}}</nowiki> - floats TOC to right side, clears right, and restricts TOC max-width to 30% of content width | |||
[[Category:General wiki templates|{{PAGENAME}} | |||
[[Category:General wiki templates|{{PAGENAME}}]] | |||
---- | ---- | ||