Template:Col-break
From Wikisource
| width="" align="left" valign="top" |
This template is a self-reference and so is part of the Wikipedia project rather than the encyclopedic content.
Contents |
Usage [edit]
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:
{{col-begin|width=95%}}
|-
|
Left column
|
Right column
|}
|
Examples [edit]
See also [edit]
- {{Col-begin}} ({{Col-start}}), {{Col-begin-small}}
- {{Col-6}} ({{Col-1-of-6}}, {{Col-2-of-6}}, {{Col-3-of-6}}, {{Col-4-of-6}}, {{Col-5-of-6}}, {{Col-6-of-6}})
- {{Col-break}}
- {{Col-end}} ({{End}})
- {{Multicol}}, {{Multicol-break}}, {{Multicol-end}}
External links [edit]
- MULTICOL HTML tag
- CSS3 Columns, -moz-column-count
| The above documentation is transcluded from Template:Col-begin/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |