Module:Columns/doc

From Night's End
< Module:Columns
Revision as of 15:27, 9 June 2023 by Dicemonger (talk | contribs) (Created page with "Mark sections of text with column-count css. === Functions === ==== begin ==== <code>{{#invoke:Columns|begin|cols=2}}</code> This function marks the beginning of a section. {| class="wikitable" |+ Parameters |- | cols|| The number of columns (2 to 4). Defaults to 2. |} ==== stop ==== <code>{{#invoke:Columns|stop}}</code> This function marks the end of a section. It has no parameters. ==== div ==== <code>{{#invoke:Columns|div|cols=2}}</code> This function is ba...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is the documentation page for Module:Columns

Mark sections of text with column-count css.

Functions

begin

This function marks the beginning of a section.

Parameters
cols The number of columns (2 to 4). Defaults to 2.

stop

This function marks the end of a section. It has no parameters.

div

This function is basically "stop" immediately followed by "begin". This creates a break between two sections.

Parameters
cols The number of columns (2 to 4). Defaults to 2.