Please forgive the slight inconvenience in creating a new account. Due to juvenile delinquents spamming garbage to the site, we had to install a "Captcha", which can differentiate a spam bot from a human. Once you open your account, confirm it by returning the email, and identifying yourself, we will give you edit privileges. Just request them by leaving a message at click here.
Template:Column-width
Columns are currently supported only by newer versions of Gecko-based browsers (such as Mozilla Firefox) and WebKit-based browsers (such as Google Chrome and Safari). All versions of Internet Explorer through to version 9 and Opera through to version 11.0 do not support columns. See here for more information. |
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.
Contents
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
This is the TemplateData documentation for the template used by the new VisualEditor.
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}}