Help:Formatting tables
From DnD
[edit] Tables in General
For general tables, please use the following format.
| Category 1 | Category 2 | Category 3 |
| Data 1a | Data 2a | Data 3a |
| Data 1b | Data 2b | Data 3b |
- For all tables, you must separate the lines with |-
- If you start a data cell with a "+" sign, you must include || instead of | to have it inside the table.
- Please align numerical data in centrally, and alphabetical data to the right.
- For a practical example of how a table should look, examine the Barbarian Table. For an alternate practical example, examine the Fighter Table, which uses a different input method with similar results.
[edit] Complex Tables
For tables using multiple values in a single column(for example, spells), use colspan=<Number of values within column>
| Category A | Category B | Category C
1st 2nd 3rd | ||
| Data 1A | Data 1B | 1C1 | 1C2 | 1C3 |
| Data 2A | Data 2B | 2C1 | 2C2 | 2C3 |
| Data 3A | Data 3B | 3C1 | 3C2 | 3C3 |
- For an example of this, check out the Bard Table
NOTE: If you wish to suggest an alternate format, please make a sandbox from your userpage, then post a link to the new table on the talk page. Also, to avoid flooding the edit list, please use preview until you get the desired result.
