Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Cols: Difference between revisions

Template page
mNo edit summary
Add the width parameter
Line 1: Line 1:
<includeonly>{| class="multicol" style="{{{style|width: 100%;}}}border-collapse:collapse;"
<includeonly>{| class="multicol" style="width:{{{width|100%}}};table-layout:fixed;padding:0;border:0;border-collapse:collapse;{{{style|}}}"
|- style="vertical-align: top;"
|- style="vertical-align: top;"
| style="width: {{{w1|{{#if: {{{2|}}} | {{#if: {{{3|}}} | {{#if: {{{4|}}} | {{#if: {{{5|}}} | {{#if: {{{6|}}} |16%|20%}}|25%}}|33%}}|50%}}|100%}}}}};" |
| {{#if:{{{w1|}}}|style="width: {{{w1}}};"}} |
{{{1}}}
{{{1}}}
{{#if: {{{2|}}} |  
{{#if: {{{2|}}} |  
{{!}} style="width: {{{w2|{{#if: {{{3|}}} |{{#if: {{{4|}}} |{{#if: {{{5|}}} |{{#if: {{{6|}}} |17%|20%}}|25%}}|34%}}|50%}}}}};" {{!}}
{{!}} {{#if:{{{w2|}}}|style="width: {{{w2}}};"}} {{!}}
{{{2}}}
{{{2}}}
{{#if: {{{3|}}} |  
{{#if: {{{3|}}} |  
{{!}} style="width: {{{w3|{{#if: {{{4|}}} |{{#if: {{{5|}}} |{{#if: {{{6|}}} |17%|20%}}|25%}}|33%}}}}};" {{!}}
{{!}} {{#if:{{{w3|}}}|style="width: {{{w3}}};"}} {{!}}
{{{3}}}
{{{3}}}
{{#if: {{{4|}}} |  
{{#if: {{{4|}}} |  
{{!}} style="width: {{{w4|{{#if: {{{5|}}} |{{#if: {{{6|}}} |17%|20%}}|25%}}}}};" {{!}}
{{!}} {{#if:{{{w4|}}}|style="width: {{{w4}}};"}} {{!}}
{{{4}}}
{{{4}}}
{{#if: {{{5|}}} |  
{{#if: {{{5|}}} |  
{{!}} style="width: {{{w5|{{#if: {{{6|}}} |17%|20%}}}}};" {{!}}
{{!}} {{#if:{{{w5|}}}|style="width: {{{w5}}};"}} {{!}}
{{{5}}}
{{{5}}}
{{#if: {{{6|}}} |  
{{#if: {{{6|}}} |  
{{!}} style="width: {{{w6|16%}}};" {{!}}
{{!}} {{#if:{{{w6|}}}|style="width: {{{w6}}};"}} {{!}}
{{{6}}} | }} | }} | }} | }} | }}
{{{6}}} | }} | }} | }} | }} | }}
|}</includeonly><noinclude>
|}</includeonly><noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Revision as of 08:40, 21 June 2019

Template documentation[ view · edit · history · purge ]
This documentation is transcluded from Template:Cols/doc.
Not to be confused with {{Col-begin}}, {{Div col}}, or {{Div-col}}.

To use this template, follow this examples:

Wikitext:

{{Cols
|
Text of column 1.
|
Text of column 2.
}}

This markup text will render like this:

Text of column 1.

Text of column 2.

See also

Contents
Cookies help us deliver our services. By using our services, you agree to our use of cookies.