Difference between revisions of "Template:Tocright"

From EVE University Wiki
Jump to: navigation, search
(Fixing up template documentation system)
 
 
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>
+
<includeonly><div style="float: right; clear: {{{clear|right}}}; margin-bottom: .5em; padding: .5em 0 .8em 1.4em; background: transparent; max-width: 20em;">__TOC__</div></includeonly><noinclude>
 
{{documentation}}</noinclude>
 
{{documentation}}</noinclude>

Latest revision as of 19:19, 22 April 2017

Template documentation (for the above template, sometimes hidden or invisible)
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.
Dependencies
Uses:
__TOC__
Syntax
{{Tocright|<clear= clear>}}
clear - One of: left, both or right. Default is right. Forces text on that side to go below the ToC.


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