Difference between revisions of "Template:TOC right"

From Krafties
Jump to navigation Jump to search
m
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<onlyinclude><div style="clear: {{{clear|right}}}; margin-bottom: .5em; float: right; padding: .5em 0 .8em 1.4em; background: none; width: {{{width|{{{1|auto}}}}}};"|class="toclimit-{{{limit}}}"}}>__TOC__</div></onlyinclude>
+
<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]]
+
{|{{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
 
*This also allows you to control where the TOC appears on the page, appears inline wherever you place this template.
 
*This also allows you to control where the TOC appears on the page, appears inline wherever you place this template.
 
==See Also==
 
==See Also==
 
{{Useful Templates}}
 
{{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]