无编辑摘要 |
无编辑摘要 |
||
第1行: | 第1行: | ||
<includeonly><div style="{{#if:{{{w|}}}|width:{{{w|}}};}} columns:{{{3|100px}}} {{{2|3}}}; column-gap: {{{4|10px}}};-webkit-columns:{{{3|100px}}} {{{2|3}}}; -webkit-column-gap: {{{4|10px}}};-moz-columns:{{{3|100px}}} {{{2|3}}}; -moz-column-gap: {{{4|10px}}};">{{{1}}}</div></includeonly><noinclude> | <includeonly><div style="{{#if:{{{w|}}}|width:{{{w|}}};}} columns:{{{3|100px}}} {{{2|3}}}; column-gap: {{{4|10px}}};-webkit-columns:{{{3|100px}}} {{{2|3}}}; -webkit-column-gap: {{{4|10px}}};-moz-columns:{{{3|100px}}} {{{2|3}}}; -moz-column-gap: {{{4|10px}}};">{{{1}}}</div></includeonly><noinclude> | ||
==Usage== | |||
<pre> | |||
{{MultiColumn| | |||
<!-- content here--> | |||
|3|100px|10px}} | |||
</pre> | |||
'''Where:''' | |||
* 3 = number of columns (optional; default) | |||
* 100px = width of columns (optional; default) | |||
* 10px = gap between columns (optional; default) | |||
''{{red|NB: Utilises CSS3; will only work on relatively new browsers.}}'' | |||
[[Category:模板]]</noinclude> |
2020年12月21日 (一) 11:33的版本
Usage
{{MultiColumn| <!-- content here--> |3|100px|10px}}
Where:
- 3 = number of columns (optional; default)
- 100px = width of columns (optional; default)
- 10px = gap between columns (optional; default)
NB: Utilises CSS3; will only work on relatively new browsers.