Šablóna:Column: Rozdiel medzi revíziami
(Jedna medziľahlá úprava od jedného ďalšieho používateľa nie je zobrazená) | |||
Riadok 1: | Riadok 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> |
Aktuálna revízia z 15:01, 29. jún 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 }}