Difference between revisions of "Help:Tables"

From Earth Science Information Partners (ESIP)
Line 1: Line 1:
 
There are two ways to construct tables in the wiki :  
 
There are two ways to construct tables in the wiki :  
  
1.Particular formatting style with { and | in "wiki text"  
+
# Particular formatting style with { and | in "wiki text"  
  
 
  <nowiki>{| border="1" cellpadding="5" cellspacing="0"
 
  <nowiki>{| border="1" cellpadding="5" cellspacing="0"
Line 23: Line 23:
 
|Cell C
 
|Cell C
 
|}
 
|}
2.the wiki also understands html code for tables (i.e. <table> tags) if you prefer that.   
+
# The wiki also understands html code for tables (i.e. <table> tags) if you prefer that.   
 
  <table>
 
  <table>
 
   <tr>
 
   <tr>

Revision as of 11:24, 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
|-
|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
  1. The wiki also understands html code for tables (i.e. tags) if you prefer that.
    1 2
    3 4
    5 6



    For more information go to Meta.Wikimedia.

    If this terse instruction set is unclear or inadequate, users are requested to fix it. Thanks.