Template:TOC

From Prison Architect Wiki
Jump to navigation Jump to search


[view] [edit] [history] [purge]

Documentation

Usage

{{TOC}}

Explanation

Used to position the Table of Contents in an article, or to force the Table of Contents to appear in a certain section of an article.

All Parameters

Parameter Description
clear Optional - Used to tell the TOC box to check for other elements on the sides of an article, and if said elements exist, it will tell the TOC box to be placed underneath them. Default is: both.
align Optional - Used to force the TOC box to float to one side of an article. Text and other elements will wrap around the TOC box, so preview your changes before submitting your edits. Default is: none.
width Optional - Used to change the size of the TOC box. Default is: auto.
limit Optional - Used to prevent too many sections from being displayed in the TOC box. Default is: none.