Wikisource:Style guide/Tables

From Wikisource
Jump to navigation Jump to search
Some styles used to enable easier formatting consistency of tables

Basic table

[edit]

A plain table, without borders. A common use is to reproduce a work's table of contents.

{| width=100%
|-
|Chapter 1
|align=right|1
|-
|Chapter 2
|align=right|17
...
|-
|Chapter 27
|align=right|371
|}

Shortcut formatting

[edit]

To enable a shortcut in the complexity of tables, and how they look in wikitext format, we have created the {{ts}} template.

Page Styles

[edit]

Table with open left and right edges

[edit]

A common style for tables is thin borders around every cell and the top and bottom outer edges, but leaving the left and right edges open. You can achieve this effect using Page Styles; see #No left or right outer border.