ਫਰਮਾ:Col-begin/doc
(ਫਰਮਾ:Col-end/doc ਤੋਂ ਮੋੜਿਆ ਗਿਆ)
This is a documentation subpage for ਫਰਮਾ:Col-begin. It contains usage information, categories and other content that is not part of the original ਫਰਮਾ page. |
This template is a self-reference and so is part of the Wikipedia project rather than the encyclopedic content.
Usage
ਸੋਧੋ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 |}</div><!-- because there is a DIV in the opening template. --> |
{{Multicol}}
Column 1 here
{{Multicol-break}}
Column 2 here
{{Multicol-break}}
Column 3 here
{{Multicol-break}}
Column 4 here
{{Multicol-end}}
Examples
ਸੋਧੋSee also
ਸੋਧੋ- {{Col-begin}} ({{Col-start}}), {{Col-begin-small}}
- {{Col-6}} ({{Col-1-of-6}}
- {{Col-break}}
- {{Col-end}}
- {{Multicol}}, {{Multicol-break}}, {{Multicol-end}}
External links
ਸੋਧੋ- MULTICOL HTML tag
- CSS3 Columns, -moz-column-count