Difference between revisions of "Template:Tab-routes"

From Transit.Wiki
m
m
 
Line 77: Line 77:
  
 
Common category is optional. If it is not specified the category will be defaulted to "common provider routes".
 
Common category is optional. If it is not specified the category will be defaulted to "common provider routes".
 +
</noinclude>

Latest revision as of 17:11, 12 January 2020

Another way to input routes in a tab format for smaller systems.

Full list:

{{tab-routes
|provider=
|prefix= (remove entire line if not needed)
|num= (remove entire line if not needed)
|alpha= (remove entire line if not needed)
|letter= (remove entire line if not needed)
|fullname=
|type=
|pcategory=
|to=
|link=
|servicespan=
|note=
|altsep=
|places=
|buses=
|busways=
|busway name=
}}

Places are to be separated by comma.

Use |altsep= for alternate separator like ";" since some page names include comma.

Minimal list:

{{tab-routes
|num= (remove entire line if not needed)
|letter= (remove entire line if not needed)
|to=
|link=
|servicespan=
|places=
}}

Set common provider and category for all routes on this page through

{{#vardefine:1provider|$1}} {{#vardefine:1category|$2}}

Common category is optional. If it is not specified the category will be defaulted to "common provider routes".