Difference between revisions of "Template:TOCright"
Jump to navigation
Jump to search
(Created page with "{| cellspacing="0" cellpadding="0" style="clear: {{{clear|right}}}; margin-bottom: .5em; float: right; padding: .5em 0 .8em 1.4em; background: none; width: {{{width|{{{1|auto}...") |
m |
||
Line 1: | Line 1: | ||
{| cellspacing="0" cellpadding="0" style="clear: {{{clear|right}}}; margin-bottom: .5em; float: right; padding: .5em 0 .8em 1.4em; background: none; width: {{{width|{{{1|auto}}}}}};" | {| cellspacing="0" cellpadding="0" style="clear: {{{clear|right}}}; margin-bottom: .5em; float: right; padding: .5em 0 .8em 1.4em; background: none; width: {{{width|{{{1|auto}}}}}};" class="toclimit-{{{1|3}}}" | ||
| __TOC__ | | __TOC__ | ||
|} | |} |
Revision as of 18:10, 16 July 2017
This template shows a right-aligned table of contents.
Usage
{{TOCright}}
Parameters (optional)
- clear
- Sets the CSS clear property, which forces this float underneath the side specified with this attribute. So, clear=right (which is the default) will place the element after all the right floating elements before it. Options are left, right, both, or none.
- width
- Set the CSS width.
- fix=y
- Created a fixed width invisible table, used to solve vertical spacing issues when using this template on pages that contain tables.