TOC – Template

From Bohemia Interactive Community
Revision as of 00:42, 29 December 2020 by Lou Montana (talk | contribs) (Template creation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Only one TOC (Table of Contents) is possible per page, with the exception of the abc one.

Usage

{{TOC|mode|limit}}

  • mode: (Optional, default "normal" - case-insensitive) one of:
    • abc - a horizontal A..Z table of content (more of an index)
    • horizontal - a horizontal table of content, where full titles are kept
    • normal - the normal table of content - can be placed at the wanted position with this
    • none - no table of content on the page (similar to )
    • side - sets the table of content to the right
  • size: (Optional, default 1) size in em (e.g .9 for 90%)
  • limit: (Optional, default empty) sub-level limit (e.g 2
  • levels: (Optional, default empty) wanted sub-levels (e.g 2 4