Difference between revisions for Playground / Table Syntax





Next edit →

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