Template:Multi-column: Difference between revisions

From Rhythm Heaven Resource
Jump to navigationJump to search
miraheze>Viviancherry
(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:{{...")
 
m (1 revision imported)
 
(No difference)

Latest revision as of 23:34, 2 September 2023

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