Difference between revisions for Playground / Table Syntax





Next edit →



  • caption
  • th
  • colspan / rowspan
  • text alignment
    • indent
    • left (default)
    • center
    • right
  • thead / tfoot / tbody
  • colgroup / col
  • CSS: color, styles, width

resources

Syntax

*| ||| ^ Syntax |^ Notes ||^| Thead | *| Header | Header |* | head columns, entire row <!markup:1:end> ^| Th | ^| Header | Col |||| Col ^ Header || | head row <!markup:1:end> ^| Cellspan | ||(x=2;y=2)<!--markup:1:end--> <!--markup:2:begin-->## ## | cell spanning, ##x## colspan, ##y## rowspan ||
<!--markup:1:begin-->||<!--markup:1:end-->
<!--markup:2:begin-->^|<!--markup:2:end--> Tfoot | ##=| Footer | Footer |=""
| not sure if this should be implemented at all | | | | | | (x=2)Cell||(colspan=2)Cell spanning 2 columns|Cell 3 Cell 4|Cell 5|Cell 6 Cell 7|Cell 8|Cell 9 (y=2)Cell<!markup:1:end> ||(rowspan=2)Cell spanning 2 rows|Cell 2|Cell 3 Cell 5|Cell 6 Cell 7|Cell 8|Cell 9 ^(x=2)Apples^(x=2)Pears||^(colspan=2)Apples^(colspan=2)Pears||
<!markup:1:begin> <!markup:1:end>
<!markup:2:begin>
<!markup:2:end> Caption ?| Caption |? title of the table
<!markup:1:begin>
<!markup:1:begin>
<!markup:2:end> 2x2 1x1
#

One


#
? Table Caption ?
#

#
? Table Caption ?
#

#
<!markup:1:begin>
#

#
<!markup:1:begin>
#

#
? Fruit production in the last two years ?
2005 2006 2005 2006
Mary 300Kg 320Kg 400kg 280Kg
John 400Kg 630Kg 210Kg 300Kg

2x2 2x1 1x2
1x2 1x1
1x1 1x1 2x1
2x2 2x1 1x2
1x2 1x1
1x1 1x1 2x1

Two


Table Caption
1 2
a b

Three


1 2
a b

Four


Table Caption
Heading 1 Heading 2 Heading 3
Row 1 Col 1 Row 1 Col 2 Row 1 Col 3
Row 2 Col 1 some colspan
Row 3 Col 1 Row 3 Col 2 Row 3 Col 3

Five

Heading 1 Heading 2 Heading 3
Row 1 Col 1 Row 1 Col 2 Row 1 Col 3
Row 2 Col 1 some colspan
Row 3 Col 1 Row 3 Col 2 Row 3 Col 3

Six


Heading 1 Heading 2
Heading 3 Row 1 Col 2 Row 1 Col 3
Heading 4 no colspan this time
Heading 5 Row 2 Col 2 Row 2 Col 3

Seven

*| *|(width=200px) | Heading 1 | Heading 2 | Heading 3 | |* |
Table Caption
Row 1 Col 1 <!markup:1:begin> <!markup:1:end> <!markup:2:begin> <!markup:2:end> Row 1 Col 2 Row 1 Col 3
Row 2 Col 1 <!markup:1:begin> <!markup:1:end> <!markup:2:begin> <!markup:2:end> some colspan
Row 3 Col 1 <!markup:1:begin> <!markup:1:end> <!markup:2:begin> <!markup:2:end> Row 3 Col 2 Row 3 Col 3