Revision [14765]

This is an old revision of SimpleTables made by TormodHaugen on 2006-07-02 16:42:42.

 

Simple Table markup for Wikka

See also
Test at
SVN
2006-06-21
Patch committed to the SVN repository - to be included in 1.1.6.3:
  • Ticket:230
Patched files:


I've hacked together a simple table markup for WikkaWiki; it is working it's way from a "layout" table markup to an accessible data table markup.

Currently it supports table header elements (<th>) and table data elements (<td>), cells spanning several columns and/or rows, table summary and caption, scope attributes for headers, table sections (<thead>, <tbody>, <tfoot>).

NOTE! Markup for tables are subject to change. Please do not invest much time in creating (advanced) tablemarkup yet!
 

Basic Usage



Example:

||Row 1 Column 1||Row 1 Column 2||Row 1 Column 3||
||Row 2 Column 1||Row 2 Column 2||Row 2 Column 3||


The delimiter is two pipes (||).

 

"Advanced" Usage



Example:

|?This is a token summary, must be first line in table markup. PS is between single pipes!|
|!|The Caption||
|#h|
|=|First Column|=|Second Column||
|#b|
||First datacell||Second Datacell||
|2|A datacell spanning two columns||
|,2|A datacell spanning two rows||A cell on the right||
||Another cell on the right (due to previous rowspan'd cell)||
|#f|
|=|First Column|=|Second Column||


Enhanced features are enabled by putting modifiers between the pipes.


 

Known Issues


Ending the table with a || delimiter without a newline adds another cell/column. (ie: if there is no more content after the table, or if there is a space after the delimiter).

Wanted


I want input on bugs/issues - and on wanted functionality / suggestion on the markup.

TODO




CategoryUserContributions
There are 34 comments on this page. [Show comments]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki