Template:Tocright: Difference between revisions

From Holocron - Star Wars Combine
Jump to navigation Jump to search
Jeb`el Ras (talk | contribs)
template required for Template:Documentation
 
Jeb`el Ras (talk | contribs)
Categorised page
 
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;">__TOC__</div><noinclude>
{{documentation}}</noinclude>
{{documentation}}</noinclude>
<noinclude>[[Category: Templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 20:29, 17 April 2014

Template documentation (for the above template, sometimes hidden or invisible)[Edit] [Refresh]
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.
Syntax
Type {{tocright}}

Visit Template:Tocright/doc to change this text! (How does this work?)
Done making changes? Refresh this text! (Why?)