Difference between revisions of "Template:TOC"
Jump to navigation
Jump to search
Line 16: | Line 16: | ||
<div style="float:{{{1|right}}}; margin: 0 10px 10px 10px">__TOC__</div> | <div style="float:{{{1|right}}}; margin: 0 10px 10px 10px">__TOC__</div> | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
[[Category: | [[Category:Functional templates]] | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 22:07, 25 June 2017
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!