Template:ColL/doc

Description
This template allows creation of multiple columns.

Usage
To start columned section, type, where "#" is the number of columns. If no number is entered, i.e., then there will be two columns by default. To end columned section, type.

Example 1
Two column example:


 * Item 1
 * Item 2
 * Item 3
 * Item 4
 * Item 5
 * Item 6

Results in:


 * Item 1
 * Item 2
 * Item 3
 * Item 4
 * Item 5
 * Item 6

Example 2
Four column ordered list (using roman numerals) example:


 * 1) Item 1
 * 2) Item 2
 * 3) Item 3
 * 4) Item 4
 * 5) Item 5
 * 6) Item 6
 * 7) Item 7
 * 8) Item 8

Results in:


 * 1) Item 1
 * 2) Item 2
 * 3) Item 3
 * 4) Item 4
 * 5) Item 5
 * 6) Item 6
 * 7) Item 7
 * 8) Item 8

Example 3
Four column paragraph example:

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus dapibus libero id orci pulvinar pharetra. Vestibulum nisi neque, efficitur in lacinia quis, eleifend facilisis nisi. Quisque id augue suscipit, scelerisque nunc ac, pharetra sapien. Nullam vestibulum a erat et ornare. Curabitur euismod ultrices pulvinar. Donec iaculis massa semper consectetur gravida. Ut libero mauris, vestibulum a tortor eu, finibus pellentesque mi.

Results in:

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus dapibus libero id orci pulvinar pharetra. Vestibulum nisi neque, efficitur in lacinia quis, eleifend facilisis nisi. Quisque id augue suscipit, scelerisque nunc ac, pharetra sapien. Nullam vestibulum a erat et ornare. Curabitur euismod ultrices pulvinar. Donec iaculis massa semper consectetur gravida. Ut libero mauris, vestibulum a tortor eu, finibus pellentesque mi.

Advantages over old column templates

 * No need to count the number of items to split into each row.
 * Allows choices besides two columns.
 * Unlike old templates, which forces squashed columns for mobile users, this one is mobile friendly by removing columns for mobile users.

Issues

 * Wikia default css creates margins at top and bottom of various tags. This causes the first column to be slightly lower than other columns and last column to end slightly higher than other columns, which can result in uneven columns. This issue can be fixed by editing MediaWiki:Wikia.css, as was done for  and   tags.
 * If the last item in a column wraps multiple lines, some of the lines may get split into the following column.