Šablóna:BoxedColumn: Rozdiel medzi revíziami

Riadok 7: Riadok 7:
 
</div>
 
</div>
 
</div>
 
</div>
 +
<noinclude>
 +
<div class="row"></div>
 +
= Template:BoxedColumn =
 +
 +
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 wrapping a uniba.sk-style box with the given content and an arrow containing the given link.
 +
 +
Should be used inside a <code><nowiki><div class="row">…</div></nowiki></code> in order to obtain predictable results.
 +
 +
== Usage ==
 +
 +
<nowiki>{{BoxedColumn
 +
    | width = 1–12, defaults to 4
 +
    | col-class = additional class(es) for the column div, may be empty
 +
    | box-class = additional class(es) for the box div, may be empty
 +
    | image = the header image, displayed above content, may be empty
 +
    | content = content to be displayed in the column
 +
    | url = the link to be rendered as the arrow in the bottom-right corner of the box
 +
}}</nowiki>
 +
</noinclude>

Verzia zo dňa a času 15:06, 29. jún 2015

{{{content}}}

{{{url}}}

Template:BoxedColumn

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 wrapping a uniba.sk-style box with the given content and an arrow containing the given link.

Should be used inside a <div class="row">…</div> in order to obtain predictable results.

Usage

{{BoxedColumn
    | width = 1–12, defaults to 4
    | col-class = additional class(es) for the column div, may be empty
    | box-class = additional class(es) for the box div, may be empty
    | image = the header image, displayed above content, may be empty
    | content = content to be displayed in the column
    | url = the link to be rendered as the arrow in the bottom-right corner of the box
}}