Help:Columns
From Wiki.GIS.com
To create columns in an article one may use {{colbegin}} and {{colend}} (but note that this is not supported by Internet Explorer and Opera: see {{colbegin}} for details)
{{colbegin}}
{{lorem}}
{{lorem}}
{{colend}}
produces:
You can also use {{col-begin}}, {{col-break}}, and {{col-end}}.
As such:
{{col-begin}}
{{col-break}}
{{lorem}}
{{col-break}}
{{lorem}}
{{col-break}}
{{lorem}}
{{col-end}}
creates
Contents |
[edit] CSS
MediaWiki:Common.css defines the following styles:
- ".references-2column"
- "div.columns-2", "div.columns-3", "div.columns-4" and "div.columns-5" which need to contain a "div.column"
[edit] Templates
- {{colbegin}} and {{divbegin}} - utilises CSS3 features
- {{Columns-start}} - defines CSS classes (see above)
- {{Multicol}} - uses deprecated HTML element "MULTICOL"
- {{col-begin}} - uses a HTML table (also adds a MULTICOL attribute)
- {{col-begin-small}}
[edit] CSS3 multicolumn support
The templates {{colbegin}} and {{divbegin}} use a feature in CSS3 that is implemented in:
- Gecko based browsers, such as Mozilla Firefox
- Webkit based browsers, such as Safari
Not supported:
- Trident based browsers, such as Internet Explorer
- Presto based browsers, such as Opera
[edit] See also
- Help:Tables
- m:simplified table syntax
- m:wiki markup tables
del.icio.us
facebook
reddit
twitter