Module:Columns/doc

From Night's End
< Module:Columns
Revision as of 15:39, 9 June 2023 by Dicemonger (talk | contribs)
(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

{{#invoke:Columns|begin|cols=2}}

This function marks the beginning of a section.

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


stop

{{#invoke:Columns|stop}}

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


div

{{#invoke:Columns|div|cols=2}}

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.