Difference between revisions of "Template:Infobox train/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Redrose64
(doesn't belong here)
(Replaced content with '....')
Line 1: Line 1:
{{Infobox
+
....
 
 
|bodyclass = hProduct
 
|bodystyle = {{#if:{{{box_width|}}}|width:{{{box_width}}};}}
 
|labelstyle = {{#if:{{{label_width|}}}|width:{{{label_width}}};}}
 
|headerstyle = color:{{Greater color contrast ratio|{{{background|#eee}}}}}; background-color:{{{background|#eee}}};
 
 
 
|above = {{If empty|{{{name|}}}<includeonly>|{{PAGENAMEBASE}}</includeonly>}}
 
|abovestyle = color:{{Greater color contrast ratio|{{{background|#eee}}}}}; background-color:{{{background|#eee}}};
 
 
 
|image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{imagesize|{{{image_size|}}}}}}|alt={{{imagealt|}}}}}
 
|caption = {{{caption|}}}
 
|image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{interiorimage|}}}|size={{{imagesize|{{{image_size|}}}}}}|alt={{{interiorimagealt|}}}}}
 
|caption2 = {{{interiorcaption|}}}
 
|aboveclass = fn
 
 
 
|label2 = In service
 
|data2 = {{{service|{{{InService|}}}}}}
 
 
 
|label3 = Manufacturer
 
|class3 = brand
 
|data3 = {{{manufacturer|{{{Manufacturer|}}}}}}
 
 
 
|label4 = Designer
 
|data4 = {{{designer|}}}
 
 
 
|label5 = Assembly
 
|data5 = {{{assembly|}}}
 
 
 
|label6 = Order {{abbr|no.|number}}
 
|data6 = {{{ordernumber|}}}
 
 
 
|label7 = Built at
 
|data7 = {{{factory|{{{Factory|}}}}}}
 
 
 
|label8 = Family name
 
|data8 = {{{family|{{{Family|}}}}}}
 
 
 
|label9 = Replaced
 
|data9 = {{{replaced|{{{Replaced|}}}}}}
 
 
 
|label10 = Constructed
 
|data10 = {{{yearconstruction|{{{constructed|}}}}}}
 
 
 
|label11 = Entered service
 
|data11 = {{{yearservice|}}}
 
 
 
|label12 = Refurbishment
 
|data12 = {{{refurbishment|{{{Refurbishment|}}}}}}
 
 
 
|label13 = Scrapped
 
|data13 = {{{yearscrapped|}}}
 
 
 
|label14 = Number under construction
 
|data14 = {{{construction|{{{numberconstruction|}}}}}}
 
 
 
|label15 = Number built
 
|data15 = {{{numberbuilt|{{{Built|}}}}}}
 
 
 
|label16 = Number in service
 
|data16 = {{{numberservice|}}}
 
 
 
|label17 = Number preserved
 
|data17 = {{{numberpreserved|}}}
 
 
 
|label18 = Number scrapped
 
|data18 = {{{numberscrapped|}}}
 
 
 
|label19 = Predecessor
 
|data19 = {{{predecessor|}}}
 
 
 
|label20 = Successor
 
|data20 = {{{successor|}}}
 
 
 
|label21 = Formation
 
|data21 = {{{formation|{{{Formation|}}}}}}
 
 
 
|label22 = Diagram
 
|data22 = {{{diagram|}}}
 
 
 
|label23 = Design code
 
|data23 = {{{code|}}}
 
 
 
|label24 = Fleet numbers
 
|data24 = {{{fleetnumbers|{{{Designation|{{{designation|}}} }}}}}}
 
 
 
|label25 = Capacity
 
|data25 = {{{capacity|{{{Capacity|}}}}}}
 
 
 
|label26 = Operator(s)
 
|data26 = {{{operator|{{{Operator|}}}}}}
 
 
 
|label27 = Depot(s)
 
|data27 = {{{depots|{{{Depots|}}}}}}
 
 
 
|label28 = {{#ifeq:{{Str find|{{SUBJECTPAGENAME}}|New York City Subway car}}|-1|Line(s) served|Service(s) assigned}}
 
|data28 = {{{lines|{{{LinesServed|}}}}}}
 
 
 
|header30 = {{#if:{{{CarBody|}}}{{{carbody|}}}{{{TrainLength|}}}{{{trainlength|}}}{{{CarLength|}}}{{{carlength|}}}{{{CarWidth|}}}{{{width|}}}{{{CarHeight|}}}{{{height|}}}{{{floorheight|}}}{{{platformheight|}}}{{{entrylevelorstep|}}}{{{doors|}}}{{{art-sections|}}}{{{wheeldiameter|}}}{{{wheelbase|}}}{{{MaxSpeed|}}}{{{maxspeed|}}}{{{Weight|}}}{{{weight|}}}{{{axleload|}}}{{{Traction|}}}{{{traction|}}}{{{Engine|}}}{{{engine|}}}{{{Enginetype|}}}{{{enginetype|}}}{{{cylindercount|}}}
 
{{{cylindersize|}}}{{{traction motors|}}}{{{poweroutput|}}}{{{Power|}}}{{{powerout|}}}{{{tractiveeffort|}}}{{{Transmission|}}}{{{transmission|}}}{{{Acceleration|}}}{{{acceleration|}}}{{{Deceleration|}}}{{{deceleration|}}}{{{Auxiliaries|}}}{{{aux|}}}{{{Power-supply|}}}{{{powersup|}}}{{{powersupply|}}}{{{hvac|}}}{{{electricsystem|}}}{{{Voltage|}}}{{{voltage|}}}{{{collectionmethod|}}}{{{uicclass|}}}{{{Wheel Arrangement|}}}{{{wheel arrangement|}}}{{{aarwheels|}}}{{{bogies|}}}{{{Brakes|}}}{{{brakes|}}}{{{SafetySystem|}}}{{{safety|}}}{{{coupling|}}}{{{multipleworking|}}}{{{Gauge|}}}{{{gauge|}}}{{{wheels driven|}}}{{{steep gradient|}}}{{{minimum curve|}}}{{{lowfloor|}}}|Specifications}}
 
 
 
|label31 = Car body construction
 
|data31 = {{{carbody|{{{CarBody|}}}}}}
 
 
 
|label32 = Train length
 
|data32 = {{{trainlength|{{{TrainLength|}}}}}}
 
 
 
|label33 = Car length
 
|data33 = {{{carlength|{{{CarLength|}}}}}}
 
 
 
|label34 = Width
 
|data34 = {{{width|{{{CarWidth|}}}}}}
 
 
 
|label35 = Height
 
|data35 = {{{height|{{{CarHeight|}}}}}}
 
 
 
|label36 = Floor height
 
|data36 = {{{floorheight|}}}
 
 
 
|label37 = [[Low-floor tram|Low-floor]]
 
|data37 = {{{lowfloor|}}}
 
 
 
|label38 = [[Railway platform height|Platform height]]
 
|data38 = {{{platformheight|}}}
 
 
 
|label39 = Entry
 
|data39 = {{{entrylevelorstep|}}}
 
 
 
|label40 = Doors
 
|data40 = {{{doors|}}}
 
 
 
|label41 = Articulated sections
 
|data41 = {{{art-sections|}}}
 
 
 
|label42 = Wheel diameter
 
|data42 = {{{wheeldiameter|}}}
 
 
 
|label43 = [[Wheelbase]]
 
|data43 = {{{wheelbase|}}}
 
 
 
|label44 = Maximum speed
 
|data44 = {{{maxspeed|{{{MaxSpeed|}}}}}}
 
 
 
|label45 = Weight
 
|data45 = {{{weight|{{{Weight|}}}}}}
 
 
 
|label46 = [[Axle load]]
 
|data46 = {{{axleload|{{{axleload|}}}}}}
 
 
 
|label47 = [[Grade (slope)|Steep gradient]]
 
|data47 = {{{steep gradient|{{{gradient|}}}}}}
 
 
 
|label48 = Traction system
 
|data48 = {{{traction|{{{Traction|}}}}}}
 
 
 
|label49 = [[Prime mover (locomotive)|Prime mover(s)]]
 
|data49 = {{{engine|{{{Engine|}}}}}}
 
 
 
|label50 = Engine type
 
|data50 = {{{enginetype|{{{Enginetype|}}}}}}
 
 
 
|label51=[[Cylinder (engine)|Cylinder]] count
 
|data51={{{cylindercount|{{{cylindercount|}}}}}}
 
 
 
|label52=[[Cylinder (engine)|Cylinder]] size
 
|data52={{{cylindersize|{{{cylindersize|}}}}}}
 
 
 
|label53 = [[Traction motor]]s
 
|data53= {{{traction motors|}}}
 
 
 
|label54 = Power output
 
|data54 = {{{poweroutput|{{{Power|{{{powerout|}}} }}}}}}
 
 
 
|label55 = [[Tractive effort]]
 
|data55 = {{{tractiveeffort|}}}
 
 
 
|label56= Transmission
 
|data56 = {{{transmission|{{{Transmission|}}}}}}
 
 
 
|label57 = [[Acceleration]]
 
|data57 = {{{acceleration|{{{Acceleration|}}}}}}
 
 
 
|label58 = [[Deceleration]]
 
|data58 = {{{deceleration|{{{Deceleration|}}}}}}
 
 
 
|label59 = Auxiliaries
 
|data59 = {{{aux|{{{Auxiliaries|}}}}}}
 
 
 
|label60 = [[Head-end power|Power supply]]
 
|data60 = {{{powersupply|{{{powersup|{{{Power-supply|}}} }}}}}}
 
 
 
|label61 = [[HVAC|Train heating]]
 
|data61 = {{{hvac|}}}
 
 
 
|label62= [[Railway electrification system|Electric system(s)]]
 
|data62 = {{{electricsystem|{{{Voltage|{{{voltage|}}} }}}}}}
 
 
 
|label63 = [[Current collector|Current collection method]]
 
|data63 = {{{collectionmethod|}}}
 
 
 
|label64 = [[UIC classification]]
 
|data64= {{{uicclass|}}}
 
 
 
|label65 = [[AAR wheel arrangement]]
 
|data65 = {{{aarwheels|{{{wheel arrangement|{{{Wheel Arrangement|}}} }}}}}}
 
 
 
|label66 = [[Adhesion railway|Wheels driven]]
 
|data66 = {{{wheels driven|}}}
 
 
 
|label67 = [[Bogie]]s
 
|data67 = {{{bogies|}}}
 
 
 
|label68 = [[Minimum railway curve radius|Minimum turning radius]]
 
|data68 = {{{minimum curve|}}}
 
 
 
|label69 = [[Railway brake|Braking system(s)]]
 
|data69 = {{{brakes|{{{Brakes|}}}}}}
 
 
 
|label70 = Safety system(s)
 
|data70 = {{{safety|{{{SafetySystem|}}}}}}
 
 
 
|label71= [[Railway coupling|Coupling system]]
 
|data71 = {{{coupling|}}}
 
 
 
|label72 = [[Multiple working]]
 
|data72 = {{{multipleworking|}}}
 
 
 
|label73 = Headlight type
 
|data73 = {{{light|{{{Light|}}}}}}
 
 
 
|label74 = [[Track gauge]]
 
|data74 = {{{gauge|{{{Gauge|}}}}}}
 
 
 
|label75 = Seating
 
|data75 = {{{seating|{{{CarSeating|}}}}}}
 
 
 
|label76 = Stock type
 
|data76 = {{{stocktype|{{{StockType|}}}}}}
 
 
 
|header77 = {{#if:{{{notes|}}}|Notes}}
 
|data78 = {{{notes|}}}
 
<!-- TESTS - NEED TO BE AT DIFFERENT NUMERICAL POSITIONS PROBABLY -->
 
<!-- END OF TESTS -->
 
 
 
}}{{#if:{{{InService|}}}{{{Manufacturer|}}}{{{Factory|}}}{{{Family|}}}{{{Replaced|}}}{{{Refurbishment|}}}{{{construction|}}}{{{Built|}}}{{{Formation|}}}{{{Designation|}}}{{{designation|}}}{{{Capacity|}}}{{{Operator|}}}{{{Depots|}}}{{{LinesServed|}}}{{{CarBody|}}}{{{CarWidth|}}}{{{CarHeight|}}}{{{MaxSpeed|}}}{{{Weight|}}}{{{[[Acceleration]]|}}}{{{Deceleration|}}}{{{Traction|}}}{{{Engine|}}}{{{Power|}}}{{{powerout|}}}{{{Transmission|}}}{{{Auxiliaries|}}}{{{Power-supply|}}}{{{powersup|}}}{{{Voltage|}}}{{{voltage|}}}{{{Wheel Arrangement|}}}{{{SafetySystem|}}}{{{Gauge|}}}{{{Light|}}}
 
 
 
| [[Category:Unusual parameters of Infobox train template]] }}{{Main other|{{Ensure AAA contrast ratio|base={{#invoke:String|replace|source={{{background|#eee}}}|pattern=;.*|plain=false|count=1|ignore_errors=1}}|other={{#invoke:String|match|{{{background|#eee}}}|pattern=color:%s*([^;]*)|plain=false|ignore_errors=1}}|category=[[Category:Articles using Template:Infobox train with invalid colour combination]]}}}}<noinclude>
 
{{documentation}}
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS --></noinclude>
 

Revision as of 23:36, 21 February 2020

....