Help, FAQs, Tutorials, Bugreports on the NatsWiki
Search: 

Navigation

FAQ:

How do I create tables?

Answer:

There are three possibilities:

  1. Use Wiki rule with "|" vertical bars.
  2. Use HTML tables with <table>, <tr>, <td> tags.
  3. Use preformatted text with <verbatim> tags.

1. Use Wiki rule with "|" vertical bars

  • Example text:
    | cell A1 | cell B1 | cell C1 |
    | cell A2 | cell B2 | cell C2 |
  • Example output:
    cell A1 cell B1 cell C1
    cell A2 cell B2 cell C2

2. Use HTML tables with <table>, <tr>, <td> tags

This is a manual process using HTML commands.

You enter:

<table border="1">
  <tr>
    <th> Head A  </th> <th> Head B  </th>
  </tr><tr>
    <td> Cell A2 </td> <td> Cell B2 </td>
  </tr><tr>
    <td> Cell A3 </td> <td> Cell B3 </td>
  </tr>
</table>

Result:

Head A Head B
Cell A2 Cell B2
Cell A3 Cell B3

3. Use preformatted text with <verbatim> tags

See PreformattedText

Back to: NatsWikiFAQ

-- MichaelDaum -- 29 Aug 2003

r1.2 - 09 Sep 2003 - 08:05 GMT - MichaelDaum
Copyright (c) 1999-2006 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Powered by TWiki/Beijing 01 Feb 2003 (NatsWiki), Syndicate this site.