Template:exp-topx

Makes X columns from X child elements via CSS grid-auto-flow:

  • {{topx}} (beginning of first column)
  • {{bl}} (column break)
  • {{bottom}} (end of last column)

Parameters edit

  • {{topx}}: different-width columns (auto)
  • {{topx+}}: same-width columns (1fr)
  • {{exp-topx}}: expandable

Examples edit

{{topx}}
* 111 111 111
** 222
** 222
** 222
** 222
** 222
{{bl}}
* 111
** 222
{{bl}}
* 111
** 222
* 111
** 222
** 222
{{bottom}}
  • 111 111 111
    • 222
    • 222
    • 222
    • 222
    • 222
  • 111
    • 222
  • 111
    • 222
  • 111
    • 222
    • 222
{{topx+}}
* 111 111 111
** 222
** 222
** 222
** 222
** 222
{{bl}}
* 111
** 222
{{bl}}
* 111
** 222
* 111
** 222
** 222
{{bottom}}
  • 111 111 111
    • 222
    • 222
    • 222
    • 222
    • 222
  • 111
    • 222
  • 111
    • 222
  • 111
    • 222
    • 222
{{exp-topx}}
* 111
** 222
** 222
** 222
** 222
** 222
{{bl}}
* 111
** 222
{{bl}}
* 111
** 222
* 111
** 222
** 222
{{bottom}}
  • 111
    • 222
    • 222
    • 222
    • 222
    • 222
  • 111
    • 222
  • 111
    • 222
  • 111
    • 222
    • 222