Difference between revisions of "Template:Colbegin/doc"
From The Battle for Wesnoth Wiki
(Created documentation) |
m (Fixed formatting) |
||
Line 3: | Line 3: | ||
== Parameters == | == Parameters == | ||
− | ''colwidth'' denotes the minimum width of each column. It has a default value of 30em. | + | '''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. | + | '''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. | + | '''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. | + | '''style''' denotes the CSS styling to be applied to each column. |
− | ''small'' denotes whether or not to render the font at 90% size. | + | '''small''' denotes whether or not to render the font at 90% size. |
− | ''content'' denotes the content of the columns. Is used without Colend. | + | '''content''' denotes the content of the columns. Is used without Colend. |
== Usage == | == Usage == |
Latest revision as of 03:23, 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
This page was last edited on 14 July 2019, at 03:23.