Template:Multi-column

From MK7
Revision as of 17:48, 16 March 2019 by Tock (talk | contribs) (Created page with "<includeonly><table class=multi-col {{#switch:{{{margin}}}|bottom=style=margin-bottom:-1em}}><tr> <td class=left-col style=width:{{#if:{{{3|}}}|30|50}}%>{{{1|}}}</td> {{#if:{{...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Support of 2 or 3 columns

Usage: {{multi-column|left|middle|right}}

  • left: text of left column.
  • middle: text for middle column. Empty for 2-column design.
  • right: text of right column. In 3-column mode this column is wider (40%).

Example with 2 columns

red
left column
blue
right column with a long long long long long long text

Example with 3 columns

red
left column
green
middle column
blue
right column with a long long long long long long text