Шаблон:Columns-list

Материал из Dwarf Fortress Wiki
Перейти к навигацииПерейти к поиску


Columns-list is wrapper template that turns a list into a list with columns. It's a rudimentary variant of the template from wikipidea see Columns-list Div_col.

Use

The width of each column may be specified using colwidth and a value in ems (default:20em).

{{columns-list|colwidth=width|
Text (usually a list)
}}

Here, width specifies the width of the columns, and determines dynamically the number of columns based on screen width; more columns will be shown on wider displays.

Example

colwidth=20em

  • a
  • b
  • c
  • d
  • e
  • f
  • g
  • h

colwidth=30em

  • a
  • b
  • c
  • d
  • e
  • f
  • g
  • h