Template:Div col/doc

From blackwiki
< Template:Div col
Revision as of 04:38, 3 October 2008 by imported>Zyxw (Add section describing how template works and how it won't work in some browsers such as Internet Explorer)
Jump to navigation Jump to search

This template is used to make a list into columns, with the option of specifying a smaller font.

Usage

Parameters

cols=
Specifies the number of columns. Defaults to 2.
small=yes
Specifies small font size (80%). Defaults to "no".

Example

{{Div col}}
* a
* b
* c
* d
{{Div col end}}
Produces
  • a
  • b
  • c
  • d

Technical details

This template can create multiple columns in web browsers which support one of the following CSS properties:

Therefore, the template does not work in browsers such as Internet Explorer and Opera (see Template:Reflist #Browser support).

See also