"ଛାଞ୍ଚ:Col-break" ପୃଷ୍ଠାର ସଂସ୍କରଣଗୁଡ଼ିକ ମଧ୍ୟରେ ତଫାତ
ଟିକେ en:ଟେମ୍ପଲେଟ:Col-break ଭିତରୁ ୧ ଗୋଟି ସଂସ୍କରଣ |
ଟିକେ r2.7.3) (Robot: Adding ab, ace, af, am, an, ang, ar, arz, as, ba, bat-smg, be, bg, bjn, bn, bo, br, bs, bug, bxr, ca, chr, ckb, cs, cy, da, diq, dv, ee, el, en, es, et, eu, fa, fr, gan, gl, gu, gv, ha, hi, hr, hu, hy, id, ilo, is, it, ja, jv, ka, kaa, ... |
||
୨ କ ଧାଡ଼ି: | ୨ କ ଧାଡ଼ି: | ||
| {{#if:{{{width<includeonly>|</includeonly>}}}|width="{{{width}}}"}} align="{{{align|left}}}" valign="{{{valign|top}}}" {{#if: {{{gap<includeonly>|</includeonly>}}} | style="padding-left:{{{gap}}};" }}|<noinclude> |
| {{#if:{{{width<includeonly>|</includeonly>}}}|width="{{{width}}}"}} align="{{{align|left}}}" valign="{{{valign|top}}}" {{#if: {{{gap<includeonly>|</includeonly>}}} | style="padding-left:{{{gap}}};" }}|<noinclude> |
||
{{doc}} |
{{doc}} |
||
[[ab:Ашаблон:Col-break]] |
|||
[[ace:Pola:Col-break]] |
|||
[[af:Sjabloon:Col-break]] |
|||
[[am:መለጠፊያ:Col-break]] |
|||
[[an:Plantilla:Col-break]] |
|||
[[ang:Bysen:Col-break]] |
|||
[[ar:قالب:Col-break]] |
|||
[[arz:قالب:Col-break]] |
|||
[[as:সাঁচ:Col-break]] |
|||
[[ba:Ҡалып:Col-break]] |
|||
[[bat-smg:Šabluons:Col-break]] |
|||
[[be:Шаблон:Col-break]] |
|||
[[bg:Шаблон:Col-break]] |
|||
[[bjn:Citakan:Col-break]] |
|||
[[bn:টেমপ্লেট:Col-break]] |
|||
[[bo:Template:Col-break]] |
|||
[[br:Patrom:Col-break]] |
|||
[[bs:Šablon:Col-break]] |
|||
[[bug:Templat:Col-break]] |
|||
[[bxr:Template:Col-break]] |
|||
[[ca:Plantilla:Col-break]] |
|||
[[chr:Template:Col-break]] |
|||
[[ckb:داڕێژە:Col-break]] |
|||
[[cs:Šablona:Col-break]] |
|||
[[cy:Nodyn:Col-break]] |
|||
[[da:Skabelon:Col-break]] |
|||
[[diq:Şablon:Col-break]] |
|||
[[dv:ފަންވަތް:Col-break]] |
|||
[[ee:Template:Col-break]] |
|||
[[el:Πρότυπο:Col-break]] |
|||
[[en:Template:Col-break]] |
|||
[[es:Plantilla:Col-break]] |
|||
[[et:Mall:Veerg-piir]] |
|||
[[eu:Txantiloi:Col-break]] |
|||
[[fa:الگو:Col-break]] |
|||
[[fr:Modèle:Col-break]] |
|||
[[gan:模板:Col-break]] |
|||
[[gl:Modelo:Col-break]] |
|||
[[gu:ઢાંચો:Col-break]] |
|||
[[gv:Clowan:Col-brishey]] |
|||
[[ha:Template:Col-break]] |
|||
[[hi:साँचा:Col-break]] |
|||
[[hr:Predložak:Col-break]] |
|||
[[hu:Sablon:Col-break]] |
|||
[[hy:Կաղապար:Col-break]] |
|||
[[id:Templat:Col-break]] |
|||
[[ilo:Plantilia:Col-break]] |
|||
[[is:Snið:Col-break]] |
|||
[[it:Template:Colonne spezza]] |
|||
[[ja:Template:Col-break]] |
|||
[[jv:Cithakan:Col-break]] |
|||
[[ka:თარგი:სვეტი-გაყოფა]] |
|||
[[kaa:Shablon:Col-break]] |
|||
[[kk:Үлгі:Col-break]] |
|||
[[km:ទំព័រគំរូ:Col-break]] |
|||
[[kn:ಟೆಂಪ್ಲೇಟು:Col-break]] |
|||
[[ko:틀:Col-break]] |
|||
[[koi:Шаблон:Col-break]] |
|||
[[krc:Шаблон:Col-break]] |
|||
[[kw:Skantlyn:Col-break]] |
|||
[[ky:Калып:Col-break]] |
|||
[[lg:Template:Col-break]] |
|||
[[lt:Šablonas:Col-break]] |
|||
[[lv:Veidne:Col-break]] |
|||
[[map-bms:Cithakan:Col-break]] |
|||
[[mg:Endrika:Col-break]] |
|||
[[min:Templat:Col-break]] |
|||
[[mk:Шаблон:Колона-прелом]] |
|||
[[ml:ഫലകം:Col-break]] |
|||
[[mn:Загвар:Col-break]] |
|||
[[mr:साचा:Col-break]] |
|||
[[ms:Templat:Col-break]] |
|||
[[mt:Mudell:Col-break]] |
|||
[[mwl:Modelo:Col-break]] |
|||
[[my:Template:Col-break]] |
|||
[[mzn:شابلون:Col-break]] |
|||
[[nah:Nemachiyōtīlli:Col-break]] |
|||
[[nap:Modello:Col-break]] |
|||
[[ne:ढाँचा:Col-break]] |
|||
[[new:Template:Col-break]] |
|||
[[nn:Mal:Kol-bryting]] |
|||
[[no:Mal:Col-break]] |
|||
[[nso:Template:Col-break]] |
|||
[[ny:Template:Col-break]] |
|||
[[pa:ਫਰਮਾ:Col-break]] |
|||
[[pam:Template:Col-break]] |
|||
[[pcd:Modèle:Col-break]] |
|||
[[pl:Szablon:Col-break]] |
|||
[[pt:Predefinição:Col-break]] |
|||
[[qu:Plantilla:Col-break]] |
|||
[[ro:Format:Col-break]] |
|||
[[ru:Шаблон:Столбец]] |
|||
[[rw:Template:Col-break]] |
|||
[[sa:फलकम्:Col-break]] |
|||
[[sah:Халыып:Col-break]] |
|||
[[sco:Template:Col-break]] |
|||
[[sh:Šablon:Col-break]] |
|||
[[si:සැකිල්ල:Col-break]] |
|||
[[simple:Template:Col-break]] |
|||
[[sk:Šablóna:Col-break]] |
|||
[[sl:Predloga:Col-break]] |
|||
[[sq:Stampa:Col-break]] |
|||
[[sr:Шаблон:Col-break]] |
|||
[[ss:Template:Col-break]] |
|||
[[st:Template:Col-break]] |
|||
[[su:Citakan:Col-break]] |
|||
[[sv:Mall:Col-break]] |
|||
[[sw:Kigezo:Col-break]] |
|||
[[ta:வார்ப்புரு:Col-break]] |
|||
[[te:మూస:Col-break]] |
|||
[[tet:Template:Col-break]] |
|||
[[th:แม่แบบ:Col-break]] |
|||
[[tl:Padron:Col-break]] |
|||
[[tn:Template:Col-break]] |
|||
[[tr:Şablon:Col-break]] |
|||
[[ts:Template:Col-break]] |
|||
[[tt:Калып:Col-break]] |
|||
[[tum:Template:Col-break]] |
|||
[[tw:Template:Col-break]] |
|||
[[udm:Шаблон:Столбец]] |
|||
[[uk:Шаблон:Col-break]] |
|||
[[ur:سانچہ:Col-break]] |
|||
[[uz:Andoza:Col-break]] |
|||
[[ve:Template:Col-break]] |
|||
[[vi:Bản mẫu:Col-break]] |
|||
[[war:Batakan:Col-break]] |
|||
[[wuu:模板:Col-break]] |
|||
[[xh:Template:Col-break]] |
|||
[[xmf:თარგი:სჷმეტი-გორთუალა]] |
|||
[[yi:מוסטער:עמוד-שפאלט]] |
|||
[[yo:Àdàkọ:Col-break]] |
|||
[[zh:Template:Col-break]] |
|||
[[zh-yue:Template:Col-break]] |
|||
[[zu:Template:Col-break]] |
|||
</noinclude> |
</noinclude> |
୧୪:୫୪, ୨୮ ଫେବୃଆରୀ ୨୦୧୩ ଅନୁସାରେ କରାଯାଇଥିବା ବଦଳ
| width="{{{width}}}" align="left" valign="top" style="padding-left:{{{gap}}};"|
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
- {{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 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.
Type | Family | Handles wiki
table code? |
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}} |
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