Template:Columns-list: Difference between revisions

From SklogWiki
Jump to navigation Jump to search
(New page: <includeonly><div {{#if: {{{1|}}}| style="-moz-column-count:{{{1}}}; -webkit-column-count:{{{1}}}; column-count:{{{1}}} }};">{{{2}}}</div></includeonly>)
 
m (Added note on browsers.)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
This template converts a 1 column list into ''n'' columns.
Useage:
<nowiki>{{columns-list|n|
*a
*b
*c
}}</nowiki>
Note: this template uses CSS3, and does not work for Microsoft Explorer, only Mozilla (-moz-) and Safari (-webkit-).
[[category: template]]
</noinclude>
<includeonly><div {{#if: {{{1|}}}| style="-moz-column-count:{{{1}}}; -webkit-column-count:{{{1}}}; column-count:{{{1}}} }};">{{{2}}}</div></includeonly>
<includeonly><div {{#if: {{{1|}}}| style="-moz-column-count:{{{1}}}; -webkit-column-count:{{{1}}}; column-count:{{{1}}} }};">{{{2}}}</div></includeonly>

Latest revision as of 14:35, 1 June 2009

This template converts a 1 column list into n columns.

Useage:

{{columns-list|n| *a *b *c }}

Note: this template uses CSS3, and does not work for Microsoft Explorer, only Mozilla (-moz-) and Safari (-webkit-).