FANDOM



Template documentation (for the above template, sometimes hidden or invisible) [view] [edit] [history] [purge/refresh]

Description

Similar to the {{Col-begin}} ... {{Col-2}}, {{Col-3}}, {{Col-4}}, {{Col-5}}, {{Col-6}}, {{Col-7}}, {{Col-8}}, {{Col-9}} and {{Col-10}} ... {{Col-end}} templates, but instead of a table this uses the div statements and does not require the intermediate column separaters.

Note
  1. You must end the list with the {{Colend}} template!
  2. If you do not have enough items to place an equal number of items per line then you will get the number of columns that you stated with the col= parameter, but some of the columns to the right may be empty until more items are added to the list.
    1. The col= parameter is basically the Maximum number of columns allowed.
    2. You will never get MORE columns that you set for the col= parameter.

Usage

{{Colbegin|colwidth=<width>}} or {{Colbegin|cols=#}} - One of the other - If you use both parameters then the colwidth= parameter will override the cols= parameter.

colwidth= 
The width of the columns - The template will make as many columns as it can by taking the total width available and diving it by the width you set
cols= 
The number of columns you wish to have with the space allowed

Examples

Example 1

{{Colbegin|colwidth=15px}}

* List item 1
* List item 2
* List item 3
* List item 4
* List item 5
* List item 6
* List item 7
* List item 8

{{Colend}} will produce

  • List item 1
  • List item 2
  • List item 3
  • List item 4
  • List item 5
  • List item 6
  • List item 7
  • List item 8

Example 2

{{Colbegin|colwidth=50px}}

* List item 1
* List item 2
* List item 3
* List item 4
* List item 5
* List item 6
* List item 7
* List item 8

{{Colend}} will produce

  • List item 1
  • List item 2
  • List item 3
  • List item 4
  • List item 5
  • List item 6
  • List item 7
  • List item 8

Example 3

{{Colbegin|cols=2}}

* List item 1
* List item 2
* List item 3
* List item 4
* List item 5
* List item 6
* List item 7
* List item 8

{{Colend}} will produce

  • List item 1
  • List item 2
  • List item 3
  • List item 4
  • List item 5
  • List item 6
  • List item 7
  • List item 8

Example 4

{{Colbegin|cols=4}}

* List item 1
* List item 2
* List item 3
* List item 4
* List item 5
* List item 6
* List item 7
* List item 8

{{Colend}} will produce

  • List item 1
  • List item 2
  • List item 3
  • List item 4
  • List item 5
  • List item 6
  • List item 7
  • List item 8


Wiki-wordmark.png This page uses content from farmville.  The original article can be found here.
The list of authors can be seen in the page history.  As with Ikariam, the text of the Wikia is available under the CC-BY-SA (Creative Commons Attribution-Share Alike) license.


The above text is transcluded from Template:Colbegin/doc.
You can change it or view its history. (How does this work?)
If you're done making changes, please refresh the text. (Why?)
You can experiment in this template's Sandbox (create | Mirror ) and Testcases (create) pages.
Please add categories and interwikis to Template:Colbegin/doc. (View all subpages of this page.)
Community content is available under CC-BY-SA unless otherwise noted.