Difference between revisions of "Template:TOC float"
m (forgot) |
|||
Line 1: | Line 1: | ||
{| cellspacing="0" cellpadding="0" style="{{#switch:{{{1|}}} | {| cellspacing="0" cellpadding="0" style="{{#switch:{{{1|}}} | ||
− | | left = clear: {{{clear|left}}}; float: left; padding: .5em 1.4em .8em 0; | + | | left = clear: {{{clear|left}}}; float: left; padding: .5em 1.4em .8em 0; |
| right | | right | ||
| #default = clear: {{{clear|right}}}; float: right; padding: .5em 0 .8em 1.4em; | | #default = clear: {{{clear|right}}}; float: right; padding: .5em 0 .8em 1.4em; | ||
− | }} background: none; width:{{{width|auto}}};" | + | }} background: none; width:{{{width|auto}}}; margin-bottom: .5em;" |
− | | __TOC__ | + | | __TOC__ |
|}<noinclude> | |}<noinclude> | ||
* {{tlx|TOC float|left}} to float the Table of Contents on the left side of the page. | * {{tlx|TOC float|left}} to float the Table of Contents on the left side of the page. | ||
* {{tlx|TOC float|right}} for the right [default]. | * {{tlx|TOC float|right}} for the right [default]. | ||
* Other parameters: | * Other parameters: | ||
− | |||
** ''clear = right'', ''left'' – defines which side of the page to "clear". | ** ''clear = right'', ''left'' – defines which side of the page to "clear". | ||
** ''width = auto'' [default] – define a custom width. | ** ''width = auto'' [default] – define a custom width. | ||
[[Category:Templates|TOC float]] | [[Category:Templates|TOC float]] | ||
</noinclude> | </noinclude> |