வார்ப்புரு:Col begin/doc
&lt;!--&lt;includeonly&gt;{{template doc page transcluded}}&lt;/includeonly&gt;--&gt;
 &lt;noinclude&gt;{{template doc page viewed directly}}&lt;/noinclude&gt;
 &lt;!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --&gt;
 &lt;center&gt;(This is the documentation for: {{PAGENAME}}.)&lt;/center&gt;
 
 {{#switch:{{lc:{{PAGENAME}}}}
 | col-2 = The [[Template:Col-2]] sets column width for each of 2 columns, with align=left, valign=top. The width, align or valign can be changed: &lt;nowiki&gt;{{col-2 |width=40%|align=right|valign=center}}&lt;/nowiki&gt;.&lt;br&gt;&lt;br&gt;
 | col-3 = The [[Template:Col-3]] sets column width for each of 3 columns, with align=left, valign=top. The width, align or valign can be changed: &lt;nowiki&gt;{{col-3 |width=25%|align=right|valign=center}}&lt;/nowiki&gt;.&lt;br&gt;&lt;br&gt;
 | col-4 = The [[Template:Col-4]] sets column width for each of 4 columns.&lt;br&gt;&lt;br&gt;
 | col-5 = The [[Template:Col-5]] sets column width for each of 5 columns.&lt;br&gt;&lt;br&gt;
 | col-6 = The [[Template:Col-6]] sets column width for each of 6 columns, with align=left, valign=top. The width, align or valign can be changed: &lt;nowiki&gt;{{col-6 |width=20%|align=right|valign=center}}&lt;/nowiki&gt;.&lt;br&gt;&lt;br&gt;
 | col-start=The [[Template:Col-start]] begins a wikitable (same as &lt;nowiki&gt;{{col-begin}}&lt;/nowiki&gt;).&lt;br&gt;&lt;br&gt;
 }}
 The {{tl|col-begin}}, {{tl|col-break}} and {{tl|col-end}} templates control columns of text on a page:
 :*&lt;nowiki&gt;{{col-begin}}&lt;/nowiki&gt; - starts a table (followed by &lt;nowiki&gt;{{col-break}}&lt;/nowiki&gt; for 1st column)
 :*&lt;nowiki&gt;{{col-break}}&lt;/nowiki&gt; - triggers the start of each column
 :*&lt;nowiki&gt;{{col-end}}&lt;/nowiki&gt; - ends the multi-column table.
 The widths of columns can be specified by using various additional codes. See below for examples.
 
 ==Usage==
 :: &lt;nowiki&gt;{{col-begin|width=70%}}&lt;/nowiki&gt; - start table with width.
 :: &lt;nowiki&gt;{{col-break|width=66%}}&lt;/nowiki&gt; - start column-1 as 66% wide.
 :: This is text in col-1.
 :: &lt;nowiki&gt;{{col-break|width=33%}}&lt;/nowiki&gt; - start column-2 as 33% wide.
 :: Text column-2.
 :: &lt;nowiki&gt;{{col-end}}&lt;/nowiki&gt;
 The table will have 2 columns, with column 1 twice (2x) the width of column 2.
 
 A border of 2px (1px width on each side) corresponds to a 5%. Therefore, with a 2px border — for example, as in [[Wikipedia:Tutorial (Wrap-up and more info)]] — the width needs to be 95% for the table to fit within the screen. Since it's possible that some tables might not have a border, correction on the individual page could be made after substitution. Another way to create a two column table is like this:
 
 {|
 |
 &lt;pre&gt;
 {{col-begin|width=95%}}
 |-
 | 
 Left column
 |
 Right column
 |}
 &lt;/pre&gt;
 |}
 
 {{col-begin}}
 
 {{col-1-of-4}}
 
  {{tl|Col-begin}}
  {{tl|Col-2}}
  Column 1 here
  {{tl|Col-2}}
  Column 2 here
  {{tl|Col-end}}
 
 {{col-2-of-4}}
 
  {{tl|Col-begin}}
  {{tl|Col-3}}
  Column 1 here
  {{tl|Col-3}}
  Column 2 here
  {{tl|Col-3}}
  Column 3 here
  {{tl|Col-end}}
 
 {{col-3-of-4}}
 
  {{tl|Col-begin}}
  {{tl|Col-4}}
  Column 1 here
  {{tl|Col-4}}
  Column 2 here
  {{tl|Col-4}}
  Column 3 here
  {{tl|Col-4}}
  Column 4 here
  {{tl|Col-end}}
 
 {{col-4-of-4}}
 
  and so on, up to {{tl|Col-5}}
 
 {{col-end}}
 
 {{col-begin}}
 
 {{col-1-of-4}}
 
  &amp;#123;{[[Template:Col-begin|Col-begin]]|class=references-small}}
  {{tl|Col-break}}
  Column 1 here
  {{tl|Col-break}}
  Column 2 here
  {{tl|Col-break}}
  Column 3 here
  {{tl|Col-break}}
  Column 4 here
  {{tl|Col-break}}
  Column 5 here
  {{tl|Col-break}}
  Column 6 here
  {{tl|Col-end}}
 
 {{col-2-of-4}}
 
  {{tl|Top}}
  Column 1 here
  {{tl|Mid}}
  Column 2 here
  {{tl|Bottom}}
 
 {{col-3-of-4}}
 
  &amp;#123;{[[Template:Columns-start|Columns-start]]|num=3}}
  Column 1 here
  {{tl|Column}}
  Column 2 here
  {{tl|Column}}
  Column 3 here
  {{tl|Columns-end}}
 
 {{col-4-of-4}}
 
  {{tl|Multicol}}
  Column 1 here
  {{tl|Multicol-break}}
  Column 2 here
  {{tl|Multicol-break}}
  Column 3 here
  {{tl|Multicol-break}}
  Column 4 here
  {{tl|Multicol-end}}
 
 {{col-end}}
 
 ==Examples==
 : See: [[Template:Col-break/examples|Col-break/examples]].
 
 === Column-generating template families ===
 {{Caution|1='''The templates listed here are not interchangeable'''. For example, using {{tl|col-float}} with {{tl|col-end}} instead of {{tl|col-float-end}} would leave a [[HTML]] [[Span and div|&quot;div&quot; (division)]] open, potentially harming any subsequent formatting.}}
 &lt;section begin=&quot;table&quot; /&gt;
 {| class=&quot;wikitable nowrap&quot; style=&quot;line-height:1.4em&quot;
 |-
  ! Family
  ! Type
  ! {{longitem|Handles wiki &lt;br/&gt;&amp;nbsp;table code?{{sup|{{dagger}}}}}}
  ! Start template
  ! Column divider
  ! End template
 |- style=&quot;vertical-align:middle;&quot;
  | style=&quot;text-align:center;&quot; | &quot;Col&quot;
  | Table
  | style=&quot;text-align:center;&quot;   {{yes}}
  | {{tl|Col-begin}}, &lt;br/&gt;{{tl|Col-begin-fixed}} or&lt;br/&gt;{{tl|Col-begin-small}}
  | {{tl|Col-break}} or&lt;br/&gt;{{tl|Col-2}} .. {{tl|Col-5}}
  | {{tl|Col-end}}
 |-
  | style=&quot;text-align:center;&quot; | &quot;Col-float&quot;
  | CSS float
  | style=&quot;text-align:center;&quot;   {{yes}}
  | {{tl|Col-float}}
  | {{tl|Col-float-break}}
  | {{tl|Col-float-end}}
 |-
  | style=&quot;text-align:center;&quot; | &quot;Columns&quot;
  | Table
  | style=&quot;text-align:center;&quot;   {{no}}
  | {{tl|Columns}}
  | –
  | –
 |-
  | style=&quot;text-align:center;&quot; | &quot;Columns-list&quot;
  | CSS columns
  | style=&quot;text-align:center;&quot;   {{yes}}
  | {{tl|Columns-list}} (wrapper)
  | –
  | – 
 |-
  | style=&quot;text-align:center;&quot; | &quot;Columns-start&quot;
  | CSS float
  | style=&quot;text-align:center;&quot;   {{yes}}
  | {{tl|Columns-start}}
  | {{tl|Column}}
  | {{tl|Columns-end}}
 |-
  | style=&quot;text-align:center;&quot; | &quot;Div col&quot;
  | CSS columns
  | style=&quot;text-align:center;&quot;   {{yes}}
  | {{tl|Div col}}
  | –
  | {{tl|Div col end}}
 |}
 {{sup|{{dagger}}}} [[Id est|I.e.]], can the columns handle the [[Help:Wiki markup|wiki markup]] &lt;nowiki&gt;{|  |  ||  |-  |}&lt;/nowiki&gt; [[Help:Tables|used to create tables]]? If not, templates that produce these elements (such as {{tl|(!}}, {{tl|!}}, {{tl|!!}}, {{tl|!-}}, {{tl|!)}}) and/or [[HTML element|HTML tags]] ({{tag|table}}, {{tag|tr}}, etc.) will need to be used instead.&lt;section end=&quot;table&quot; /&gt;&lt;noinclude&gt;
 {{Documentation
  | content =
 Used by {{tl|Column templates}} to provide links to column-related templates.
 
 [[Category:Multi-column templates| ]]
 [[Category:Related-topic templates]]
 
 }}&lt;!-- (end Documentation) --&gt;
 &lt;/noinclude&gt;
 
 ==External links==
 * [http://www.htmlcodetutorial.com/_MULTICOL.html MULTICOL HTML tag]
 * [https://developer.mozilla.org/en/docs/CSS3_Columns CSS3 Columns], -moz-column-count
 
 {{Selfref|This [[Wikipedia:Template|template]] is a [[Wikipedia:Avoid self-references|self-reference]] and so is part of the Wikipedia project rather than the encyclopedic content.}}
 
 &lt;includeonly&gt;
 &lt;!-- ADD CATEGORIES BELOW THIS LINE --&gt;
 [[Category:Table and column templates|{{SUBJECTPAGENAME}}]]
 
 &lt;!-- ADD INTERWIKIS BELOW THIS LINE --&gt;
 [[be-x-old:Шаблён:Слупок-пачатак]]
 [[cs:Šablona:Col-begin]]
 [[cy:Nodyn:Col-begin]]
 [[el:Πρότυπο:Col-begin]]
 [[en:Template:Col begin]]
 [[eo:Ŝablono:Kol-komenco]]
 [[fa:الگو:Col-begin]]
 [[fr:Modèle:Col-début]]
 [[hr:Predložak:Col-begin]]
 [[ja:Template:Col-begin]]
 [[ka:თარგი:Col-begin]]
 [[ko:틀:Col-begin]]
 [[no:Mal:Col-begin]]
 [[nn:Mal:Kol-start]]
 [[pt:Predefinição:Col-begin]]
 [[sv:Mall:Col-begin]]
 [[zh:Template:Col-begin]]