Difference between revisions of "Help:How to use tables"

From WRG
Jump to navigationJump to search
 
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
 
{|  
 
{|  
 
| Apple
 
| Apple
 +
| Cat
 +
|-
 
| Banana
 
| Banana
|-
 
| Carrot
 
 
| Dog
 
| Dog
 
|}
 
|}
Line 14: Line 14:
 
{|  
 
{|  
 
| Apple
 
| Apple
 +
| Cat
 +
|-
 
| Banana
 
| Banana
|-
 
| Carrot
 
 
| Dog
 
| Dog
 
|}</pre>
 
|}</pre>
Line 23: Line 23:
 
{| border=1
 
{| border=1
 
| Apple
 
| Apple
 +
| Cat
 +
|-
 
| Banana
 
| Banana
 +
| Dog
 +
|}
 +
|width=50% |<pre><nowiki>
 +
{| border=1
 +
| Apple
 +
| Cat
 
|-  
 
|-  
| Carrot
+
| Banana
 +
| Dog
 +
|}</nowiki></pre>
 +
|-
 +
|width=50% |
 +
{| border=1
 +
! Fruits
 +
! Pets
 +
|-
 +
| Apple
 +
| Cat
 +
|-
 +
| Banana
 
| Dog
 
| Dog
 
|}
 
|}
 
|width=50% |<pre><nowiki>
 
|width=50% |<pre><nowiki>
 
{| border=1
 
{| border=1
 +
! Fruits
 +
! Pets
 +
|-
 
| Apple
 
| Apple
 +
| Cat
 +
|-
 
| Banana
 
| Banana
|-
 
| Carrot
 
 
| Dog
 
| Dog
 
|}</nowiki></pre>
 
|}</nowiki></pre>
 
|}
 
|}
 +
 +
What the symbols mean:
 +
{| border=1
 +
! Symbol
 +
! Meaning
 +
|- align="center"
 +
| '''<nowiki>{|</nowiki>'''
 +
| Start a new table.
 +
|- align="center"
 +
| '''<nowiki>!</nowiki>'''
 +
| Start a new header cell/column in a row.
 +
|- align="center"
 +
| '''<nowiki>|</nowiki>'''
 +
| Start a new cell/column in a row.
 +
|- align="center"
 +
| '''<nowiki>|-</nowiki>'''
 +
| Start a new row.
 +
|- align="center"
 +
| '''<nowiki>|}</nowiki>'''
 +
| End a table.
 +
|}
 +
 +
'''Note:''' More advanced examples can be found on [http://en.wikipedia.org/wiki/Help:Table Wikipedia's Table Help Page].

Latest revision as of 00:03, 19 January 2006

What it looks like What you type
Apple Cat
Banana Dog
{| 
| Apple
| Cat
|- 
| Banana
| Dog
|}
Apple Cat
Banana Dog
{| border=1
| Apple
| Cat
|- 
| Banana
| Dog
|}
Fruits Pets
Apple Cat
Banana Dog
{| border=1
! Fruits
! Pets
|-
| Apple
| Cat
|- 
| Banana
| Dog
|}

What the symbols mean:

Symbol Meaning
{| Start a new table.
! Start a new header cell/column in a row.
| Start a new cell/column in a row.
|- Start a new row.
|} End a table.

Note: More advanced examples can be found on Wikipedia's Table Help Page.