User:Timeshifter/sandbox

= Source mode toolbar =

File:Toolbar2.PNG is on the right end.]]

To automatically insert a table, click 25px or File:Button insert table.png (Insert a table) on the edit toolbar. In the Vector toolbar the table icon is in the "Advanced" menu.

The following wikitext is inserted when Insert a table 25px is clicked.

class="wikitable"

|+ Caption text

Header textHeader textHeader text
ExampleExampleExample
ExampleExampleExample
ExampleExampleExample

The sample text ("Header text" or "Example") is intended to be replaced with actual data. Row numbers (1-3) and column letters (A-C) have been substituted below to help visualization.

Wikitext

class="wikitable"

|+ Caption text

Header AHeader BHeader C
row 1 Arow 1 Brow 1 C
row 2 Arow 2 Brow 2 C
row 3 Arow 3 Brow 3 C

Produces:

class="wikitable"

|+ Caption text

Header AHeader BHeader C
row 1 Arow 1 Brow 1 C
row 2 Arow 2 Brow 2 C
row 3 Arow 3 Brow 3 C

You can fill in the table while in source mode. Or use the visual editor (VE). To create more complex table structures in source mode with cells that span multiple rows or columns, see {{slink||Colspan and rowspan}}.