Template:Column-width/doc
{{#invoke:Message box|mbox}}
{{#invoke:Message box|mbox}}
This template is a shortcut for producing columns using CSS. It generates the CSS for various browsers. Supported browsers are the current versions of Firefox, Safari and Chrome.
Usage
Insert this template within a style tag of any block-style element:
{{column-width | [column width]}}
The default column width is 30em.
Example
- <div style="{{column-width|25em}}">Lorem ipsum...</div> will produce:
Template data
Column-width
<templatedata> { "description": "This template is a shortcut for producing columns using CSS based on their width. Insert this template within a style tag of any block-style element.", "params": { "1": { "label": "Column width", "type": "number", "default": "30em", "required": false, "description": "The width of the columns" } } } </templatedata>
See also
- {{column-count}}
- {{column-rule}}