Difference between revisions of "Help:Tables"

From Earth Science Information Partners (ESIP)
Line 3: Line 3:
 
1.Particular formatting style with { and | in "wiki text"  
 
1.Particular formatting style with { and | in "wiki text"  
  
  <nowiki>{| border="1"
+
  <nowiki>{| border="1" cellpadding="5" cellspacing="0"
 
|+ The table's caption  
 
|+ The table's caption  
 
! Column heading 1 !! Column heading 2 !! Column heading 3
 
! Column heading 1 !! Column heading 2 !! Column heading 3
Line 14: Line 14:
 
|Cell C
 
|Cell C
 
|}</nowiki>
 
|}</nowiki>
{| border="1"
+
{| border="1" cellpadding="5" cellspacing="0"
 
|+ The table's caption
 
|+ The table's caption
 
! Column heading 1 !! Column heading 2 !! Column heading 3
 
! Column heading 1 !! Column heading 2 !! Column heading 3

Revision as of 11:13, May 23, 2006

There are two ways to construct tables in the wiki :

1.Particular formatting style with { and | in "wiki text"

{| border="1" cellpadding="5" cellspacing="0"
|+ The table's caption 
! Column heading 1 !! Column heading 2 !! Column heading 3
|-
! Row heading 1
| Cell 2 || Cell 3
|-
! Row heading A
|Cell B
|Cell C
|}
The table's caption
Column heading 1 Column heading 2 Column heading 3
Row heading 1 Cell 2 Cell 3
Row heading A Cell B Cell C

2.the wiki also understands html code for tables (i.e.

tags) if you prefer that. The help page for mediawiki that explains which html tags and the brackets is here.


For more information go to Meta.Wikimedia. If this terse instruction set is unclear or inadequate, users are requested to fix it. Thanks.