Bureaucrats, Interface administrators, Administrators (Semantic MediaWiki), Curators (Semantic MediaWiki), Editors (Semantic MediaWiki), Suppressors, Administrators, trusted
13,187
edits
(Created page with "<noinclude>This template shapes text in columns. It should be used with {{Columns end}}. '''To copy:''' <pre> {{Columns start}} {{Columns end}} </pre> or <pre> {{Columns st...") |
m (+css) |
||
Line 9: | Line 9: | ||
or | or | ||
<pre> | <pre> | ||
{{Columns start|2|width=|font size=}} | {{Columns start|2|width=|font size=|css}} | ||
{{Columns end}} | {{Columns end}} | ||
</pre> | </pre> | ||
Line 15: | Line 15: | ||
'''Parameters:''' | '''Parameters:''' | ||
* '''2''' -- number of columns; can be any number, default: '''2''' | * '''2''' -- number of columns; can be any number, default: '''2''' | ||
* '''width''' -- one column width in pixels (100px), per cents (20%) or other HTML units | * '''width''' -- one column width in pixels (100px), per cents (20%) or other HTML units | ||
* '''font size''' -- font size in HTML units, default: '''100%''' | * '''font size''' -- font size in HTML units, default: '''100%''' | ||
* '''css''' -- additional css rules to apply for '''<nowiki><div></nowiki>''' inside '''style''' | |||
[[Category: Design templates]] | [[Category: Design templates]] | ||
[[Category: Templates for SD]] | [[Category: Templates for SD]] | ||
</noinclude><includeonly><div style="{{#if: {{{width|}}} |-moz-column-width: {{{width}}}; -webkit-column-width: {{{width}}}; column-width: {{{width}}}; |-moz-column-count: {{{1|2}}}; -webkit-column-count: {{{1|2}}}; column-count: {{{1|2}}}; }} font-size: {{{font size|100%}}};"></includeonly> | </noinclude><includeonly><div style="{{#if: {{{width|}}} |-moz-column-width: {{{width}}}; -webkit-column-width: {{{width}}}; column-width: {{{width}}}; |-moz-column-count: {{{1|2}}}; -webkit-column-count: {{{1|2}}}; column-count: {{{1|2}}}; }} font-size: {{{font size|100%}}}; {{{css|}}}"></includeonly> |