Tables: HTML to Wiki Markup
From burstekwiki
Comparison of table syntax
XHTML | Wiki-pipe | |||||
---|---|---|---|---|---|---|
Table | <table></table> |
{| |} | ||||
Caption | <caption>caption</caption> |
|+ caption | ||||
Row | <tr></tr> |
|- | ||||
Data cell | <td>cell1</td><td>cell2</td> <td>cell3</td> |
| cell1 || cell2 | cell3 | ||||
Header cell | <th scope="col">column heading</th> <th scope="row">row heading</th> |
! scope="col" | column heading ! scope="row" | row heading | ||||
Sample table |
| |||||
<table> <tr> <td>1</td> <td>2</td> </tr> <tr> <td>3</td> <td>4</td> </tr> </table> |
{| | 1 || 2 |- | 3 || 4 |} | |||||
Pros |
|
| ||||
Cons |
|
| ||||
XHTML | Wiki-pipe |
See http://en.wikipedia.org/wiki/Help:Table for more information