Difference between revisions of "Help:Table"

From OutHistory
Jump to navigationJump to search
(table)
Line 7: Line 7:
  
  
<nowiki>{| {{prettytable}}   
+
<nowiki>{| {{prettytable}}   
 
! FELD 1
 
! FELD 1
 
! FELD 2
 
! FELD 2
Line 24: Line 24:
 
| Element
 
| Element
 
|}</nowiki>
 
|}</nowiki>
 +
 +
 +
Which shows up like this on your web page:
 +
 +
<u>
 +
{| {{prettytable}} 
 +
! FELD 1
 +
! FELD 2
 +
! FELD 3
 +
|-
 +
| Element
 +
| Element
 +
| Element
 +
|-
 +
| Element
 +
| Element
 +
| Element
 +
|-
 +
| Element
 +
| Element
 +
| Element
 +
|}</u>
 +
 +
 +
To title your table, simply insert apipe "|" and a plus sign "+" with your title after the first line:
 +
 +
<nowiki>{| {{prettytable}}
 +
|+Example Table 
 +
! FELD 1
 +
! FELD 2
 +
! FELD 3
 +
|-
 +
| Element
 +
| Element
 +
| Element
 +
|-
 +
| Element
 +
| Element
 +
| Element
 +
|-
 +
| Element
 +
| Element
 +
| Element
 +
|}</nowiki>
 +
 +
 +
Which shows up like this on your web page:
 +
 +
 +
{| {{prettytable}} 
 +
|+Example Table
 +
! FELD 1
 +
! FELD 2
 +
! FELD 3
 +
|-
 +
| Element
 +
| Element
 +
| Element
 +
|-
 +
| Element
 +
| Element
 +
| Element
 +
|-
 +
| Element
 +
| Element
 +
| Element
 +
|}

Revision as of 11:42, 21 July 2008

Adapted from Wikipedia by Lauren Gutterman, Project Coordinator, OutHistory.org

PROTECTED ENTRY: This entry by a named creator or site administrator can be changed only by that creator and site administrators, so they are responsible for its accuracy, coverage, evidence, and clarity. Please do use this entry's Comment section at the bottom of the page to suggest improvements. Thanks.


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 apipe "|" 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:


Example Table
FELD 1 FELD 2 FELD 3
Element Element Element
Element Element Element
Element Element Element