SimpleTable has gone through a rewrite. There now are a consistent style for the markup:
Pipe - optional symbol for element - optional parenthesis' enclosing list of attributes - pipe.
Elements
| (X)HTML Element | Markup code | Notes |
| <table> | |!| | Optional, only useful for adding attributes. Must be first in table markup if used. Should be on a line by itself. |
| <caption> | |?| | |
| <colgroup> | |_| | |
| <col /> | |-| | Selfclosing - must not be closed! |
| <thead> | |[| | |
| <tfoot> | |]| | |
| <tbody> | |#| | |
| <tr> | none | Will be opened for each row of table cells. |
| <th> | |=| | |
| <td> | || | |
Attributes are on the form of:
key char - colon - value
Attributes
| Attribute | Markup key |
| Attribute | Markup key |
| Core |
| id | i |
| title | t |
| class | c |
| style | s |
| i18n |
| xml:lang | l |
| dir | d |
| Table cells |
| colspan | x |
| rowspan | y |
| scope | o |
| headers | h |
| abbr | a |
| axis | z |
| Other Table elements |
| span | p |
| summary | u |
Example wikka markup
|!|(u:The summary)||
|?|(s:color:red;font-weight:bold)The Caption||
|[|
|=|Supervisor|=|(x:2)Employee||
|=|Name|=|Name|=|Phone||
|#|
|=|(y:3;o:row)Mae East||John Smith||555-1234||
||Frank Smith||555-1235||
||Daniel Smith||555-1236||
|=|(y:2;o:row)Allister Baker||Frank Daniels||555-1237||
||Jack Daniels||555-1238||
Resulting HTML
<table class="wikka" summary="The summary">
<caption style="color:red;font-weight:bold">The Caption</caption>
<thead>
<tr><th>Supervisor</th><th colspan="2">Employee</th></tr>
<tr><th>Name</th><th>Name</th><th>Phone</th></tr>
</thead>
<tbody>
<tr><th rowspan="3" scope="row">Mae East</th><td>John Smith</td><td>555-1234</td></tr>
<tr><td>Frank Smith</td><td>555-1235</td></tr>
<tr><td>Daniel Smith</td><td>555-1236</td></tr>
<tr><th rowspan="2" scope="row">Allister Baker</th><td>Frank Daniels</td><td>555-1237</td></tr>
<tr><td>Jack Daniels</td><td>555-1238</td></tr>
</tbody>
</table>
Result
The Caption
| Supervisor | Employee |
| Name | Name | Phone |
| Mae East | John Smith | 555-1234 |
| Frank Smith | 555-1235 |
| Daniel Smith | 555-1236 |
| Allister Baker | Frank Daniels | 555-1237 |
| Jack Daniels | 555-1238 |