Help:Creating tables in the wiki
Jump to navigation
Jump to search
Help |
---|
Wiki |
Navigation |
Editing |
Basic editing |
Policies and guidelines |
COLLADA |
Creating tables in the wiki is much simpler than in HTML.
Basic markup
The basic elements to create a table are:
- {| starts a table
- |} ends a table
- |- starts a row
- ! starts a heading cell
- | starts another cell
Sample 1
Here's a simple table's input:
{| |- !Heading 1 !Heading 2 |- |Data 1 |Data 2 |}
Here's how it displays:
Heading 1 | Heading 2 |
---|---|
Data 1 | Data 2 |
Sample 2
Here's a simple table's input with borders and, this time, all of the cells in one row are on the same line (note repetition of dividing bars):
{|border=1 cellpadding=3 cellspacing=0 |- !Heading 1!!Heading 2 |- |Data 1||Data 2 |}
Here's how it displays:
Heading 1 | Heading 2 |
---|---|
Data 1 | Data 2 |
External links
- WikiMedia table-markup help From simple to detailed info about creating tables. (A little of the info doesn't apply here, but most of it does.)