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 (Major Formatting Changes) |
||
Line 1: | Line 1: | ||
− | + | <div style="float:right; clear:{{{clear|right}}}; margin-bottom:.5em; padding:.5em 0 .8em 1.4em; background:transparent; max-width:20em;">__TOC__</div><noinclude> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
This template shows a right-aligned ''table of contents''. | This template shows a right-aligned ''table of contents''. |
Latest revision as of 01:45, 4 June 2020
This template shows a right-aligned table of contents.
Usage[edit]
{{TOCright}}
Parameters (optional)[edit]
- 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.