MediaWiki User Guide/Tables

From Wikibooks, open books for an open world
< MediaWiki User Guide
Jump to: navigation, search

Tables:

{|
|+ Caption of the table
! Heading 1
! Heading 2
|-
| Cell 1 in row 1
| Cell 2 in row 1
|-
| Cell 1 in row 2
| Cell 2 in row 2
|}

Dense format:

{|
|+ Caption of the table
! Heading 1
! Heading 2
|-
| Cell 1 in row 1 || Cell 2 in row 1
|-
| Cell 1 in row 2 || Cell 2 in row 2
|}

Lists in tables:

{|
! Heading a
! Heading b
|-
|
* a1
* a2
|
|}