Difference between revisions of "Template:Tocright"

From Dungeons and Dragons Wiki
Jump to: navigation, search
m
 
m (Reverted edits by 198.190.212.45 (talk) to last revision by Tarkisflux)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div style="float:right; clear:{{{clear|right}}}; margin-bottom:.5em; padding:.5em 0 .8em 1.4em; background:transparent; max-width:20em;">__TOC__</div><noinclude>
+
<div style="float:right; clear:{{{clear|right}}}; margin-bottom:.5em; padding:.5em 0 .8em 1.4em; background:transparent; max-width:20em;"><span class="toclimit-{{{1|{{{limit|5}}}}}}">__TOC__</span></div><noinclude>
 
{{documentation}}</noinclude>
 
{{documentation}}</noinclude>

Latest revision as of 05:30, 4 July 2012

Template documentation (for the above template, sometimes hidden or invisible)
Description
This template will float the article's table of contents to the right. It will also force a ToC when/where it would not normally be found.
Use it only when needed.
Syntax
Type {{tocright}}

Visit Template:Tocright/doc to edit this text! (How does this work?)