Columns – Template
Jump to navigation
Jump to search
Creates CSS columns. It also adds the page to the Columns template usage error category on usage error.
This template is used on these pages.
Usage
{{Columns|colsInfo|content|expand}}
- colsInfo: columns CSS attribute's definition - see columns, can be:
- desired columns number, e.g 4
- column width, e.g 12em
- a mix of the two, e.g 4 12em - in this case, columns number is the maximum columns number
- content: to be split in columns, usually a list
- expand: named parameter. makes the columns take the whole width
Code | Result |
---|---|
-no columns information defined- | |
-no columns content defined- | |
-no columns information defined- | |
| |
| |
| |
Above
Below | |
|