Difference between revisions for Playground / Table Syntax
Additions:
- colspan / rowspan
^| Caption | ##?| Caption |?## | title of the table ||
^| Thead | ##*| Header | Header |*## | head columns, entire row ||
^| Th | ##^| Header | Col ||## ^| Cellspan | ##||(colspan=2;rowspan=2) 2x2 | 1x1 ||## | cell spanning, ##x## colspan, ##y## rowspan ||
^| Tfoot | ##=| Footer | Footer |=## | not sure if this should be implemented at all ||
||(colspan=2)Cell spanning 2 columns|Cell 3||
||(rowspan=2)Cell spanning 2 rows|Cell 2|Cell 3||
|| ^(colspan=2)Apples^(colspan=2)Pears||
^|(colspan=2;rowspan=2)2x2|(colspan=2)2x1|(rowspan=2)1x2||
||(rowspan=2)1x2|1x1||
||1x1|1x1|(colspan=2)2x1||
*|(width=200px) | Heading 1 | Heading 2 | Heading 3 |*
^| Row 1 Col 1 |(colspan=2 align=center) Row 1 Col 2 | Row 1 Col 3 ||
|| Row 2 Col 1 ^(colspan=3) some colspan ||
|| Row 3 Col 1 |(colspan=2 bgcolor=green) Row 3 Col 2 ^ Row 3 Col 3 ||
Deletions:
- colspan
- rowspan
|| Caption | ##?| Caption |?## | title of the table ||
|| Thead | ##*| Header | Header |*## | head columns, entire row ||
|| Th | ##^| Header | Col ||## || Cellspan |
||(x=2;y=2) 2x2 | 1x1 || | cell spanning, x colspan, y rowspan ||
|| Tfoot | =| Footer | Footer |= | not sure if this should be implemented at all ||
||(x=2)Cell spanning 2 columns|Cell 3||
||(y=2)Cell spanning 2 rows|Cell 2|Cell 3||
|| ^(x=2)Apples^(x=2)Pears||
^|(x=2;y=2)2x2|(x=2)2x1|(y=2)1x2||||(y=2)1x2|1x1||
||1x1|1x1|(x=2)2x1||
*| | Heading 1 | Heading 2 | Heading 3 | |*
^| Row 1 Col 1 | Row 1 Col 2 | Row 1 Col 3 | ||
|| Row 2 Col 1 ^ some colspan ||