Difference between revisions for Playground / Table Syntax




← Previous edit
Next edit →

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