Tables

To create a table on your wiki page, use the "table wizard" button.

table.png

In the pop-up window, you can select how many columns and rows you wish your table to have.

wizard.png

The resulting code will look like this:

|| cell-content || cell-content || cell-content ||
|| cell-content || cell-content || cell-content ||
|| cell-content || cell-content || cell-content ||

Your page will then look like this:

cell-content cell-content cell-content
cell-content cell-content cell-content
cell-content cell-content cell-content

You can also choose, in this same window, to have a header above each column.

The resulting code would look like this:

||~ header ||~ header ||~ header ||
|| cell-content || cell-content || cell-content ||
|| cell-content || cell-content || cell-content ||

Your table will then look like this:

header header header
cell-content cell-content cell-content
cell-content cell-content cell-content

You can now replace each "cell-content" and/or "header" block with the desired text.

You can also make either your cell-content or your header span multiple columns. For instance, if you wanted your header to span all three columns and your first cell to span two columns, you would alter your code so that it looks like this:

||||||~ header ||
|||| cell-content || cell-content ||
|| cell-content || cell-content || cell-content ||

Your table will now look like this:

header
cell-content cell-content
cell-content cell-content cell-content

As indicated in the table wizard window, you can alter your text alignment within the cells by following the "||" marker with "<" for left alignment, "=" for center alignment, or ">" for right alignment. For example, you might alter your code to look like this:

||< left ||= center ||> right ||
|| cell-content || cell-content || cell-content ||
|| cell-content || cell-content || cell-content ||

Your table would then look like this:

left center right
cell-content cell-content cell-content
cell-content cell-content cell-content

Lastly, you can break your text and begin a new line within a given cell by typing a space, an underscore (_), and the return key, so that your code looks like this:

||text _
new line || cell-content || cell-content ||
|| cell-content || cell-content || cell-content ||
|| cell-content || cell-content || cell-content ||

Your table would then look like this:

text
new line
cell-content cell-content
cell-content cell-content cell-content
cell-content cell-content cell-content

Return to Top

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License