Help:Tables
The easiest way to create and edit tables is via the visual editor (Edit – Insert – Table).
This page provides some simple examples for editing tables using MediaWiki markup (Edit source).
Basic
edit{| | foo | bar |}
makes:
foo | bar |
Full width
edit{| width="100%" | foo | bar |}
makes:
foo | bar |
Centred, 2-rows, gridlines
edit{{center top}} {| border=1 cellspacing=0 cellpadding=5 |- ! oo ! ar |- | foo | bar |- | boo | far |} {{center bottom}}
makes:
oo | ar |
---|---|
foo | bar |
boo | far |
See also
editFor more detailed and complex examples, see: