Fyrimynd:Col-break/examples

Frá Wikipedia, hin frælsa alfrøðin
Jump to navigation Jump to search

Here are some example codes that you can use to make columns of text in your wikipedia article. You can change the width of your columns by changing the code words that go between the text of your columns. Good luck!

Example 1, using col-break:[rætta wikitekst]

{{col-begin}}
{{col-break}}

=== See also ===
* [[General Motors streetcar conspiracy]]
* [[List of light-rail transit systems]]
* [[Light rail]]

{{col-break}}

=== External links ===
* http://www.zeljeznice.net/galerija/categories.php?cat_id=89 - Pictures of trams in Croatia (HR)
{{col-end}}

gives:

Example 2, using col-2:[rætta wikitekst]

{{col-begin}}
{{col-2}}

=== See also ===
* [[General Motors streetcar conspiracy]]
* [[List of light-rail transit systems]]
* [[Light rail]]

{{col-2}}

=== External links ===
* http://www.zeljeznice.net/galerija/categories.php?cat_id=89 - Pictures of trams in Croatia (HR)
{{col-end}}

gives:

Dømi 3, Lots of columns, using col-break:[rætta wikitekst]

(source code not shown, for sake of clarity)

Example 4, use col-break with specified widths:[rætta wikitekst]

{{col-begin}}
{{col-break|width=20%}}

…

{{col-break|width=80%}}

…

{{col-end}}

gives: