Template:Columns: Difference between revisions

From The Undead Archive
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<templatestyles src="Columns/Styles.css" /><table class="multicol" style="{{#switch:{{{align|}}}
<div style="display: flex; gap: 1rem;">
  |left|right=float:{{{align}}}
<div style="flex-grow: 50vh">{{{1|}}}</div>
  |center=margin:0.5em auto
<div style="flex-grow: 50vh">{{{2|}}}</div>
  }};border-spacing:0;{{#if:{{{text-align|}}}|text-align:{{{text-align}}};}}{{{style|}}}" role="presentation">
</div>
<tr style="vertical-align:top;">
<noinclude>
<td style="width:{{{col1width|{{{colwidth|{{{width|15.0em}}}}}}}}};{{{colstyle|}}};{{{col1style|}}};">{{#ifeq:{{{col1width|{{{colwidth|{{{width|15.0em}}}}}}}}}|15.0em|[[Category:Pages using columns with the default column width{{#translation:}}]]}}
{{Columns
{{{col1}}}</td>
|There was a youth, a cruel youth, who lived beside the sea. Six little maidens he'd drowned there by the lonely willow tree.
{{#if:{{{col2<includeonly>|</includeonly>}}}
|All that I have is this dull paring knife, peeling potatoes the rest of my life. Dirt floors mean dust so I hope for the best. I carry candles with pains in my chest.
      | <td style="width:{{{gapbetween|{{{gap|1.25em}}}}}};"></td>
<td style="width:{{{col2width|{{{colwidth|{{{width|15.0em}}}}}}}}};{{{colstyle|}}};{{{col2style|}}};">{{#ifeq:{{{col2width|{{{colwidth|{{{width|15.0em}}}}}}}}}|15.0em|[[Category:Pages using columns with the default column width{{#translation:}}]]}}
{{{col2}}}</td>
}}{{#if:{{{col3<includeonly>|</includeonly>}}}
      | <td style="width:{{{gapbetween|{{{gap|1.25em}}}}}};"></td>
<td style="width:{{{col3width|{{{colwidth|{{{width|15.0em}}}}}}}}};{{{colstyle|}}};{{{col3style|}}};">{{#ifeq:{{{col3width|{{{colwidth|{{{width|15.0em}}}}}}}}}|15.0em|[[Category:Pages using columns with the default column width{{#translation:}}]]}}
{{{col3}}}</td>
}}{{#if:{{{col4<includeonly>|</includeonly>}}}
      | <td style="width:{{{gapbetween|{{{gap|1.25em}}}}}};"></td>
<td style="width:{{{col4width|{{{colwidth|{{{width|15.0em}}}}}}}}};{{{colstyle|}}};{{{col4style|}}};">{{#ifeq:{{{col4width|{{{colwidth|{{{width|15.0em}}}}}}}}}|15.0em|[[Category:Pages using columns with the default column width{{#translation:}}]]}}
{{{col4}}}</td>
}}{{#if:{{{col5<includeonly>|</includeonly>}}}
      | <td style="width:{{{gapbetween|{{{gap|1.25em}}}}}};"></td>
<td style="width:{{{col5width|{{{colwidth|{{{width|15.0em}}}}}}}}};{{{colstyle|}}};{{{col5style|}}};">{{#ifeq:{{{col5width|{{{colwidth|{{{width|15.0em}}}}}}}}}|15.0em|[[Category:Pages using columns with the default column width{{#translation:}}]]}}
{{{col5}}}</td>
}}{{#if:{{{col6<includeonly>|</includeonly>}}}
      | <td style="width:{{{gapbetween|{{{gap|1.25em}}}}}};"></td>
<td style="width:{{{col6width|{{{colwidth|{{{width|15.0em}}}}}}}}};{{{colstyle|}}};{{{col6style|}}};">{{#ifeq:{{{col6width|{{{colwidth|{{{width|15.0em}}}}}}}}}|15.0em|[[Category:Pages using columns with the default column width{{#translation:}}]]}}
{{{col6}}}</td>
}}{{#if:{{{col7<includeonly>|</includeonly>}}}
      | <td style="width:{{{gapbetween|{{{gap|1.25em}}}}}};"></td>
<td style="width:{{{col7width|{{{colwidth|{{{width|15.0em}}}}}}}}};{{{colstyle|}}};{{{col7style|}}};">{{#ifeq:{{{col7width|{{{colwidth|{{{width|15.0em}}}}}}}}}|15.0em|[[Category:Pages using columns with the default column width{{#translation:}}]]}}
{{{col7}}}</td>
}}{{#if:{{{col8<includeonly>|</includeonly>}}}
      | <td style="width:{{{gapbetween|{{{gap|1.25em}}}}}};"></td>
<td style="width:{{{col8width|{{{colwidth|{{{width|15.0em}}}}}}}}};{{{colstyle|}}};{{{col8style|}}};">{{#ifeq:{{{col8width|{{{colwidth|{{{width|15.0em}}}}}}}}}|15.0em|[[Category:Pages using columns with the default column width{{#translation:}}]]}}
{{{col8}}}</td>
}}{{#if:{{{col9<includeonly>|</includeonly>}}}
      | <td style="width:{{{gapbetween|{{{gap|1.25em}}}}}};"></td>
<td style="width:{{{col9width|{{{colwidth|{{{width|15.0em}}}}}}}}};{{{colstyle|}}};{{{col9style|}}};">{{#ifeq:{{{col9width|{{{colwidth|{{{width|15.0em}}}}}}}}}|15.0em|[[Category:Pages using columns with the default column width{{#translation:}}]]}}
{{{col9}}}</td>
}}{{#if:{{{col10<includeonly>|</includeonly>}}}
      | <td style="width:{{{gapbetween|{{{gap|1.25em}}}}}};"></td>
<td style="width:{{{col10width|{{{colwidth|{{{width|15.0em}}}}}}}}};{{{colstyle|}}};{{{col10style|}}};">{{#ifeq:{{{col10width|{{{colwidth|{{{width|15.0em}}}}}}}}}|15.0em|[[Category:Pages using columns with the default column width{{#translation:}}]]}}
{{{col10}}}</td>
}}
}}
</tr></table><noinclude>{{Documentation}} </noinclude>
</noinclude>

Latest revision as of 19:23, 20 June 2026

There was a youth, a cruel youth, who lived beside the sea. Six little maidens he'd drowned there by the lonely willow tree.
All that I have is this dull paring knife, peeling potatoes the rest of my life. Dirt floors mean dust so I hope for the best. I carry candles with pains in my chest.