v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Template:Columns-list

From Dwarf Fortress Wiki
Revision as of 11:55, 2 January 2023 by Jan (talk | contribs) (added class)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


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[edit]

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[edit]

colwidth=20em

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

colwidth=30em

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