m (Kluka premiestnil stránku Šablóna:Columns na Šablóna:Row)
 
Line 1: Line 1:
 
<includeonly><div class="row {{{class|}}}">
 
<includeonly><div class="row {{{class|}}}">
 
{{{1}}}
 
{{{1}}}
</div></includeonly>
+
</div></includeonly><noinclude>
<noinclude>
+
= Template:Row =
= Template:Columns =
+
  
 
A '''mandatory''' wrapper for one or more instances of [[Template:Column]].
 
A '''mandatory''' wrapper for one or more instances of [[Template:Column]].
Line 9: Line 8:
 
== Synopsis ==
 
== Synopsis ==
  
  <nowiki>{{</nowiki>Columns | class = <var>optional additional CSS classes</var> |
+
  <nowiki>{{</nowiki>Row | class = <var>optional additional CSS classes</var> |
 
  <var>content consisting of one or more <nowiki>{{</nowiki>[[Template:Column|Column]] | … }}</var>
 
  <var>content consisting of one or more <nowiki>{{</nowiki>[[Template:Column|Column]] | … }}</var>
 
  }}
 
  }}
Line 17: Line 16:
 
<div class="row">
 
<div class="row">
 
<div class="col-md-6">
 
<div class="col-md-6">
  <nowiki>{{Columns |
+
  <nowiki>{{Row |
 
{{Column
 
{{Column
 
     | width = 4
 
     | width = 4
 
     | column-content =
 
     | column-content =
A narrow column
+
A narrower column
 
}}
 
}}
 
{{Column
 
{{Column
Line 31: Line 30:
 
</div>
 
</div>
 
<div class="col-md-6">
 
<div class="col-md-6">
{{Columns |
+
{{Row |
 
{{Column
 
{{Column
 
     | width = 4
 
     | width = 4
 
     | column-content =
 
     | column-content =
A narrow column. # # # # # # # # # # # # # # # # # # # #
+
A narrower column. # # # # # # # # # # # # # # # # # # # #
 
}}
 
}}
 
{{Column
 
{{Column

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. @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @