Template:Div col: Difference between revisions
From Video Credit Archive
Content deleted Content added
imported>Edokter Add classname |
imported>Edokter Add generic columns class |
||
Line 1: | Line 1: | ||
<includeonly><div class="div-col <!-- |
<includeonly><div class="div-col columns <!-- |
||
-->{{#if: {{{colwidth|{{{2|}}}}}} |
-->{{#if: {{{colwidth|{{{2|}}}}}} |
||
| column-width |
| column-width |
Revision as of 16:13, 15 October 2013
File:Test Template Info-Icon - Version (2).svg Template documentation[create]
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
TemplateData
This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.
TemplateData for Div col
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}}.
Parameter | Description | Type | Status | |
---|---|---|---|---|
cols | cols 1 | Specifies the number of columns.
| String | optional |
colwidth | colwidth 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. | String | optional |
rules | rules | Produces vertical rules between the columns if set to yes. | String | optional |
small | small | Specifies small font size (90%) if set to yes. | String | optional |
style | style | Specify any custom styling. | String | optional |