« Modèle:div col » : différence entre les versions

De JVFlux
m (1 version)
(Aucune différence)

Version du 27 juillet 2014 à 14:01

Modèle:Documentation

TemplateData

Modèle:TemplateDataHeader

Breaks a list into columns. It automatically breaks each column to an equal space, so you do not manually have to find the half way point on two columns. The list is closed with {{div col end}}.

Paramètres du modèle

ParamètreDescriptionTypeÉtat
colscols 1

Specifies the number of columns.

Par défaut
2
Chaînefacultatif
colwidthcolwidth 2

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.

Chaînefacultatif
rulesrules

Produces vertical rules between the columns if set to yes.

Chaînefacultatif
smallsmall

Specifies small font size (90%) if set to yes.

Chaînefacultatif
stylestyle

Specify any custom styling.

Chaînefacultatif