(Vytvorená stránka „<div class="row {{{class|}}}"> {{{1}}} </div>“)
 
Line 1: Line 1:
<div class="row {{{class|}}}">
+
<includeonly><div class="row {{{class|}}}">
 
{{{1}}}
 
{{{1}}}
</div>
+
</div></includeonly>
 +
<noinclude>
 +
= Template:Columns =
 +
 
 +
A '''mandatory''' wrapper for one or more instances of [[Template:Column]].
 +
 
 +
== Synopsis ==
 +
 
 +
<nowiki>{{</nowiki>Columns | class = <var>optional additional CSS classes</var> |
 +
<var>content consisting of one or more <nowiki>{{</nowiki>[[Template:Column|Column]] | … }}</var>
 +
}}
 +
 
 +
== Example ==
 +
 
 +
{{Columns|
 +
{{Column|width=6|content=
 +
<nowiki>{{Columns |
 +
{{Column
 +
    | width = 4
 +
    | content =
 +
A narrow column
 +
}}
 +
{{Column
 +
    | width = 6
 +
    | content =
 +
A wider column
 +
}}
 +
}}</nowiki>
 +
}}
 +
{{Column|width=6|content=
 +
{{Columns |
 +
{{Column
 +
    | width = 4
 +
    | content =
 +
A narrow column
 +
}}
 +
{{Column
 +
    | width = 6
 +
    | content =
 +
A wider column
 +
}}
 +
}}
 +
}}
 +
}}

Revision as of 16:14, 7 September 2017


Template:Columns

A mandatory wrapper for one or more instances of Template:Column.

Synopsis

{{Columns | class = optional additional CSS classes |
content consisting of one or more {{Column | … }}
}}

Example