Template:Tocright/doc: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Created page with "<div style="float: right; clear: {{{clear|right}}}; margin-bottom: .5em; padding: .5em 0 .8em 1.4em; background: transparent; max-width: {{{maxwidth|20em}}};">__TOC__</div><no...")
 
No edit summary
 
Line 1: Line 1:
<div style="float: right; clear: {{{clear|right}}}; margin-bottom: .5em; padding: .5em 0 .8em 1.4em; background: transparent; max-width: {{{maxwidth|20em}}};">__TOC__</div><noinclude>
{{SPW|is not on|name=Tocright}}
{{documentation}}</noinclude>
;Description
:This template will float the article's table of contents (ToC) to the right. It will also force a ToC to appear even if it would not normally appear.
:Use it only when needed.
 
;Parameters
:<code>maxwidth =</code> ''Optionally'' change max-width allowed for TOC box (default is <code>20em</code>)
 
;Syntax
:<code>{{t|tocright}}</code>
 
<includeonly>
[[Category:General wiki templates]]
 
[[de:Vorlage:Tocrechts]]
[[ja:テンプレート:Tocright]]
</includeonly><noinclude>
[[Category:Template documentation]]
[[ja:テンプレート:Tocright/doc]]
</noinclude>

Navigation menu