Difference between revisions of "Template:TOC right"

From Krafties
Jump to navigation Jump to search
m
m
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div style="clear: {{{clear|right}}}; margin-bottom: .5em; float: right; padding: .5em 0 .8em 1.4em; background: none; width: {{{width|{{{1|auto}}}}}};" {{#if:{{{limit|}}}|class="toclimit-{{{limit}}}"}}>__TOC__</div></includeonly><noinclude>{{Template Explanation|[[Category:TOC templates]]
+
<onlyinclude><div style="clear: {{{clear|right}}}; margin-bottom: .5em; float: right; padding: .5em 0 .8em 1.4em; background: none; width: {{{width|{{{1|auto}}}}}};" {{#if:{{{limit|}}}|class="toclimit-{{{limit}}}"}}>__TOC__</div></onlyinclude>
 +
{|{{Template Explanation}}[[Category:TOC templates]]
 
This Template makes the "Table of Contents" float to the right, meaning text will wrap around it
 
This Template makes the "Table of Contents" float to the right, meaning text will wrap around it
}}</noinclude>
+
*This also allows you to control where the TOC appears on the page, appears inline wherever you place this template.
 +
==See Also==
 +
{{Useful Templates}}
 +
|}

Latest revision as of 01:46, 8 April 2015

Documentation icon Template documentation ( view · talk · edit)

Template:TOC right/doc

The above documentation is transcluded from Template:TOC right/doc.
Editors can experiment in this template's sandbox
Please add categories to the /doc subpage within <includeonly>...</includeonly>

This Template makes the "Table of Contents" float to the right, meaning text will wrap around it

  • This also allows you to control where the TOC appears on the page, appears inline wherever you place this template.

See Also[edit]