User:Grfr12345/sandbox/Template/doc
Appearance
This is a documentation subpage for User:Grfr12345/sandbox/Template. It may contain usage information, categories and other content that is not part of the original user template page. |
This template uses Lua: |
All parameters
[edit]{{Infobox Melbourne tram route | number = <!-- number of route --> | bgcolor = <!-- background color for route icon (hex codes need a '#', i.e. #00ff33 not 00ff33) --> | titlecolor = <!-- color of the title text (hex codes need a '#') --> | box_width = <!-- width of the infobox itself --> | subheader = <!-- motto or alternate route title, etc. --> | operatorlogo = <!-- operator logo (ex: Image_name.png) --> | oplogo_width = <!-- width of the operator logo image --> | image = <!-- photo of the tram (ex: Image_name.png) --> | image_width = <!-- width of the main image --> | image_alt = <!-- alternate text for main image --> | caption = <!-- caption for the main image --> | system = | operator = | garage = | vehicle = | livery = | pvr = | status = | open = <!-- {{Start date| YYYY| MM| DD| df=y}} --> | close = <!-- {{End date| YYYY| MM| DD| df=y}} --> | predecessors = | former_operator = | night = | routetype = <!-- or | routes = --> | locale = | communities = | landmarks = | termini = <!-- used when route starts and stops at a single location, overrides the start and end parameters --> | start = | via = | end = | length = | stations = <!-- Overrides stops if used --> | stops = <!-- Overrides stations if used ---> | otherroutes = | compete = | ibus = | level = | level1 = | frequency = | alt_frequency = | time = | day = | zone = | ridership = | annualpatronage = | fare = | cash = | transfers = | timetable_link = <!-- external link to an online timetable (ex: [http://www.example.com/timetable.html Line xx timetable]) --> | map_link = <!-- external link to an online map (ex: [http://www.example.com/map.html Line xx map]) --> | map = <!-- map image (ex: [[File:Image_name.png| 200px]]) or {{Infobox rdt}} --> | map_state = <!-- controls map starting visibility (use 'collapsed' to start hidden), defaults to hidden --> | map_name = <!-- name of the map (defaults to 'Route map') --> | previous_line = <!-- link to article of previous route if sequential --> | system_nav = <!-- link to article of system--> | next_line = <!-- link to article of next route if sequential --> | notes = <!-- anything special in small font, centered at the bottom of the infobox --> }}
Example
[edit]{{Infobox Melbourne tram route |number = 67 |bgcolor = #71BE43 |titlecolor = #ffffff |operatorlogo = YarraTramsLogoNew.svg |oplogo_width = 180 |image = Z3209route67.JPG |image_alt = |caption = Z3 class tram on Swanston Street in April 2006 |system = Melbourne |operator = Yarra Trams |depot = Glenhuntly |vehicle = Z class<br>A-class<br>B class |open = |close = |night = Friday & Saturday |locale = Melbourne, Australia |start = Melbourne University |via = Carlton<br>Melbourne CBD<br>Southbank<br>St Kilda<br>Balaclava<br>Elsternwick<br>Caulfield<br>Glen Huntly |end = Carnegie |length = {{convert|12.7|km|mi|abbr=on}} |time = 50-70 minutes |day = Daily |zone = Free Zone: Stops 1-7<br>Myki Zone 1: Stops 8-59 |ridership = |annualpatronage=6.4 million |timetable_link= [http://ptv.vic.gov.au/route/view/913 Route 67 timetable] |map_link = [http://ptv.vic.gov.au/getting-around/maps/metropolitan-trams/view/913 Route 67 map] |map = |map_state = show |map_name = |previous_line = Route 64 |next_line = Route 70 |notes = }}