Difference between revisions of "Help:Tables"

From Earth Science Information Partners (ESIP)
Line 14: Line 14:
 
|Cell C
 
|Cell C
 
|}</nowiki>
 
|}</nowiki>
{| width="100%" cellpadding=0 cellspacing=1 border="1"
+
{| width="70%" cellpadding=0 cellspacing=1 border="1" align="center"
 
|- valign="top" bgcolor="#FFFFFF"   
 
|- valign="top" bgcolor="#FFFFFF"   
 
|+ The table's caption
 
|+ The table's caption

Revision as of 11:31, May 23, 2006

There are two ways to construct tables in the wiki :

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

{| width="70%" cellpadding=0 cellspacing=1 border="1" align="center"
|- valign="top" bgcolor="#FFFFFF"  
|+ The table's caption 
! Column heading 1 !! Column heading 2 !! Column heading 3
|-
|Cell 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. For more information go to Meta.Wikimedia. If this terse instruction set is unclear or inadequate, users are requested to fix it. Thanks.