Template:Columns-list: Difference between revisions

From SklogWiki
Jump to navigation Jump to search
mNo edit summary
m (Added note on browsers.)
 
Line 10: Line 10:
}}</nowiki>
}}</nowiki>


Note: this template does not work for Microsoft Explorer.
Note: this template uses CSS3, and does not work for Microsoft Explorer, only Mozilla (-moz-) and Safari (-webkit-).
[[category: template]]
[[category: template]]
</noinclude>
</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 15: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-).