Template:Tocright/doc: Difference between revisions

From Chibi-Robo! Wiki
Jump to navigation Jump to search
(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>

Latest revision as of 17:16, 22 October 2017

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
maxwidth = Optionally change max-width allowed for TOC box (default is 20em)
Syntax
{{tocright}}

ja:テンプレート:Tocright/doc