Template:INITOC: Difference between revisions
From Step Mods | Change The Game
No edit summary |
No edit summary |
||
Line 25: | Line 25: | ||
== See Also == | == See Also == | ||
*[[:INI Guide/Custom TOC]] | *[[Template:INI Guide/Custom TOC]] | ||
</noinclude> | </noinclude> |
Revision as of 21:19, June 27, 2015
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