Riadok 1: Riadok 1:
<div class="box {{{class|}}}">
+
<div class="box {{{class|}}}">{{#if:{{{image|}}}|<div class="image  hidden-xs  hidden-sm">{{{image|}}}</div>}}
{{#if:{{{image|}}}|<div class="image  hidden-xs  hidden-sm">{{{image|}}}</div>}}
+
 
{{{content|}}}{{{1|}}}
 
{{{content|}}}{{{1|}}}
 
<div class="pipe"></div>
 
<div class="pipe"></div>

Verzia zo dňa a času 00:47, 8. september 2017

Template:Box

This template renders as a uniba.sk-style article box with the given content, an optional header image, and an optional arrow containing the given link.

Usage

{{Box
    | class = additional class(es) for the box div (optional)
    | image = the header image, displayed above content (optional)
    | link = the link to be rendered as an arrow in the bottom-right corner of the box (optional)
    | content = content to be displayed in the box
        non-markup ‘|’ must be escaped as {{!}};
        ‘content =’ is not mandatory, but if ommited,
        non-markup ‘=’ must be escaped as {{=}})
}}