Difference between revisions of "Šablóna:Column"
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
<div class="col-md-{{{width|4}}} {{{class|}}}"> | <div class="col-md-{{{width|4}}} {{{class|}}}"> | ||
| − | {{{column-content}}} | + | {{{column-content|}}} |
</div> | </div> | ||
| + | <noinclude> | ||
| + | = 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 <code><nowiki><div class="row">…</div></nowiki></code> in order to obtain predictable results. | ||
| + | |||
| + | == Usage: == | ||
| + | |||
| + | <nowiki>{{Column | ||
| + | | width = 1–12, defaults to 4 | ||
| + | | class = additional class(es), may be empty | ||
| + | | column-content = content to be displayed in the column | ||
| + | }}</nowiki> | ||
| + | </noinclude> | ||
Latest revision as of 15:01, 29 June 2015
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:
{{Column
| width = 1–12, defaults to 4
| class = additional class(es), may be empty
| column-content = content to be displayed in the column
}}

