|
|
| Line 1: |
Line 1: |
| {| cellspacing="0" cellpadding="0" style="clear:{{{clear|right}}}; margin-bottom:0.5em; float:right; padding:0.5em 0 0.8em 1.4em; background:none; width:{{{width|{{{1|auto}}}}}};"
| | #REDIRECT: [[Template:Tocright]] |
| | __TOC__
| |
| |}
| |
| <noinclude>
| |
| | |
| ==Description==
| |
| This template shows a right-aligned ''table of contents''. This '''replaces''' the use of <nowiki>__TOC__</nowiki> in the article.
| |
| | |
| ==Syntax==
| |
| <pre>
| |
| {{TOCright}}
| |
| </pre>
| |
| | |
| ==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.
| |
| | |
| [[Category:Formatting templates|TOCright]] | |
| </noinclude>
| |