Simple tables on the wiki

From CCMDB Wiki
Jump to navigation Jump to search

A simple way to force easy tables is to put a space at the beginning of the line and use | to separate columns.

| my first column | my second column | foo |
--------------------------------------------
| some number     | 123              | A   |

Easy to make, easy to edit, less pretty, but an option.

A slightly more complicated but far more powerful option is to use something like this:

{| class="wikitable sortable"
|-
! Fruit   !! Price
|-
| Apples  || £0.95
|-
| Oranges || £0.85
|}

to generate something like the following:

Fruit Price
Apples £0.95
Oranges £0.85