Difference between revisions of "Help:Tables"
From Nookipedia, the Animal Crossing wiki
GoalieGuy6 (talk | contribs) |
GoalieGuy6 (talk | contribs) |
||
Line 4: | Line 4: | ||
To create a table you first need to begin with <code>{|</code> and end with <code>|}</code>. An example is below | To create a table you first need to begin with <code>{|</code> and end with <code>|}</code>. An example is below | ||
− | + | {| style="width:50%" border="1" | |
− | + | |- | |
− | + | ! style="width:50%" | You type | |
− | + | ! style="width:50%" | You get | |
− | + | |- | |
− | + | | | |
− | |||
<pre> | <pre> | ||
{| | {| | ||
Line 34: | Line 33: | ||
|} | |} | ||
</pre> | </pre> | ||
− | + | | | |
{| | {| | ||
! Item | ! Item | ||
Line 56: | Line 55: | ||
|15.00 | |15.00 | ||
|} | |} | ||
− | + | |} | |
− | + | ||
− | + | As you can see, each new line starting with <code>|</code> creates a new cell and a line with <code>|-</code> creates a new row. Using <code>!</code> instead of <code>|</code> to start a line creates bold, centered text. Both HTML and CSS can be used in tables for borders, etc. | |
− |
Revision as of 16:20, October 26, 2010
This article is all about using tables on Animal Crossing Wiki. It will teach you how to create tables in various articles.
Creating Tables
To create a table you first need to begin with {|
and end with |}
. An example is below
You type | You get | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{| ! Item ! Amount ! Cost |- |Orange |10 |7.00 |- |Bread |4 |3.00 |- |Butter |1 |5.00 |- !Total | |15.00 |} |
|
As you can see, each new line starting with |
creates a new cell and a line with |-
creates a new row. Using !
instead of |
to start a line creates bold, centered text. Both HTML and CSS can be used in tables for borders, etc.