Difference between revisions of "Template:Infobox rail service/testcases"
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: | ||
| − | {{ | + | {{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 | ||
| + | }} | ||
| − | {{ | + | ==With the color parameter== |
| − | | box_width | + | {{testcase table |
| − | | name | + | | box_width = 25em |
| − | | logo | + | | name = TranzAlpine |
| − | | logo_width | + | | color = {{rcr|Amtrak}} |
| − | | image | + | | logo = <!-- Do not use a non-free image here, per WP:NFCC #9 --> |
| − | | image_width = 300px | + | | logo_width = |
| − | | caption | + | | image = Tranz_alpine.jpg |
| − | | type | + | | image_width = 300px |
| − | | status | + | | caption = The TranzAlpine skirting the [[Waimakariri River]]. |
| − | | locale | + | | type = [[Inter-city rail]] |
| − | | first | + | | status = Operating |
| − | | last | + | | locale = [[South Island]], [[New Zealand]] |
| − | | operator | + | | first = 1987-11-22 |
| − | | formeroperator= [[Tranz Scenic|InterCity Rail]] (1987 - 1995) | + | | last = |
| − | | ridership | + | | operator = [[Tranz Scenic]], a division of [[KiwiRail]] |
| − | | start | + | | formeroperator = [[Tranz Scenic|InterCity Rail]] (1987 - 1995) |
| − | | stops | + | | ridership = 204,000 (2006 financial year) |
| − | | end | + | | start = [[Christchurch]] |
| − | | distance | + | | stops = 9 |
| − | | journeytime = 4 hours, 25 minutes | + | | end = [[Greymouth]] |
| − | | frequency | + | | distance = {{convert|223|km|abbr=on}} |
| − | | class | + | | journeytime = 4 hours, 25 minutes |
| − | | access | + | | frequency = Daily each way |
| − | | seating | + | | class = Standard class only |
| − | | sleeping | + | | access = Restricted due to age of rolling stock |
| − | | autorack | + | | seating = Airline style<br />Table bay |
| − | | catering | + | | sleeping = |
| − | | observation = Large windows in all carriages <br> | + | | autorack = |
| − | + | | catering = On-board café | |
| − | | entertainment= | + | | observation = Large windows in all carriages<br /> |
| − | | baggage | + | Open-air carriage in middle of train |
| − | | otherfacilities= | + | | entertainment = |
| − | | stock | + | | 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 | + | | gauge = {{Track gauge|1067mm}} |
| − | | el | + | | el = |
| − | | speed | + | | speed = |
| − | | map | + | | map = {{infobox rdt|Midland Line, New Zealand}} |
| − | | map_state | + | | 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
| 42px | This is the template test cases page for the sandbox of Template:Infobox rail service. Script error: No such module "Purge". to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki, see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins with these links: |
Without the color parameter
With the color parameter
Module testcase
| Overview | |||||
|---|---|---|---|---|---|
| Service type | High-speed rail | ||||
| Korean name | |||||
| Hangul | abc | ||||
| Hanja | abc | ||||
| Revised Romanization | Template:Transl | ||||
| McCune–Reischauer | Template:Transl | ||||
| |||||