Template:Bus route table/doc
![]() | This is a documentation subpage for Template:Bus route table. It may contain 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
[edit]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
[edit]Top row (headings)
[edit]- 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.
- calign= alignment of the caption. Optional – default if not specified is
left
, other options arecenter
orright
Regular rows
[edit]- 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
[edit]- 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.
Example
[edit]Note that shortcut {{brt}}
can be used instead of {{Bus route table}}
.
{{Bus route table|top|caption=Platform A services}}
{{Bus route table
|stop=[12223] Stand A2
|sspan=2
|route=41
|dest=to [[Bayswater, Western Australia|Bayswater]] via Lord Street, Eight Avenue, [[Maylands, Western Australia|Maylands]], Caledonian Street, Stone Street & Frington Street<ref>[http://www.transperth.wa.gov.au/timetables/details?Bus=41 Route 41 timetable] Transperth</ref>
|notes=}}
{{Bus route table
|route=42
|dest=to Maylands via Lord Street & Peninsula Road<ref>[http://www.transperth.wa.gov.au/timetables/details?Bus=42 Route 42 timetable] Transperth</ref>
|notes=}}
{{Bus route table
|stop=[12223] Stand A3
|sspan=2
|route=16
|dest=to [[Dianella, Western Australia|Dianella]] via [[William Street, Perth|William Street]], North Street, Wood Street, Crawford Road, Browning Street & [[Alexander Drive]]<ref>[http://www.transperth.wa.gov.au/timetables/details?Bus=16 Route 16 timetable] Transperth</ref>
}}
{{Bus route table
|route=60
|dest=to [[Morley bus station]] via William Street, North Street, Dundas Road & Walter Road West<ref>[http://www.transperth.wa.gov.au/timetables/details?Bus=60 Route 60 timetable] Transperth</ref>
|notes=}}
{{brt
|stop=[12228] Stand A7
|route=950
|dest=to [[Morley bus station]] via [[Beaufort Street]]<ref name=Route950>[http://www.transperth.wa.gov.au/timetables/details?Bus=950 Route 950 timetable] Transperth</ref>
|notes=High frequency service}}
{{Bus route table|bottom|key=A key or legend could go here}}
Stop | Route | Destination / description | Notes |
---|---|---|---|
[12223] Stand A2 | 41 | to Bayswater via Lord Street, Eight Avenue, Maylands, Caledonian Street, Stone Street & Frington Street[1] | |
42 | to Maylands via Lord Street & Peninsula Road[2] | ||
[12223] Stand A3 | 16 | to Dianella via William Street, North Street, Wood Street, Crawford Road, Browning Street & Alexander Drive[3] | |
60 | to Morley bus station via William Street, North Street, Dundas Road & Walter Road West[4] | ||
[12228] Stand A7 | 950 | to Morley bus station via Beaufort Street[5] | High frequency service |
A key or legend could go here |
References
- ^ Route 41 timetable Transperth
- ^ Route 42 timetable Transperth
- ^ Route 16 timetable Transperth
- ^ Route 60 timetable Transperth
- ^ Route 950 timetable Transperth
See also
[edit]TemplateData
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A template for generating a bus route table, for use in a station articles.
|