Jump to content

Template:Cite PTV route/doc

From Wikipedia, the free encyclopedia

This template produces citations for routes run by Public Transport Victoria.

If you just need a link to a route page on PTV's website, and not a full citation, you can use {{PTV route}}.

Usage

[edit]
<ref>{{cite PTV route|<route number>|mode=<mode of transportation>|access-date=<date you checked the link>}}</ref>

Parameters

[edit]
  • 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; {{cite PTV route|123}} has the same result as {{cite PTV route|route=123}}.
  • mode - the mode of transport for the route you wish to link to. Use bus to link to a bus route, tram to link to a tram route or train to link to a Metro train route. This parameter is optional, and if no value is supplied the template will attempt to link to a bus route by default.
  • access-date, archive-url, archive-date, dead-url - these are passed through to {{cite web}}. See Template:Cite web#URL for details of how to use them. You can also use the aliases accessdate, archiveurl, archivedate, and deadurl.

Examples

[edit]
Code Result
<ref>{{cite PTV route|735|access-date=9 March 2019}}</ref> [1]
<ref>{{cite PTV route|5|mode=tram|access-date=9 March 2019}}</ref> [2]

References

[edit]
  1. ^ "735 Box Hill to Nunawading". Public Transport Victoria. Retrieved 9 March 2019.
  2. ^ "5 Melbourne University - Malvern". Public Transport Victoria. Retrieved 9 March 2019.

Updating routes

[edit]

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

Tracking categories

[edit]

This template uses the following tracking categories: