ଛାଞ୍ଚ:Div col end
Columns are not supported by some older browsers, most notably Internet Explorer 9 and below and Opera 11.0 and below. See this page for more information. |
ଛାଞ୍ଚ:CSS3 multiple column layout
{{Div col}} (or {{start div col}}), together with {{div col end}} (or {{end div col}}), is used to make a list into columns. It automatically breaks each column into an equal space, meaning, for instance, it isn't necessary to work out the halfway point between two columns. The template also offers options to set a smaller (90%) font-size (|small=yes
), place vertical lines ("rules") between the columns (|rules=
) and to add other custom styling (|style=
).
{{Div col}} can create multiple columns in web browsers which support one of the following CSS properties:
- column-count (for CSS3 compliant browsers; see CSS3 module: Multi-column layout)
- -moz-column-count (for Mozilla/Gecko based browsers such as Firefox)
- -webkit-column-count (for WebKit based browsers such as Safari and Google Chrome)
Usage
ସମ୍ପାଦନା- ଛାଞ୍ଚ:S ଛାଞ୍ଚ:Nobold
- (Now deprecated, as colwidth below is better suited to flexible formatting for a variety of display screen sizes (from mobile phones, tablets, etc to widescreen cinema-style displays))
Specifies the number of columns (default 2). |colwidth=
ଛାଞ୍ଚ:Nobold- Specifies the minimum width of the columns and determines automatically the number of columns based on screen width (i.e. more columns will be shown on wider displays). Overrides cols.
|rules=
- Adds vertical lines ("rules") between the columns if set to yes or some CSS styling (e.g. 1px dashed blue;).
|small=
- Specifies small font size (90%) if set to yes.
|style=
- CSS styling to apply to the columns.
Examples
ସମ୍ପାଦନା{{Div col}} [or {{Start div col}}] * a * b * c * d * e * f * g * h {{Div col end}} [or {{End div col}}]
- produces
- a
- b
- c
- d
- e
- f
- g
- h
{{Div col|3}} * a * b * c * d * e * f * g * h {{Div col end}}
- produces
- a
- b
- c
- d
- e
- f
- g
- h
{{Div col||10em}} * a * b * c * d * e * f * g * h {{Div col end}}
- produces
- a
- b
- c
- d
- e
- f
- g
- h
{{Div col|rules=yes}} * a * b * c * d * e * f * g * h {{Div col end}}
- produces
- a
- b
- c
- d
- e
- f
- g
- h
{{Div col|small=yes}} * a * b * c * d * e * f * g * h {{Div col end}}
- produces
- a
- b
- c
- d
- e
- f
- g
- h
TemplateData
ସମ୍ପାଦନାThis is the TemplateData documentation for this template used by VisualEditor and other tools.
TemplateData for Div col end
Ends a multi-column list started by {{div col}}. It takes no parameters.
Parameter | Description | Type | Status | |||
---|---|---|---|---|---|---|
No parameters specified |