Template:Div col: Difference between revisions
From Video Credit Archive
Content deleted Content added
imported>Edokter Add {{{content}}} param, for use with semi-merging {{columns-list}} |
imported>Redrose64 move templatedata to Template:Div col/doc - it is documentation |
||
Line 17: | Line 17: | ||
|{{{content}}}</div>}}</includeonly><noinclude> |
|{{{content}}}</div>}}</includeonly><noinclude> |
||
{{Documentation}} |
{{Documentation}} |
||
==TemplateData== |
|||
{{TemplateDataHeader}} |
|||
<templatedata> |
|||
{ |
|||
"description": "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}}.", |
|||
"params": { |
|||
"cols": { |
|||
"label": "cols", |
|||
"description": "Specifies the number of columns.", |
|||
"type": "string", |
|||
"default": "2", |
|||
"aliases": ["1"], |
|||
"required": false |
|||
}, |
|||
"colwidth": { |
|||
"label": "colwidth", |
|||
"description": "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.", |
|||
"type": "string", |
|||
"aliases": ["2"], |
|||
"required": false |
|||
}, |
|||
"rules": { |
|||
"label": "rules", |
|||
"description": "Produces vertical rules between the columns if set to yes.", |
|||
"type": "string", |
|||
"required": false |
|||
}, |
|||
"small": { |
|||
"label": "small", |
|||
"description": "Specifies small font size (90%) if set to yes.", |
|||
"type": "string", |
|||
"required": false |
|||
}, |
|||
"style": { |
|||
"label": "style", |
|||
"description": "Specify any custom styling.", |
|||
"type": "string", |
|||
"required": false |
|||
} |
|||
} |
|||
} |
|||
</templatedata> |
|||
</noinclude> |
</noinclude> |
Revision as of 04:38, 25 September 2014
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. |