Difference between revisions of "Template:Infobox rail service/testcases"
Jump to navigation
Jump to search
imported>Jdaloner m (Updated transclusion of 'testcases notice' at top of page. Adjusted spacing.) |
imported>Plastikspork (Typos) |
||
| (5 intermediate revisions by 5 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== |
| + | {{testcase table | ||
| box_width = 25em | | box_width = 25em | ||
| name = TranzAlpine | | name = TranzAlpine | ||
| − | | logo = | + | | color = {{rcr|Amtrak}} |
| + | | logo = <!-- Do not use a non-free image here, per WP:NFCC #9 --> | ||
| logo_width = | | logo_width = | ||
| image = Tranz_alpine.jpg | | image = Tranz_alpine.jpg | ||
| Line 43: | Line 90: | ||
| 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
| 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 | ||||
| |||||