Riadok 1: | Riadok 1: | ||
<div class="col-md-{{{width|4}}} {{{class|}}}"> | <div class="col-md-{{{width|4}}} {{{class|}}}"> | ||
− | {{{column-content|}}} | + | {{{column-content|{{{1|}}}}}} |
</div> | </div> | ||
<noinclude> | <noinclude> | ||
Riadok 11: | Riadok 11: | ||
== Usage: == | == Usage: == | ||
+ | All parameters are optional. | ||
<nowiki>{{Column | <nowiki>{{Column | ||
| width = 1–12, defaults to 4 | | width = 1–12, defaults to 4 | ||
| class = additional class(es), may be empty | | class = additional class(es), may be empty | ||
| column-content = content to be displayed in the column | | column-content = content to be displayed in the column | ||
+ | can be several lines long | ||
+ | and contain wiki markup | ||
+ | }}</nowiki> | ||
+ | |||
+ | <nowiki>{{Column | ||
+ | | width = 1–12, defaults to 4 | ||
+ | | class = additional CSS class(es), may be empty | ||
+ | | content to be displayed in the column | ||
+ | can be several lines long | ||
+ | and contain wiki markup | ||
}}</nowiki> | }}</nowiki> | ||
− |
Verzia zo dňa a času 17:25, 7. september 2017
Template:Column
This template renders as a layout column of the given width on medium-sized and larger (>= 992 px wide) displays in the CSS framework Bootstrap.
Should be used inside a <div class="row">…</div>
in order to obtain predictable results.
Usage:
All parameters are optional.
{{Column | width = 1–12, defaults to 4 | class = additional class(es), may be empty | column-content = content to be displayed in the column can be several lines long and contain wiki markup }}
{{Column | width = 1–12, defaults to 4 | class = additional CSS class(es), may be empty | content to be displayed in the column can be several lines long and contain wiki markup }}