Help:Tables
Tables can help to organize otherwise messy content coverage. There are several types of tables and variables to consider when crafting a new table. Generally, the choice becomes obvious after the mess is reigned in by creating a Basic Table to start with. The amount of wiki-markup and planning for some of the more complex tables may seem daunting, but a simple copy/paste from these examples and changing the variables for your project eases the task. Experiment in the Sandbox if necessary; and never hesitate to ask for help. If all else fails, simply resort to requesting a table in the talk page of an article.
Table Construction Terms and Variables
to be written
Basic Tables
This is an example of a basic table. These are excellent starting points to learn how to create tables- or even as a start to clean up a page before creating a more complex table.
Types of Tables | Description | Uses |
---|---|---|
Regular | A normal table like this one | Sums up information in a simple format |
Sortable | A table that can be resorted accordingly | Best on large tables, but useful on small ones as well |
Irregular Cells | Allows Columns and Rows to span further | Tiers overlapping information |
Column Formatted Lists | Place long lists into a table format | Reduces senseless page drop-downs |
Sortable Tables
Click on any of the header icons to shuffle the list. Sortable tables are useful for any comparison lists in which the data in the cells are going to have common elements, such as the "NIWA Status" column.
Wiki | Game Series | NIWA Status |
Bulbapedia | ||
Metroid Wiki | ||
Super Mario Wiki | ||
Wars Wiki | ||
WiKirby | ||
Zelda Wiki.org |
Irregular Cells
- By using the term: colspan=3, the top cell is able to stretch across 3 column cells.
- By using the term: rowspan=2, the Game Series rows are able to stretch down 2 cells of rows.
The use of the code for irregular cells can be mixed in with almost any table. The primary use for it is to prevent cells with duplicate content in a cleaner format. The merged cells can be used anywhere in the table, although this example only uses them in the leading columns, and heading row. To merge any other cell, simply place the rowspan or colspan code and number of cells to merge before the leading slash | of the entry.
Smash Bros." Series' inclusion of other popular series' media | ||
---|---|---|
Game Series | Character | Item |
Donkey Kong | Donkey Kong | Barrel |
Diddy | Coconut Shooter | |
Kirby | Kirby | Legendary Dragoon |
Meta Knight | Warp Star | |
Mario | Mario | Fire Flower |
Peach | Mushroom | |
Pokèmon | JigglyPuff | Poké Ball |
Pikachu | Pokédex | |
The Legend of Zelda | Link | Bunny Hood |
Zelda | Deku Nut |
Column Formatted Lists
Column Formatted Lists are one of the many solutions to long lists that needlessly extend pages. The wasted space on the right hand side of the list is generally an eyesore.
One of the more complex tables, The widths are variables to be set. A mere copy/paste of the table is seldom the final edit; but is the easiest way to start one-and even recommended to curb Excedrin use. The main issue to expect is with the width %. Simple math may be needed to divide the columns evenly for two, use pairs of 50%; for four, use 25% and so on, dividing 100% of the area by the number of columns desired. The total of 100% will only apply to the total of the chosen field. To change the actual table size, the first set of width variables will apply to the entire table in respect to the area of the page.
- Note: Using fluid width selections, such as percents of the area, rather than set pixel widths, ensures compatibility with various browsers and screen resolutions.
Nintendo Consoles | Nintendo Handhelds | Other Devices by Nintendo | ||||||
---|---|---|---|---|---|---|---|---|
|
|
|
Styling
to be written