Difference between revisions of "Template:Colend"
From The Battle for Wesnoth Wiki
(Created template - needs testing) |
(Added documentation) |
||
| Line 1: | Line 1: | ||
| − | </div> | + | <includeonly></div></includeonly><noinclude> |
| + | {{Colbegin/doc}} | ||
| + | </noinclude> | ||
Revision as of 03:10, 14 July 2019
Colbegin and Colend can be used to create text columns. Colbegin takes parameters, while Colend does not.
Parameters
colwidth denotes the minimum width of each column. It has a default value of 30em.
rules denotes whether there is a ruled line between each pair of adjacent columns.
gap denotes the gap between each adjacent column. It has a default value of 1em.
style denotes the CSS styling to be applied to each column.
small denotes whether or not to render the font at 90% size.
content denotes the content of the columns. Is used without Colend.
Usage
{{Colbegin|colwidth=10em}}
* a
* b
* c
* d
* e
* f
* g
* h
{{Colend}}
- a
- b
- c
- d
- e
- f
- g
- h