Changes

Jump to: navigation, search

Template:TOCright

766 bytes added, 11:44, 26 October 2014
TOC floated to the right (similar to Wikipedia and Guild Wars wiki usage).
{| 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}}}}}};"
| __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>
2,804
edits

Navigation menu