Help:Tables
Jump to navigation
Jump to search
This page provides some simple examples for getting started with tables in MediaWiki.
If you want some more detailed and complex examples, go to: Advanced Wikiediting/Tables.
- Basic table
{| | foo | bar |}
makes:
foo | bar |
- Basic table - Full width
{| width="100%" | foo | bar |}
makes:
foo | bar |
- Basic table - Centred, 2-rows, gridlines
{{center top}} {| border=1 cellspacing=0 cellpadding=5 |- ! oo ! ar |- | foo | bar |- | boo | far |} {{center bottom}}
makes:
oo | ar |
---|---|
foo | bar |
boo | far |