Template:Div col/doc

This template, together with div col end, is used to make a list into columns, with the option of specifying a smaller font. It has the advantage over other column templates (i.e. col-begin) that it automatically breaks each column to an equal space, so you do not manually have to find the "half way" point on two columns, for instance.

This template can create multiple columns in which support one of the following  properties:
 * column-count (for compliant browsers; see CSS3 module: Multi-column layout)
 * -moz-column-count (for / based browsers such as )
 * -webkit-column-count (for based browsers such as  and )

Usage

 * cols = (or ): Specifies the number of columns. Defaults to 2 columns.
 * colwidth = (or ): Specifies the width of columns, and determines dynamically the number of columns based on screen width; more columns will be shown on wider displays. This overrides the cols= setting.
 * rules =  : produces vertical rules between the columns if set to yes.
 * small   =: Specifies small font size (90%) if set to yes.
 * style   =: Specify any custom styling.

Examples

 * a
 * b
 * c
 * d
 * e
 * f
 * g
 * h


 * Produces:


 * a
 * b
 * c
 * d
 * e
 * f
 * g
 * h


 * a
 * b
 * c
 * d
 * e
 * f
 * g
 * h


 * Produces:


 * a
 * b
 * c
 * d
 * e
 * f
 * g
 * h


 * a
 * b
 * c
 * d
 * e
 * f
 * g
 * h


 * Produces:


 * a
 * b
 * c
 * d
 * e
 * f
 * g
 * h


 * a
 * b
 * c
 * d
 * e
 * f
 * g
 * h


 * Produces:


 * a
 * b
 * c
 * d
 * e
 * f
 * g
 * h


 * a
 * b
 * c
 * d
 * e
 * f
 * g
 * h


 * Produces:


 * a
 * b
 * c
 * d
 * e
 * f
 * g
 * h