meta data for this page
  •  

This is an old revision of the document!


Tables

Creating tables in a DokuWiki is straightforward. Cells in a table are just separated by a '|' character. If you want to indicate a cell as a header, just prepend the information with a '^' instead of the '|'. :!: It is always good practice to give each table a caption, as it is shown for table 1.

Heading1 Heading2 Heading3
Row1Value1.1Value1.2Value1.3
Row2Value2.1Value2.2Value2.3

Table 1: Example caption

WikiCode

WikiCode

<table ExampleTable>
^ ^Heading1 ^Heading2 ^Heading3 |
^Row1|Value1.1|Value1.2|Value1.3|
^Row2|Value2.1|Value2.2|Value2.3|
<caption><fs 0.8em>Example caption</fs></caption>
</table>

You can then refer to this table in the text by using the table name as a reference. Tables will then be automatically numbered.

...as it is shown for table {{ref>ExampleTable}}