(2 intermediate revisions by the same user not shown)
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>
 +
= 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: ==
 +
 +
All parameters are optional.
 +
<nowiki>{{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
 +
}}</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>

Aktuálna revízia z 16:34, 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
}}