Template:INITOC

From Step Mods | Change The Game
Revision as of 22:04, June 29, 2015 by DoubleYou (talk | contribs)


Purpose & Usage

This template allows text to be displayed and automatically arranged through several columns. It is used on the some INI Guides to help create a custom TOC.

Parameters

  • text (required) is the content within the columns
  • title (optional) adds a title right before the column that is an level 3 header. Required for some INI Guides
  • borderSize (optional) adjusts the size of the border around the columns. Setting it to 0 disables the border. Default is 1px.
  • borderColor (optional) sets the color of the borders. Default is #666.
  • width (optional) sets the width of the entire block of columned content. Default is 80%.
  • columns (optional) sets the number of columns to use. Default is 5.

Examples

Code:

{{Columns
|text=Love<br />is<br />columns!
}}

Result: Template:Columns

Code:

{{Columns
|text=Love<br />is<br />columns!<br />Love<br />is<br />columns!<br />Love<br />is<br />columns!<br />Love<br />is<br />columns!<br />Love<br />is<br />columns!<br />Love<br />is<br />columns!<br />Love<br />is<br />columns!<br />
}}

Result: Template:Columns

Code:

{{Columns
|title=Love
|borderSize=0
|columns=3
|width=100%
|text=Love<br />is<br />columns!<br />Love<br />is<br />columns!<br />Love<br />is<br />columns!<br />Love<br />is<br />columns!<br />Love<br />is<br />columns!<br />Love<br />is<br />columns!<br />Love<br />is<br />columns!<br />
}}

Result: Template:Columns

See Also