Gaming
 

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 ACategory B Category C

1st 2nd 3rd

Data 1AData 1B1C11C21C3
Data 2AData 2B2C12C22C3
Data 3AData 3B3C13C23C3

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.