Template:TOCright

Revision as of 13:56, 18 April 2017 by Czokalapik (talk | contribs) (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}...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Revision as of 13:56, 18 April 2017 by Czokalapik (talk | contribs) (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}...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


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.