3 831 byte aggiunti
, 17 anni fa
<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
This [[Wikipedia:Template|Template]] is a [[Wikipedia:Avoid self-references|self-reference]] and so is part of the Wikipedia project rather than the encyclopaedic content.
==Usage==
A border of 2px (1px width on each side) corresponds to a 5%. Therefore, with a 2px border — like on [[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 do a two column table is like this:
{|
|
<pre>
{{col-begin|width=95%}}
|-
|
Left column
|
Right column
|}
</pre>
|}
{{col-begin}}
{{col-1-of-3}}
{{tl|Col-begin}}
{{tl|Col-1-of-2}}
Column 1 here
{{tl|Col-2-of-2}}
Column 2 here
{{tl|Col-end}}
{{col-2-of-3}}
{{tl|Col-begin}}
{{tl|Col-1-of-3}}
Column 1 here
{{tl|Col-2-of-3}}
Column 2 here
{{tl|Col-3-of-3}}
Column 3 here
{{tl|Col-end}}
{{col-3-of-3}}
{{tl|Col-begin}}
{{tl|Col-1-of-4}}
Column 1 here
{{tl|Col-2-of-4}}
Column 2 here
{{tl|Col-3-of-4}}
Column 3 here
{{tl|Col-4-of-4}}
Column 4 here
{{tl|Col-end}}
{{col-end}}
{{col-begin}}
{{col-1-of-3}}
{{[[Template:Col-begin|Col-begin]]|width=}}
{{tl|Col-1-of-5}}
Column 1 here
{{tl|Col-2-of-5}}
Column 2 here
{{tl|Col-3-of-5}}
Column 3 here
{{tl|Col-4-of-5}}
Column 4 here
{{tl|Col-5-of-5}}
Column 5 here
{{tl|Col-end}}
{{col-2-of-3}}
{{[[Template:Col-begin|Col-begin]]|bgColor=transparent}}
{{tl|Col-1-of-6}}
Column 1 here
{{tl|Col-2-of-6}}
Column 2 here
{{tl|Col-3-of-6}}
Column 3 here
{{tl|Col-4-of-6}}
Column 4 here
{{tl|Col-5-of-6}}
Column 5 here
{{tl|Col-6-of-6}}
Column 6 here
{{tl|Col-end}}
{{col-3-of-3}}
{{[[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-end}}
{{col-begin}}
{{col-1-of-3}}
{{tl|Top}}
Column 1 here
{{tl|Mid}}
Column 2 here
{{tl|Bottom}}
{{col-2-of-3}}
{{[[Template:Columns-start|Columns-start]]|num=3}}
Column 1 here
{{tl|Column}}
Column 2 here
{{tl|Column}}
Column 3 here
{{tl|Columns-end}}
{{col-3-of-3}}
{{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}}
==See also==
* {{tl|Col-begin}} ({{tl|Col-start}}), {{tl|Col-begin-small}} {{lts/|Col-begin}}
* {{tl|Col-2}} <small>({{tl|Col-1-of-2}}, {{tl|Col-2-of-2}})</small>
* {{tl|Col-3}} <small>({{tl|Col-1-of-3}}, {{tl|Col-2-of-3}}, {{tl|Col-3-of-3}})</small>
* {{tl|Col-4}} <small>({{tl|Col-1-of-4}}, {{tl|Col-2-of-4}}, {{tl|Col-3-of-4}}, {{tl|Col-4-of-4}})</small>
* {{tl|Col-5}} <small>({{tl|Col-1-of-5}}, {{tl|Col-2-of-5}}, {{tl|Col-3-of-5}}, {{tl|Col-4-of-5}}, {{tl|Col-5-of-5}})</small>
* {{tl|Col-6}} <small>({{tl|Col-1-of-6}}, {{tl|Col-2-of-6}}, {{tl|Col-3-of-6}}, {{tl|Col-4-of-6}}, {{tl|Col-5-of-6}}, {{tl|Col-6-of-6}})</small>
** {{tl|Col-break}}
** {{tl|Col-end}} ({{tl|End}})
* {{tl|Top}}, {{tl|Mid}}, {{tl|Bottom}}
* {{tl|Columns-start}}, {{tl|Column}}, {{tl|Columns-end}} {{lts/|Columns-start}}
* {{tl|Multicol}}, {{tl|Multicol-break}}, {{tl|Multicol-end}} {{lts/|Multicol}}
* [[Wikipedia talk:Manual of Style/Archive 35#Columns in articles]]
==External links==
* [http://www.htmlcodetutorial.com/_MULTICOL.html MULTICOL HTML tag]
<includeonly>
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:Wikipedia special effects templates|{{SUBJECTPAGENAME}}]]