Jump to content

Help:Tables

From Wikiversity
(Redirected from Wikiversity: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 | edit source]
{|
| foo
| bar
|}

makes:

foo bar

Full width

[edit | edit source]
{| width="100%"
| foo
| bar
|}

makes:

foo bar

Centred, 2-rows, gridlines

[edit | edit source]
{{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

[edit | edit source]

For more detailed and complex examples, see: