Template:Div col: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Edokter Add generic columns class |
meta>Edokter Add {{{content}}} param, for use with semi-merging {{columns-list}} |
||
Line 13: | Line 13: | ||
| font-size:90%; }} <!-- | | font-size:90%; }} <!-- | ||
-->{{#if: {{{style|}}} | -->{{#if: {{{style|}}} | ||
| {{{style}}} }}"></includeonly><noinclude> | | {{{style}}} }}"><!-- | ||
-->{{#if: {{{content|}}} | |||
|{{{content}}}</div>}}</includeonly><noinclude> | |||
{{Documentation}} | {{Documentation}} | ||
Revision as of 12:02, 1 December 2013
TemplateData
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for this template in articles based on this TemplateData.
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 |