• ପ୍ରଧାନ ପୃଷ୍ଠା
  • ଯାହିତାହି
  • ପାଖାପାଖି
  • ଲଗ-ଇନ
  • ସଜାଣି
  • ଦାନ
  • ଉଇକିପିଡ଼ିଆ ବାବଦରେ
  • ଆମେ ଦାୟୀ ନୋହୁଁ
ଉଇକିପିଡ଼ିଆ

ଛାଞ୍ଚ:Columns-start

  • ଭାଷା
  • ଦେଖିବେ
  • ସମ୍ପାଦନ କରନ୍ତୁ
Template documentation[view] [edit] [history] [purge]
Column Templates
Multicol
{{Multicol}}Start
{{Multicol-break}}Break
{{Multicol-end}}End
Col-Break
{{Col-begin}}Start
{{Col-break}}Break
{{Col-end}}End
Col-float
{{Col-float}}Start
{{Col-float-break}}Break
{{Col-float-end}}End
Columns-start
{{Columns-start}}Start
{{Column}}Break
{{Columns-end}}End


The {{col-begin}}, {{col-break}} and {{col-end}} templates control columns of text on a page:

  • {{col-begin}}: starts a table (followed by {{col-break}} for 1st column)
  • {{col-break}}: triggers the start of each column
  • {{col-end}}: ends the multi-column table.

The widths of columns can be specified by using various additional codes. See below for examples.

ବିଷୟସୂଚୀ

  • ୧ Usage
    • ୧.୧ Examples
  • ୨ See also
    • ୨.୧ Column-generating template families
  • ୩ External links

Usageସମ୍ପାଦନ କରନ୍ତୁ

{{col-begin|width=70%}}: start table with width.
{{col-break|width=66%}}: start column-1 as 66% wide.
This is text in col-1.
{{col-break|width=33%}}: start column-2 as 33% wide.
Text column-2.
{{col-end}}

The table will have two columns, with column 1 twice (2×) 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:

{{col-begin|width=95%}}
|-
| 
Left column
|
Right column
|}

{{Col-begin}}
{{Col-2}}
Column 1 here
{{Col-2}}
Column 2 here
{{Col-end}}

{{Col-begin}}
{{Col-3}}
Column 1 here
{{Col-3}}
Column 2 here
{{Col-3}}
Column 3 here
{{Col-end}}

and so on, up to {{Col-5}}

{{Col-begin}}
{{Col-break}}
Column 1 here
{{Col-break}}
Column 2 here
{{Col-break}}
Column 3 here
{{Col-break}}
Column 4 here
{{Col-break}}
Column 5 here
{{Col-break}}
Column 6 here
{{Col-end}}

{{Columns-start|num=3}}
Column 1 here
{{Column}}
Column 2 here
{{Column}}
Column 3 here
{{Columns-end}}

{{Multicol}}
Column 1 here
{{Multicol-break}}
Column 2 here
{{Multicol-break}}
Column 3 here
{{Multicol-break}}
Column 4 here
{{Multicol-end}}

Examplesସମ୍ପାଦନ କରନ୍ତୁ

  • See: Template:Col-break/examples

See alsoସମ୍ପାଦନ କରନ୍ତୁ

Column-generating template familiesସମ୍ପାଦନ କରନ୍ତୁ

The templates listed here are not interchangeable. For example, using {{col-float}} with {{col-end}} instead of {{col-float-end}} would leave a HTML "div" (division) open, potentially harming any subsequent formatting.

Column templates
Type Family
Handles wiki
 table code?dagger
Responsive/
Mobile suited
Start template Column divider End template
Float "Col-float" Yes Yes {{Col-float}} {{Col-float-break}} {{Col-float-end}}
"Columns-start" Yes Yes {{Columns-start}} {{Column}} {{Columns-end}}
Columns "Div col" Yes Yes {{Div col}} – {{Div col end}}
"Columns-list" No Yes {{Columns-list}} (wraps div col) – –
Flexbox "Flex columns" No Yes {{Flex columns}} – –
Table "Col" Yes No {{Col-begin}},
{{Col-begin-fixed}} or
{{Col-begin-small}}
{{Col-break}} or
{{Col-2}} .. {{Col-5}}
{{Col-end}}

dagger Can the columns handle the wiki markup {| | || |- |} used to create tables? If not, templates that produce these elements (such as {{(!}}, {{!}}, {{!!}}, {{!-}}, {{!)}}) or HTML tags (<table>...</table>, <tr>...</tr>, etc.) will need to be used instead.

External linksସମ୍ପାଦନ କରନ୍ତୁ

  • HTML MULTICOL Code Tutorial
  • Using CSS multi-column layouts


This template is a self-reference and so is part of the Wikipedia project rather than the encyclopedic content.
The above documentation is transcluded from ଛାଞ୍ଚ:Columns-start/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
"https://or.wikipedia.org/w/index.php?title=ଛାଞ୍ଚ:Columns-start&oldid=435822"ରୁ ଅଣାଯାଇଅଛି
Last edited on ୨୩ ଅଗଷ୍ଟ ୨୦୨୧, at ୧୯:୪୬

Languages

    • العربية
    • الدارجة
    • অসমীয়া
    • भोजपुरी
    • বাংলা
    • Bosanski
    • کوردی
    • Dansk
    • English
    • Esperanto
    • Føroyskt
    • Français
    • ગુજરાતી
    • Bahasa Indonesia
    • Ilokano
    • 日本語
    • 한국어
    • Latviešu
    • Македонски
    • മലയാളം
    • Bahasa Melayu
    • မြန်မာဘာသာ
    • नेपाली
    • नेपाल भाषा
    • Nederlands
    • Occitan
    • ਪੰਜਾਬੀ
    • Português
    • Română
    • Scots
    • ၽႃႇသႃႇတႆး
    • Simple English
    • Slovenščina
    • Српски / srpski
    • தமிழ்
    • తెలుగు
    • Tagalog
    • اردو
    • Tiếng Việt
    • 中文
    ଉଇକିପିଡ଼ିଆ
    • ଏ ପୃଷ୍ଠାଟି ୨୩ ଅଗଷ୍ଟ ୨୦୨୧ ଦିନ ୧୯:୪୬ ବେଳେ ବଦଳାଯାଇଥିଲା ।
    • ଦର୍ଶାଯାଇନଥିଲେ ସମସ୍ତ ବିଷୟବସ୍ତୁ CC BY-SA 3.0 ରେ ଉପଲବ୍ଧ ।
    • ଗୁମର ନୀତି
    • ଉଇକିପିଡ଼ିଆ ବାବଦରେ
    • ଆମେ ଦାୟୀ ନୋହୁଁ
    • ବ୍ୟବହାର ନିୟମାବଳୀ
    • ଡେସ୍କଟପ
    • ଡେଭେଲପରମାନେ
    • ପରିସଂଖ୍ୟାନ
    • କୁକି ବିବରଣୀ