![]() | This template uses Lua: |
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.
{{PTV route|<route number>|mode=<mode of transportation>|display=<display code>|text=<custom display text>}}
{{PTV route|123}}
has the same result as {{PTV route|route=123}}
.bus
to link to a bus route, or tram
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.num
or number
to display the route number, or desc
or description
to display a short description of the route. By default, no link text is displayed.|display=
parameter is not used.These parameters may be removed in a future version of the template.
Pages with templates using either of these parameters are put in Category:PTV route templates with deprecated parameters.
Code | Result |
---|---|
{{PTV route|route=735}}
|
[1] |
{{PTV route|route=5|mode=tram}}
|
[2] |
{{PTV route|route=735|display=num}}
|
735 |
{{PTV route|route=735|display=desc}}
|
Box Hill to Nunawading |
{{PTV route|route=735|text=a bus route}}
|
a bus route |
To edit the route data, please go to Module:PTV route/data.
This template uses the following tracking categories:
|route=
and |mode=
that does not exist in
Module:PTV route/data.