git.iko.soy/typeable/pandoc
on 2.9 help sign in
typeable/pandoc/test/tables.mediawiki
145 lines 2.2 kB history raw
1Simple table with caption:
3{|
4|+ Demonstration of simple table syntax.
5!align="right"| Right
6! Left
7!align="center"| Center
8! Default
9|-
10|align="right"| 12
11| 12
12|align="center"| 12
13| 12
14|-
15|align="right"| 123
16| 123
17|align="center"| 123
18| 123
19|-
20|align="right"| 1
21| 1
22|align="center"| 1
23| 1
24|}
26Simple table without caption:
28{|
29!align="right"| Right
30! Left
31!align="center"| Center
32! Default
33|-
34|align="right"| 12
35| 12
36|align="center"| 12
37| 12
38|-
39|align="right"| 123
40| 123
41|align="center"| 123
42| 123
43|-
44|align="right"| 1
45| 1
46|align="center"| 1
47| 1
48|}
50Simple table indented two spaces:
52{|
53|+ Demonstration of simple table syntax.
54!align="right"| Right
55! Left
56!align="center"| Center
57! Default
58|-
59|align="right"| 12
60| 12
61|align="center"| 12
62| 12
63|-
64|align="right"| 123
65| 123
66|align="center"| 123
67| 123
68|-
69|align="right"| 1
70| 1
71|align="center"| 1
72| 1
73|}
75Multiline table with caption:
77{|
78|+ Here’s the caption. It may span multiple lines.
79!align="center" width="15%"| Centered Header
80!width="13%"| Left Aligned
81!align="right" width="16%"| Right Aligned
82!width="35%"| Default aligned
83|-
84|align="center"| First
85| row
86|align="right"| 12.0
87| Example of a row that spans multiple lines.
88|-
89|align="center"| Second
90| row
91|align="right"| 5.0
92| Here’s another one. Note the blank line between rows.
93|}
95Multiline table without caption:
97{|
98!align="center" width="15%"| Centered Header
99!width="13%"| Left Aligned
100!align="right" width="16%"| Right Aligned
101!width="35%"| Default aligned
102|-
103|align="center"| First
104| row
105|align="right"| 12.0
106| Example of a row that spans multiple lines.
107|-
108|align="center"| Second
109| row
110|align="right"| 5.0
111| Here’s another one. Note the blank line between rows.
112|}
114Table without column headers:
116{|
117|align="right"| 12
118| 12
119|align="center"| 12
120|align="right"| 12
121|-
122|align="right"| 123
123| 123
124|align="center"| 123
125|align="right"| 123
126|-
127|align="right"| 1
128| 1
129|align="center"| 1
130|align="right"| 1
131|}
133Multiline table without column headers:
135{|
136|align="center" width="15%"| First
137|width="13%"| row
138|align="right" width="16%"| 12.0
139|width="35%"| Example of a row that spans multiple lines.
140|-
141|align="center"| Second
142| row
143|align="right"| 5.0
144| Here’s another one. Note the blank line between rows.
145|}