×
Create a new article
Write your page title here:
We currently have 142 articles on The Sonic the Hedgehog Wiki. Type your article name above or click on one of the titles below and start writing!



The Sonic the Hedgehog Wiki
This subpage contains documentation, categories and other content that is not part of the template.
To view the template page itself, see Template:Div col.

This template (short for division columns) formats a list into columns that wrap at multiple screen resolutions. It automatically breaks the available screen space into equal parts, meaning, for instance, that it is not necessary to guess how many columns to use and then count the dividing point(s) to divide the list into these columns.

Usage[edit source]

{{Div col |colwidth = 20em |content = 
*A
*B
*C
*D
*E
*F
*G
*H
*I
}}

Renders as:

  • A
  • B
  • C
  • D
  • E
  • F
  • G
  • H
  • I

Parameters[edit source]

There are three parameters for this template:

  • colwidth: Specifies the minimum width of the columns so that the number of columns is automatically based on screen width (that is, more columns will be shown on wider displays). The width can be specified in any CSS relative or absolute length unit, for instance, the em (about the width of the capital "M" of the displayed typeface), e.g., colwidth=20em. If no value is supplied, the template uses a default of 30em.
  • style: Applies CSS styling to the columns.
  • content: Content to apply to the columns.

External links[edit source]