Help:Introduction to tables with Wiki Markup/2/markup examples

==Data is arranged like a table==

This is useful when there aren't too many columns and the cell contents are short (e.g. just numbers). This is the markup layout that the File:OOjs UI icon table.svg button will create.

class="wikitable"

|+ Caption

Header C1Header C2Header C3
R1C1R1C2R1C3
R2C1R2C2R2C3

==Cells are arranged vertically==

With lots of columns, or cells with long contents, putting each cell on a new line can improve readability of the markup.

class="wikitable"

|+ Caption

Header C1

! Header C2

! Header C3

R1C1

| R1C2

| R1C3

R2C1

| R2C2

| R2C3