Wikia

WoWWiki

Toc

Talk0
102,039pages on
this wiki

Template page

Revision as of 15:49, May 1, 2014 by Celess22 (Talk | contribs)

(diff) ←Older revision | Latest revision (diff) | Newer revision → (diff)

Allows the page Table of Contents, TOC, to be 'positioned' in the html on wiki pages, with optional features. Works the same as using __TOC__ directly, excepting the additional options. Intended to be an analogue of {{tocright}}, allowing editors more control if necessary.

Usage
clear - css 'clear' setting for the outer float container. Default is 'right'.
tight [0,1] - Sets TOC to size smaller for pages with huge TOC s. Default is 0.
Example
{{toc}} - sets the TOC html block to current position in the html doc

Template

Around Wikia's network

Random Wiki