Difference between revisions of "Template:Bus route table/doc"
Jump to navigation
Jump to search
imported>Evad37 m (Evad37 moved page User:Evad37/sandbox/Template:Bus route table/doc to Template:Bus route table/doc: move to template namespace) |
imported>Evad37 (template shortcut) |
||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | ||
| + | {{template shortcut|brt}} | ||
This is a template for generating a bus route table, for use in a station article. | This is a template for generating a bus route table, for use in a station article. | ||
Revision as of 03:22, 4 February 2016
| This is a documentation subpage for Template:Bus route table. It contains usage information, categories and other content that is not part of the original template page. |
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:
{{Bus route table|top}}
{{Bus route table
|stop=
|route=
|dest=
|notes=}}
{{Bus route table|bottom}}
...and fill in the variables! For more entries, use this:
{{Bus route table
|stop=
|route=
|dest=
|notes=}}
(add above the line {{Bus route table|bottom}})
Parameters
Top row (headings)
- 1= (or first positional parameter):
top(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.
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):
bottom(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.