Template:topx
Jump to navigation
Jump to search
- The following documentation is located at Template:topx/documentation. [edit]
- Useful links: subpage list • links • redirects • transclusions • errors (parser/module) • sandbox
See also: Template:hcol and Template:top2
Makes X columns from X child elements via CSS grid-auto-flow:
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