User:Zoeannl/Project guideline/Proofreader’s Guide/Tables

Formatting codes declared in the table header (which affects the whole table)

 * For complete reference List of table style shorthand codes. Note bottom of page-->
 * {{ts|text-indent:-20px;| … }| cell contents for hanging indent


 * mc = centers the table on page the order of values are clockwise Top, Right, Bottom and Left. (margin:0 auto 0 auto;)
 * ar|al|ac|aj = aligns the contents of all cells. Base this universal alignment by the content alignment of the majority of columns.
 * bc = border collapse. If omitted, cell borders are dashed.
 * border/border=1 = single line border of every cell.
 * bt|br|bb|bl = single line border around the table. where
 * |-ac|bb = when declared on a table row indicator, aligns content with a single line bottom border of a row of cells.


 * sm90|lh12 = font size of 90% and the matching line height of 120%.
 * sm85|lh11 = font size of 85% and the matching line height of 110%.
 * pt.5|pb.5 = cell padding of .5em top OR bottom.
 * ptb.5 = cell padding of .5em top AND bottom.
 * pr1|pl1 TO pr5|pl5 = cell padded 1em to 5em (increments of 1em) on the right OR left of the cell.


 * The template top row is the header for centered column titles with padding top and bottom of the cells.
 * The template second row is the first row padded on the top.
 * The template third row is no padding.
 * The template fourth row is the last table row, padded on the bottom.


 * vertical text: class="rot270" (placed as per width=) Page:The_Gall_Wasp_Genus_Cynips.pdf/48
 * CSS hanging indent=padding-left:2.0em;text-indent:-2.0em; or

Table layout for tables with single line borders for various font sizes, and matching line height.
{| (standard 100% font size and matching standard line height of 140%)

{| (90% font size and matching line height)

Formatting for Effect
This section address the use of tables for the recreation of printed typography and layout on Wikisource. As a general rule Wikisource does not attempt to recreate the identical formatting of the original published work. The conversion from print to electronic formatting means the work will be available on a multitude of different devices with differing screen sizes so for the most part it is counter productive to attempt to recreate to the limitations of printing on paper. At the same time, occasionally a portion of a printed work is created specifically with the limitations of paper in mind, which must be maintained in order to convey the intended meaning to the reader.


 * Template:Table style lists multiple choices for formatting cells, rows and columns in tables. These shortcuts are designed specifically for use on Wikisource.


 * m:Combined use of COLSPAN and ROWSPAN to force alignment, like this



Spanning pages
When a single table spans two printed pages, the desire is to have both pages appear correctly in both the Page: namespace, and when it's transcluded.

Use the header and the footer (|-, |}) to close and open the tables in the page name space, when transcluded it will read as one table.