Difference between revisions of "Help:Table"
(table) |
|||
Line 48: | Line 48: | ||
− | To title your table, simply insert | + | To title your table, simply insert a pipe ( | ) and a plus sign ( + ) with your title after the first line: |
<nowiki>{| {{prettytable}} | <nowiki>{| {{prettytable}} | ||
Line 75: | Line 75: | ||
{| {{prettytable}} | {| {{prettytable}} | ||
|+Example Table | |+Example Table | ||
+ | ! FELD 1 | ||
+ | ! FELD 2 | ||
+ | ! FELD 3 | ||
+ | |- | ||
+ | | Element | ||
+ | | Element | ||
+ | | Element | ||
+ | |- | ||
+ | | Element | ||
+ | | Element | ||
+ | | Element | ||
+ | |- | ||
+ | | Element | ||
+ | | Element | ||
+ | | Element | ||
+ | |} | ||
+ | |||
+ | |||
+ | To give your table a border, type border="1" on the first line. The number in quotation marks corresponds to the size of the border. | ||
+ | |||
+ | <nowiki>{| {{prettytable}} border="1" | ||
+ | |+Example Table | ||
+ | ! FELD 1 | ||
+ | ! FELD 2 | ||
+ | ! FELD 3 | ||
+ | |- | ||
+ | | Element | ||
+ | | Element | ||
+ | | Element | ||
+ | |- | ||
+ | | Element | ||
+ | | Element | ||
+ | | Element | ||
+ | |- | ||
+ | | Element | ||
+ | | Element | ||
+ | | Element | ||
+ | |}</nowiki> | ||
+ | |||
+ | |||
+ | Which will look like this on your web page: | ||
+ | |||
+ | {| border ="1" | ||
+ | |+Example Table | ||
! FELD 1 | ! FELD 1 | ||
! FELD 2 | ! FELD 2 |
Revision as of 10:50, 21 July 2008
Adapted from Wikipedia by Lauren Gutterman, Project Coordinator, OutHistory.org
You can use the Mediawiki edit toolbar to create tables on OutHistory.org (it is the 11th button from the right on the toolbar). By default, it includes the following text:
{| {{prettytable}} ! FELD 1 ! FELD 2 ! FELD 3 |- | Element | Element | Element |- | Element | Element | Element |- | Element | Element | Element |}
Which shows up like this on your web page:
FELD 1 | FELD 2 | FELD 3 |
---|---|---|
Element | Element | Element |
Element | Element | Element |
Element | Element | Element |
To title your table, simply insert a pipe ( | ) and a plus sign ( + ) with your title after the first line:
{| {{prettytable}} |+Example Table ! FELD 1 ! FELD 2 ! FELD 3 |- | Element | Element | Element |- | Element | Element | Element |- | Element | Element | Element |}
Which shows up like this on your web page:
FELD 1 | FELD 2 | FELD 3 |
---|---|---|
Element | Element | Element |
Element | Element | Element |
Element | Element | Element |
To give your table a border, type border="1" on the first line. The number in quotation marks corresponds to the size of the border.
{| {{prettytable}} border="1" |+Example Table ! FELD 1 ! FELD 2 ! FELD 3 |- | Element | Element | Element |- | Element | Element | Element |- | Element | Element | Element |}
Which will look like this on your web page:
FELD 1 | FELD 2 | FELD 3 |
---|---|---|
Element | Element | Element |
Element | Element | Element |
Element | Element | Element |