Line 2: Line 2:
 
{{{content|}}}{{{1|}}}
 
{{{content|}}}{{{1|}}}
 
<div class="pipe"></div>
 
<div class="pipe"></div>
{{#if:{{{url|}}}|<div class="more">{{{url}}}</div>}}
+
{{#if:{{{link|}}}|<div class="more">{{{link}}}</div>}}
 
</div><noinclude>
 
</div><noinclude>
 
= Template:Box =
 
= Template:Box =

Latest revision as of 01:01, 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 {{=}})
}}