Difference between revisions for Playground / Table Syntax





Next edit →

Version1 Version2 Differences
2 2
3 3   * caption
4 4   * th
5     * colspan
6     * rowspan
  5   * colspan / rowspan
7 6   * text alignment
8 7     * indent
9 8     * left (default)
20 19
21 20 ===Syntax===
22 21 #|
23   *| | Syntax | Notes |*
24   || Caption | ##""?| Caption |?""## | title of the table ||
25   || Thead | ##""*| Header | Header |*""## | head columns, entire row ||
26   || Th | ##""^| Header | Col ||""##
  22 || ^ Syntax ^ Notes ||
  23 ^| Caption | ##""?| Caption |?""## | title of the table ||
  24 ^| Thead | ##""*| Header | Header |*""## | head columns, entire row ||
  25 ^| Th | ##""^| Header | Col ||""##
27 26 ##""|| Col ^ Header ||""## | head row ||
28   || Cellspan | ##""||(x=2;y=2) 2x2 | 1x1 ||""## | cell spanning, ##x## colspan, ##y## rowspan ||
29   || Tfoot | ##""=| Footer | Footer |=""## | not sure if this should be implemented at all ||
  27 ^| Cellspan | ##""||(x=2;y=2) 2x2 | 1x1 ||""## | cell spanning, ##x## colspan, ##y## rowspan ||
  28 ^| Tfoot | ##""=| Footer | Footer |=""## | not sure if this should be implemented at all ||
30 29 |#
31 30
32 31 ===One===
116 115 ===Seven===
117 116 #|
118 117 ?| Table Caption |?
119   *| | Heading 1 | Heading 2 | Heading 3 | |*
120   ^| Row 1 Col 1 | Row 1 Col 2 | Row 1 Col 3 | ||
121   || Row 2 Col 1 ^ some colspan ||
122   || Row 3 Col 1 | Row 3 Col 2 ^ Row 3 Col 3 ||
  118 *| | Heading 1 | Heading 2 | Heading 3 |*
  119 ^| Row 1 Col 1 |(x=2) Row 1 Col 2 | Row 1 Col 3 ||
  120 || Row 2 Col 1 ^(x=3) some colspan ||
  121 || Row 3 Col 1 |(x=2) Row 3 Col 2 ^ Row 3 Col 3 ||
123 122 |#