Module:Columns/doc: Difference between revisions

From Night's End
(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...")
(No difference)

Revision as of 15:27, 9 June 2023

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.