Difference between revisions for Playground / Table Syntax




← Previous edit
Next edit →

Version1 Version2
24 ^| Thead | ##""*| Header | Header |*""## | head columns, entire row || 24 ^| Thead | ##""*| Header | Header |*""## | head columns, entire row ||
25 ^| Th | ##""^| Header | Col ||""## 25 ^| Th | ##""^| Header | Col ||""##
26 ##""|| Col ^ Header ||""## | head row || 26 ##""|| Col ^ Header ||""## | head row ||
27 ^| Cellspan | ##""||(x=2;y=2) 2x2 | 1x1 ||""## | cell spanning, ##x## colspan, ##y## rowspan || 27 ^| Cellspan | ##""||(colspan=2;rowspan=2) 2x2 | 1x1 ||""## | cell spanning, ##x## colspan, ##y## rowspan ||
28 ^| 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 ||
29 |# 29 |#
30 30
43 |# 43 |#
44 44
45 #| 45 #|
46 ||(x=2)Cell spanning 2 columns|Cell 3|| 46 ||(colspan=2)Cell spanning 2 columns|Cell 3||
47 ||Cell 4|Cell 5|Cell 6|| 47 ||Cell 4|Cell 5|Cell 6||
48 ||Cell 7|Cell 8|Cell 9|| 48 ||Cell 7|Cell 8|Cell 9||
49 |# 49 |#
50 50
51 #| 51 #|
52 ||(y=2)Cell spanning 2 rows|Cell 2|Cell 3|| 52 ||(rowspan=2)Cell spanning 2 rows|Cell 2|Cell 3||
53 ||Cell 5|Cell 6|| 53 ||Cell 5|Cell 6||
54 ||Cell 7|Cell 8|Cell 9|| 54 ||Cell 7|Cell 8|Cell 9||
55 |# 55 |#
56 56
57 #| 57 #|
58 ?|Fruit production in the last two years|? 58 ?|Fruit production in the last two years|?
59 || ^(x=2)Apples^(x=2)Pears|| 59 || ^(colspan=2)Apples^(colspan=2)Pears||
60 || ^2005^2006^2005^2006|| 60 || ^2005^2006^2005^2006||
61 ^|Mary|300Kg|320Kg|400kg|280Kg|| 61 ^|Mary|300Kg|320Kg|400kg|280Kg||
62 ^|John|400Kg|630Kg|210Kg|300Kg|| 62 ^|John|400Kg|630Kg|210Kg|300Kg||
63 |# 63 |#
64 64
65 #| 65 #|
66 ^|(x=2;y=2)2x2|(x=2)2x1|(y=2)1x2|| 66 ^|(colspan=2;rowspan=2)2x2|(colspan=2)2x1|(rowspan=2)1x2||
67 ||(y=2)1x2|1x1|| 67 ||(rowspan=2)1x2|1x1||
68 ||1x1|1x1|(x=2)2x1|| 68 ||1x1|1x1|(colspan=2)2x1||
69 |# 69 |#
70 70
71 71
115 ===Seven=== 115 ===Seven===
116 #| 116 #|
117 ?| Table Caption |? 117 ?| Table Caption |?
118 *| | Heading 1 | Heading 2 | Heading 3 |* 118 *|(width=200px) | Heading 1 | Heading 2 | Heading 3 |*
119 ^| Row 1 Col 1 |(x=2) Row 1 Col 2 | Row 1 Col 3 || 119 ^| Row 1 Col 1 |(colspan=2 align=center) Row 1 Col 2 | Row 1 Col 3 ||
120 || Row 2 Col 1 ^(x=3) some colspan || 120 || Row 2 Col 1 ^(colspan=3) some colspan ||
121 || Row 3 Col 1 |(x=2 c=green) Row 3 Col 2 ^ Row 3 Col 3 || 121 || Row 3 Col 1 |(colspan=2 bgcolor=green) Row 3 Col 2 ^ Row 3 Col 3 ||
122 |# 122 |#