Template:PTV route/doc

This template produces external links to route pages on Public Transport Victoria's website.

If you need to cite a bus route web page, please use cite PTV route instead.

Parameters

 * route - the route number of the route you wish to link to. This parameter is required, but you can use the first positional parameter instead;  has the same result as.
 * mode - the mode of transport for the route you wish to link to. Use  to link to a bus route, or   to link to a tram route. This parameter is optional, and if no value is supplied the template will attempt to link to a bus route by default.
 * display - the code for the link text you want to display. Use  or   to display the route number, or   or   to display a short description of the route. By default, no link text is displayed.
 * text - Custom link text to display, if the display parameter is not used.

Deprecated parameters
These parameters may be removed in a future version of the template.


 * numtext - if not empty, link text will be the number of the route (e.g.; "737"). Leave blank otherwise.
 * deftext - if not empty, link text will be the title of the route (e.g.; "Caroline Springs - Albion"). Leave blank otherwise.

Pages with templates using either of these parameters are put in Category:PTV route templates with deprecated parameters.

Updating routes
To edit the route data, please go to Module:PTV route/data.

Tracking categories
This template uses the following tracking categories:


 * Category:PTV route templates with deprecated parameters - for transclusions using deprecated parameters.
 * Category:PTV route templates with invalid routes - for transclusions that specify a combination of route and mode that does not exist in Module:PTV route/data.