Difference between revisions of "Template:TOC left"

From Krafties
Jump to navigation Jump to search
m
m
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div style="clear:{{{clear|left}}}; float:left; width:{{{width|{{{1|auto}}}}}}; background:none; margin-bottom:0.5em; padding:0.5em 1.4em 0.8em 0; {{#if:{{{top|}}}|margin-top: {{{top}}};padding-top:{{{top}}};}}" {{#if:{{{limit|}}}|class="toclimit-{{{limit}}}"}}>__TOC__</div></includeonly><noinclude>{{Template Explanation|[[Category:TOC templates]]
+
<onlyinclude><div style="clear:{{{clear|left}}}; float:left; width:{{{width|{{{1|auto}}}}}}; background:none; margin-bottom:0.5em; padding:0.5em 1.4em 0.8em 0; {{#if:{{{top|}}}|margin-top: {{{top}}};padding-top:{{{top}}};}}" {{#if:{{{limit|}}}|class="toclimit-{{{limit}}}"}}>__TOC__</div></onlyinclude>
 +
{|{{Template Explanation}}[[Category:TOC templates]]
 
This template makes the "Table of Contents" float to the left, meaning text will wrap around it
 
This template makes the "Table of Contents" float to the left, 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}}
}}</noinclude>
+
|}

Latest revision as of 02:45, 8 April 2015

Documentation icon Template documentation ( view · talk · edit)

Template:TOC left/doc

The above documentation is transcluded from Template:TOC left/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 left, 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]