Template:Bus route table/doc

This is a template for generating a bus route table, for use in a station article.

Usage
This is the basic syntax you need to get a complete intersection table. Just copy and paste the code below: ...and fill in the variables! For more entries, use this: (add above the line )

Top row (headings)

 * 1= (or first positional parameter):  (required to generate the headings)
 * caption= a caption to display above the table. Optional – may be omitted if directly below a ==Heading== (or ===Sub-heading=== etc.) that serves as a caption.
 * calign= alignment of the caption. Optional – default if not specified is, other options are   or

Regular rows

 * stop= name of stop; may include an id code
 * sspan= number of rows the stop cell spans – if value=1, omit this parameter. If used, stop= should be omitted from the other rows it spans.
 * route= route number
 * dest= destination(s) / brief description of route
 * notes= Any notes – e.g. high frequency, limited stops, etc.
 * nspan= number of rows the notes cell spans – if value=1, omit this parameter. If used, set notes=none for the other rows it spans.

End of table

 * 1= (or first positional parameter):  (required to close the table)
 * key= A key or legend can be specified here. Optional – may be used if symbols, abbreviations, colours, or other ambiguous markings are used in the table; or to otherwise specify content for the footer of the table, such as sources.

Example
Note that shortcut can be used instead of.