Difference between revisions of "Module:Div col/doc"
Jump to navigation
Jump to search
blackwiki>Thumperward (tidy) |
blackwiki>TheDJ |
||
| Line 5: | Line 5: | ||
This template can create multiple columns in [[web browser]]s which support one of the following [[CSS]] properties: | This template can create multiple columns in [[web browser]]s which support one of the following [[CSS]] properties: | ||
* ''-moz-column-count'' (for [[Mozilla application framework|Mozilla]]/[[Gecko (layout engine)|Gecko]] based browsers such as [[Firefox]]) | * ''-moz-column-count'' (for [[Mozilla application framework|Mozilla]]/[[Gecko (layout engine)|Gecko]] based browsers such as [[Firefox]]) | ||
| − | * ''-webkit-column-count'' (for [[WebKit]] based browsers such as [[Safari (web browser)|Safari]]) | + | * ''-webkit-column-count'' (for [[WebKit]] based browsers such as [[Safari (web browser)|Safari]] and [[Google Chrome]]) |
* ''column-count'' (for [[Cascading Style Sheets#CSS 3|CSS3]] compliant browsers; see [http://www.w3.org/TR/css3-multicol/ CSS3 module: Multi-column layout]) | * ''column-count'' (for [[Cascading Style Sheets#CSS 3|CSS3]] compliant browsers; see [http://www.w3.org/TR/css3-multicol/ CSS3 module: Multi-column layout]) | ||
Revision as of 12:28, 14 September 2009
| This is a documentation subpage for Module:Div col. It contains usage information, categories and other content that is not part of the original module page. |
This template is used to make a list into columns, with the option of specifying a smaller font.
This template can create multiple columns in web browsers which support one of the following CSS properties:
- -moz-column-count (for Mozilla/Gecko based browsers such as Firefox)
- -webkit-column-count (for WebKit based browsers such as Safari and Google Chrome)
- column-count (for CSS3 compliant browsers; see CSS3 module: Multi-column layout)
Therefore, the template does not work in browsers such as Internet Explorer and Opera (see Template:Reflist #Browser support).
Usage
- 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
See also
- {{multicol}}
- {{col-begin}}
- {{columns-list}}