Template:Div col
Jump to navigation
Jump to search
Usage
This template creates a customizable column layout for displaying content. You can specify the gap between columns, the preferred column width, and insert any content.
Parameters
- gap - The gap between the columns (default is 20px).
- colwidth - The preferred width of each column (default is automatic adjustment).
- content - The content to be displayed in the column layout.
Example
To use this template with custom parameters, follow the example below:
{{Div col|gap=20px|colwidth=20em|content= * a * b * c * d * e * f * g * h }}
produces:
- a
- b
- c
- d
- e
- f
- g
- h
This will display the items in a column layout with a 20px gap between columns and each column having a width of 20em.