Mal:Col-start
Fra Wowwiki Norge
[rediger] Usage
{{Col-start}} is used to start a multi-column section of a page. Between each block of column text insert {{Column}} and close the last column with {{Col-end}}. For example:
{{Col-start}}
This text appears in the first column.
{{Column}}
This text appears in the second column.
{{Column}}
This text appears in the third column.
{{Col-end}}
You can have any number of columns. Each column will be the same width, equally dividing the available horizontal space. Each column has a small right margin (20 pixels), creating a "gutter" that prevents text in one column from touching text in the column to its right. See hero class or Darnassian for examples of how to use.
[rediger] Parameters
This template has two optional parameters: the overall width of the set of columns and the width of the gutter. The overall width of the set of columns can be an absolute value (e.g., 40em) or a percentage of the available page width (e.g., 50%). This parameter defaults to 100%. For example, to create a multi-column section that is only 50% the width of the page:
{{Col-start|50%}}
This text appears in the first column.
{{Column}}
This text appears in the second column.
{{Column}}
This text appears in the third column.
{{Col-end}}
The multi-column region is always positioned on the left side of the containing block. To change this, place the above Wikitext in <center> tags.
<center>
{{Multicol|50%}}
...
{{Multicol-end}}
</center>
