(Vytvorená stránka „<div class="row {{{class|}}}"> {{{1}}} </div>“)
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="row {{{class|}}}">
+
<includeonly><div class="row {{{class|}}}">
 
{{{1}}}
 
{{{1}}}
 +
</div></includeonly><noinclude>
 +
= Template:Row =
 +
 +
A '''mandatory''' wrapper for one or more instances of [[Template:Column]].
 +
 +
== Synopsis ==
 +
 +
<nowiki>{{</nowiki>Row | class = <var>optional additional CSS classes</var> |
 +
<var>content consisting of one or more <nowiki>{{</nowiki>[[Template:Column|Column]] | … }}</var>
 +
}}
 +
 +
== Example ==
 +
 +
<div class="row">
 +
<div class="col-md-6">
 +
<nowiki>{{Row |
 +
{{Column
 +
    | width = 4
 +
    | column-content =
 +
A narrower column
 +
}}
 +
{{Column
 +
    | width = 6
 +
    | column-content =
 +
A wider column
 +
}}
 +
}}</nowiki>
 +
</div>
 +
<div class="col-md-6">
 +
{{Row |
 +
{{Column
 +
    | width = 4
 +
    | column-content =
 +
A narrower column. # # # # # # # # # # # # # # # # # # # #
 +
}}
 +
{{Column
 +
    | width = 6
 +
    | column-content =
 +
A wider column. @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @
 +
}}
 +
}}
 +
</div>
 
</div>
 
</div>

Latest revision as of 01:27, 8 September 2017

Template:Row

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

Synopsis

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

Example

{{Row |
{{Column
    | width = 4
    | column-content =
A narrower column
}}
{{Column
    | width = 6
    | column-content =
A wider column
}}
}}

A narrower column. # # # # # # # # # # # # # # # # # # # #

A wider column. @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @