Difference between revisions of "Template:TOC"
Jump to navigation
Jump to search
(Created) |
|||
Line 13: | Line 13: | ||
</noinclude> | </noinclude><includeonly> | ||
<div style="float:right; margin: 0 0 10px 10px"></div> | <div style="float:right; margin: 0 0 10px 10px">__TOC__</div> | ||
<noinclude> | </includeonly><noinclude> | ||
[[Category:Template:TOC]] | [[Category:Template:TOC]] | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 09:34, 4 February 2015
This template adds a Table of Contents either in location, or floating somewhere, depending on variables.
Use like this for normal TOC at the specified location:
{{TOC}}
Use like this for a TOC that is floating right:
{{TOC|right}}
HOWEVER: MediaWiki ParserFunctions need to be installed before this advanced usage. At the moment, this template just adds a right-floating TOC!