Template:MetlinkBus
From Wikipedia, the free encyclopedia
This template will provide a link to the Metlink page of any Melbourne bus route.
[edit] Usage
{{MetlinkBus|route=<route number> |numtext=<yes> |deftext=<yes> | text=<text>}}
- route - the route number of the route you wish to link to.
- numtext - if yes, link text will be the number of the route (eg; "737"). Leave blank otherwise.
- deftext - if yes, link text will be the title of the route (eg; "Caroline Springs - Albion"). Leave blank otherwise.
- text - custom text, if deftext not used (eg; "this route").
[edit] Examples
1.
{{MetlinkBus|route=735}}
- Will produce: [1]
2.
{{MetlinkBus|route=735|numtext=yes}}
- Will produce: 735
3.
{{MetlinkBus|route=735|deftext=yes}}
- Will produce: Box Hill - South Blackburn (K-Mart Store)
4.
{{MetlinkBus|route=735|text=a bus route}}
- Will produce: a bus route