Adding Tables

From CometWiki

(Difference between revisions)
Jump to: navigation, search
(New page: == Tables == Adding tables is fairly simple but time consuming. To add a a table you need a '''{|''' To have the boxes visible add '''Border=1''' to the above line Then the first eleme...)
Line 7: Line 7:
To have the boxes visible add '''Border=1''' to the above line
To have the boxes visible add '''Border=1''' to the above line
-
Then the first element of each row is preceded by '''|-'''
+
Then the first element of each row is preceded by '''|-''' on a separate line.
-
Each subsequent element is preceded by a '''|'''
+
Each element is preceded by a '''|'''
You need a '''|''' for each element of the array, even if the field is blank.
You need a '''|''' for each element of the array, even if the field is blank.
Line 21: Line 21:
So:-
So:-
{| Border=1
{| Border=1
 +
|+ Sample Table Caption
|-
|-
 +
|Character
 +
|Function
 +
|Discussion
 +
|-
 +
|'''{-'''
 +
|Start Table
 +
|
 +
|-
 +
|'''|-'''
 +
|New Row Following
 +
|
 +
|-
 +
|'''|'''
 +
|Element identifier
 +
|
 +
|-
 +
|'''|}'''
 +
|Table End Delimiter
 +
|
 +
|}

Revision as of 18:55, 3 September 2009

Tables

Adding tables is fairly simple but time consuming.

To add a a table you need a {|

To have the boxes visible add Border=1 to the above line

Then the first element of each row is preceded by |- on a separate line.

Each element is preceded by a |

You need a | for each element of the array, even if the field is blank.

At the end of the table you need a |-

followed by a |}

There are many many more instructions that can be found in the Wiki Help Documentation (GoodLuck)

So:-

Sample Table Caption
Character Function Discussion
{- Start Table
- New Row Following
Element identifier
} Table End Delimiter
Personal tools