Template:Div col/doc

From Metapedia
Jump to: navigation, search

{{

| type = notice | image = none | imageright = | style = | textstyle = | text = This is a documentation subpage for Template:Div col (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page. | small = | smallimage = | smallimageright = | smalltext = }} 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