This page lists the standard table formats used throughout Memory Alpha. If you want to add a new table to a page, see if you can use one of the existing formats. If not, please suggest a new format on the talk page, or link to the article in which you created the new table.
Each section below contains a table as an example. If you want to use a table design, simply click on the "edit" link of that section and copy the code.
Sidebars[]
Caption
| |
| Heading: | Content cell one |
| Heading: | Content cell two |
Sidebars are tables that appear at the right side of a page, starting at the top. They are three hundred pixels wide and consist of two columns of table cells with a heading in each left cell and content in each right cell.
Use the following CSS classes to style a sidebar:
- class="wiki-sidebar" for the table
- class="sb-left" for each left cell
- class="sb-right" for each right cell
- class="sb-both" combined with colspan="2" for cells that are supposed to span both columns (used, for example, for images)
Sidebars should have no, one (at the top), or two (at the top and at the bottom) images. If images are used, they should be resized to be exactly three hundred pixels wide. A caption may be attached to the image (see example code by editing this section).
It is recommended to use portable sidebars instead of traditional wikitext-table sidebars.
[]
Navigation tables are added at the end of articles, usually to link to other articles regarding a common topic (for example, other ships of the same class). They are typically implemented via a template.
| Title of navigation table |
|---|
| Link1 • Link2 • Link3 • ... |
| (if necessary, more than one table row can be used) |
If no further formatting (several table columns with different formatting) is necessary, this navigation table can be used. It is even possible to use more than one column. In that case use the additional formatting colspan="X" in the title line, where "X" is the number of columns to be used below.
Use the following CSS class to style a simple navigation table:
- class="nav-simple" for the table
