Difference between revisions of "Template:Infobox rail service/testcases"

From blackwiki
Jump to navigation Jump to search
imported>DePiep
m ({Track gauge}: specify unit in size (e.g. "30 in" for "30") using AWB)
imported>Plastikspork
(Typos)
 
(6 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{template test cases notice}}  
+
{{Testcases notice <!--|toc=on-->}}
 +
==Without the color parameter==
 +
{{testcase table
 +
| box_width      = 25em
 +
| name            = TranzAlpine
 +
| color          =
 +
| logo            = <!-- Do not use a non-free image here, per WP:NFCC #9 -->
 +
| logo_width      =
 +
| image          = Tranz_alpine.jpg
 +
| image_width    = 300px
 +
| caption        = The TranzAlpine skirting the [[Waimakariri River]].
 +
| type            = [[Inter-city rail]]
 +
| status          = Operating
 +
| locale          = [[South Island]], [[New Zealand]]
 +
| first          = 1987-11-22
 +
| last            =
 +
| operator        = [[Tranz Scenic]], a division of [[KiwiRail]]
 +
| formeroperator  = [[Tranz Scenic|InterCity Rail]] (1987 - 1995)
 +
| ridership      = 204,000 (2006 financial year)
 +
| start          = [[Christchurch]]
 +
| stops          = 9
 +
| end            = [[Greymouth]]
 +
| distance        = {{convert|223|km|abbr=on}}
 +
| journeytime    = 4 hours, 25 minutes
 +
| frequency      = Daily each way
 +
| class          = Standard class only
 +
| access          = Restricted due to age of rolling stock
 +
| seating        = Airline style<br />Table bay
 +
| sleeping        =
 +
| autorack        =
 +
| catering        = On-board café
 +
| observation    = Large windows in all carriages<br />
 +
Open-air carriage in middle of train
 +
| entertainment  =
 +
| baggage        = Overhead racks<br />Baggage carriage
 +
| otherfacilities =
 +
| stock          = Two [[NZR DC class]] locomotives<br />
 +
Nine [[NZR 56-foot carriage]]s<br />
 +
One NZR 56-foot baggage carriage<br />
 +
One open-air observation carriage
 +
| gauge          = {{Track gauge|1067mm}}
 +
| el              =
 +
| speed          =
 +
| map            = {{infobox rdt|Midland Line, New Zealand}}
 +
| map_state      = collapsed
 +
}}
  
{{Infobox rail service/sandbox
+
==With the color parameter==
| box_width   = 25em
+
{{testcase table
| name       = TranzAlpine
+
| box_width       = 25em
| logo       =
+
| name           = TranzAlpine
| logo_width =
+
| color          = {{rcr|Amtrak}}
| image       = Tranz_alpine.jpg
+
| logo           = <!-- Do not use a non-free image here, per WP:NFCC #9 -->
| image_width = 300px
+
| logo_width     =
| caption     = The TranzAlpine skirting the [[Waimakariri River]].
+
| image           = Tranz_alpine.jpg
| type       = [[Inter-city rail]]
+
| image_width     = 300px
| status     = Operating
+
| caption         = The TranzAlpine skirting the [[Waimakariri River]].
| locale     = [[South Island]], [[New Zealand]]
+
| type           = [[Inter-city rail]]
| first       = 1987-11-22
+
| status         = Operating
| last       =
+
| locale         = [[South Island]], [[New Zealand]]
| operator   = [[Tranz Scenic]], a division of [[KiwiRail]]
+
| first           = 1987-11-22
| formeroperator= [[Tranz Scenic|InterCity Rail]] (1987 - 1995)
+
| last           =
| ridership   = 204,000 (2006 financial year)
+
| operator       = [[Tranz Scenic]], a division of [[KiwiRail]]
| start       = [[Christchurch]]
+
| formeroperator = [[Tranz Scenic|InterCity Rail]] (1987 - 1995)
| stops       = 9
+
| ridership       = 204,000 (2006 financial year)
| end         = [[Greymouth]]
+
| start           = [[Christchurch]]
| distance   = {{convert|223|km|abbr=on}}
+
| stops           = 9
| journeytime = 4 hours, 25 minutes
+
| end             = [[Greymouth]]
| frequency   = Daily each way
+
| distance       = {{convert|223|km|abbr=on}}
| class       = Standard class only
+
| journeytime     = 4 hours, 25 minutes
| access     = Restricted due to age of rolling stock
+
| frequency       = Daily each way
| seating     = Airline style <br> Table bay
+
| class           = Standard class only
| sleeping   =
+
| access         = Restricted due to age of rolling stock
| autorack   =
+
| seating         = Airline style<br />Table bay
| catering   = On-board café
+
| sleeping       =
| observation = Large windows in all carriages <br>
+
| autorack       =
Open-air carriage in middle of train
+
| catering       = On-board café
| entertainment=
+
| observation     = Large windows in all carriages<br />
| baggage     = Overhead racks <br> Baggage carriage
+
Open-air carriage in middle of train
| otherfacilities=
+
| entertainment   =
| stock       = Two [[NZR DC class]] locomotives <br>  
+
| baggage         = Overhead racks<br />Baggage carriage
Nine [[NZR 56-foot carriage]]s <br>  
+
| otherfacilities =
One NZR 56-foot baggage carriage <br>  
+
| stock           = Two [[NZR DC class]] locomotives<br />
 +
Nine [[NZR 56-foot carriage]]s<br />
 +
One NZR 56-foot baggage carriage<br />
 
One open-air observation carriage
 
One open-air observation carriage
| gauge       = {{Track gauge|1067mm}}
+
| gauge           = {{Track gauge|1067mm}}
| el         =
+
| el             =
| speed       =  
+
| speed           =
| map         = {{infobox rdt|Midland Line, New Zealand}}
+
| map             = {{infobox rdt|Midland Line, New Zealand}}
| map_state   = collapsed
+
| map_state       = collapsed
 +
}}
 +
 
 +
== Module testcase ==
 +
{{infobox rail service/sandbox
 +
| name = Module test
 +
| type = High-speed rail
 +
| map = {{infobox rdt|Midland Line, New Zealand}}
 +
| module = {{infobox korean name|child=yes|headercolor=#efefef
 +
| hangul = abc
 +
| hanja = abc
 +
| rr = xyz
 +
| mr = xyz
 +
}}
 
}}
 
}}

Latest revision as of 15:21, 29 January 2021

Without the color parameter

Template:Testcase table

With the color parameter

Template:Testcase table

Module testcase

Module test
Overview
Service typeHigh-speed rail
Korean name
Hangul
abc
Hanja
abc
Revised RomanizationTemplate:Transl
McCune–ReischauerTemplate:Transl
Route map