Template:Div col

From bg3.wiki
Jump to navigation Jump to search
Template documentation

See: https://www.mediawiki.org/wiki/Template:Div_col

Allows a list to automatically span across multiple columns, fitting to screen dimensions.

Takes optional colwidth (CSS column-width), gap (CSS column-gap), and style (arbitrary CSS) parameters.

Example:

Markup
{{div col}}
* a
* b
* c
* d
* e
* f
* g
* h
{{div col end}}
Renders as
  • a
  • b
  • c
  • d
  • e
  • f
  • g
  • h
Markup
{{div col | style = list-style: none; }}
* a
* b
* c
* d
* e
* f
{{div col end}}
Renders as
  • a
  • b
  • c
  • d
  • e
  • f