Difference between revisions of "Help:Tables"

From Earth Science Information Partners (ESIP)
Line 24: Line 24:
 
|}
 
|}
 
2.the wiki also understands html code for tables (i.e. <table> tags) if you prefer that.  The help page for mediawiki that explains which html tags and the brackets is here.  
 
2.the wiki also understands html code for tables (i.e. <table> tags) if you prefer that.  The help page for mediawiki that explains which html tags and the brackets is here.  
 
<nowiki><table>
 
  <tr>
 
      <td>1</td>
 
      <td>2</td>
 
  </tr>
 
    <tr>
 
      <td>3</td>
 
      <td>4</td>
 
  </tr>
 
  <tr>
 
      <td>5</td>
 
      <td>6</td>
 
  </tr>
 
</table>
 
</nowiki>
 
 
<table>
 
<table>
 
   <tr>
 
   <tr>

Revision as of 11:23, 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

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.
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.