Шаблон:Multicol: различия между версиями

[непроверенная версия][непроверенная версия]
Содержимое удалено Содержимое добавлено
оформление
→‎Параметры: оформление
Строка 20:
{{Multicol-end}}
</pre>
 
что выглядит следующим образом:
{{Multicol}}
Этот текст появляется в первой колонке.
{{Multicol-break}}
Этот текст появляется во второй колонке.
{{Multicol-break}}
Этот текст появляется в третьей колонке.
{{Multicol-end}}
 
This template has two optional parameters: the overall width of the set of columns and the width of the gutter. The overall width of the set of columns can be an absolute value (e.g., <tt>40em</tt>) or a percentage of the available page width (e.g., <tt>50%</tt>). This parameter defaults to <tt>100%</tt>. For example, to create a multi-column section that is only 50 % the width of the page: