Difference between pages "Template:Infobox train" and "Template:Infobox train/sandbox"

(Difference between pages)
Jump to navigation Jump to search
Page 1
Page 2
imported>Redrose64
(if you can't handle simple wikilinks, don't fool around with template code)
 
imported>Redrose64
m (Reverted edits by 151.251.250.251 (talk) to last version by Redrose64)
 
Line 8: Line 8:
 
  |above = {{If empty|{{{name|}}}<includeonly>|{{PAGENAMEBASE}}</includeonly>}}
 
  |above = {{If empty|{{{name|}}}<includeonly>|{{PAGENAMEBASE}}</includeonly>}}
 
  |abovestyle = color:{{Greater color contrast ratio|{{{background|#eee}}}}}; background-color:{{{background|#eee}}};
 
  |abovestyle = color:{{Greater color contrast ratio|{{{background|#eee}}}}}; background-color:{{{background|#eee}}};
|aboveclass = fn
 
  
  |image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{imagesize|{{{image_size|}}}}}}|sizedefault=300x300px|alt={{{imagealt|}}}}}
+
  |image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{imagesize|{{{image_size|}}}}}}|alt={{{imagealt|}}}}}
 
  |caption = {{{caption|}}}
 
  |caption = {{{caption|}}}
  |image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{interiorimage|}}}|size={{{imagesize|{{{image_size|}}}}}}|sizedefault=300x300px|alt={{{interiorimagealt|}}}}}
+
  |image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{interiorimage|}}}|size={{{imagesize|{{{image_size|}}}}}}|alt={{{interiorimagealt|}}}}}
 
  |caption2 = {{{interiorcaption|}}}
 
  |caption2 = {{{interiorcaption|}}}
 +
|aboveclass = fn
  
 
|label2 = In service
 
|label2 = In service
  |data2 = {{{service|}}}
+
  |data2 = {{{service|{{{InService|}}}}}}
  
 
|label3 = Manufacturer
 
|label3 = Manufacturer
 
|class3 = brand
 
|class3 = brand
  |data3 = {{{manufacturer|}}}
+
  |data3 = {{{manufacturer|{{{Manufacturer|}}}}}}
  
 
|label4 = Designer
 
|label4 = Designer
Line 32: Line 32:
  
 
|label7 = Built at
 
|label7 = Built at
  |data7 = {{{factory|}}}
+
  |data7 = {{{factory|{{{Factory|}}}}}}
  
 
|label8 = Family name
 
|label8 = Family name
  |data8 = {{{family|}}}
+
  |data8 = {{{family|{{{Family|}}}}}}
  
 
|label9 = Replaced
 
|label9 = Replaced
  |data9 = {{{replaced|}}}
+
  |data9 = {{{replaced|{{{Replaced|}}}}}}
  
 
|label10 = Constructed
 
|label10 = Constructed
Line 46: Line 46:
 
  |data11 = {{{yearservice|}}}
 
  |data11 = {{{yearservice|}}}
  
|label12 = Refurbished
+
|label12 = Refurbishment
  |data12 = {{{refurbishment|}}}
+
  |data12 = {{{refurbishment|{{{Refurbishment|}}}}}}
  
 
|label13 = Scrapped
 
|label13 = Scrapped
Line 53: Line 53:
  
 
|label14 = Number under construction
 
|label14 = Number under construction
  |data14 = {{{numberconstruction|}}}
+
  |data14 = {{{construction|{{{numberconstruction|}}}}}}
  
 
|label15 = Number built
 
|label15 = Number built
  |data15 = {{{numberbuilt|}}}
+
  |data15 = {{{numberbuilt|{{{Built|}}}}}}
  
 
|label16 = Number in service
 
|label16 = Number in service
Line 74: Line 74:
  
 
|label21 = Formation
 
|label21 = Formation
  |data21 = {{{formation|}}}
+
  |data21 = {{{formation|{{{Formation|}}}}}}
  
 
|label22 = Diagram
 
|label22 = Diagram
Line 83: Line 83:
  
 
|label24 = Fleet numbers
 
|label24 = Fleet numbers
  |data24 = {{{fleetnumbers|}}}
+
  |data24 = {{{fleetnumbers|{{{Designation|{{{designation|}}} }}}}}}
  
 
|label25 = Capacity
 
|label25 = Capacity
  |data25 = {{{capacity|}}}
+
  |data25 = {{{capacity|{{{Capacity|}}}}}}
  
 
|label26 = Operator(s)
 
|label26 = Operator(s)
  |data26 = {{{operator|}}}
+
  |data26 = {{{operator|{{{Operator|}}}}}}
  
 
|label27 = Depot(s)
 
|label27 = Depot(s)
  |data27 = {{{depots|}}}
+
  |data27 = {{{depots|{{{Depots|}}}}}}
  
 
|label28 = {{#ifeq:{{Str find|{{SUBJECTPAGENAME}}|New York City Subway car}}|-1|Line(s) served|Service(s) assigned}}
 
|label28 = {{#ifeq:{{Str find|{{SUBJECTPAGENAME}}|New York City Subway car}}|-1|Line(s) served|Service(s) assigned}}
  |data28 = {{{lines|}}}
+
  |data28 = {{{lines|{{{LinesServed|}}}}}}
  
|header30 = {{#if:{{{carbody|}}}{{{TrainLength|}}}{{{trainlength|}}}{{{CarLength|}}}{{{carlength|}}}{{{width|}}}{{{height|}}}{{{floorheight|}}}{{{platformheight|}}}{{{entrylevelorstep|}}}{{{doors|}}}{{{art-sections|}}}{{{wheeldiameter|}}}{{{wheelbase|}}}{{{maxspeed|}}}{{{weight|}}}{{{axleload|}}}{{{traction|}}}{{{engine|}}}{{{Enginetype|}}}{{{enginetype|}}}{{{cylindercount|}}}
+
|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|}}}{{{tractiveeffort|}}}{{{transmission|}}}{{{acceleration|}}}{{{deceleration|}}}{{{aux|}}}{{{powersupply|}}}{{{hvac|}}}{{{electricsystem|}}}{{{collectionmethod|}}}{{{uicclass|}}}{{{wheel arrangement|}}}{{{aarwheels|}}}{{{bogies|}}}{{{Brakes|}}}{{{brakes|}}}{{{safety|}}}{{{coupling|}}}{{{multipleworking|}}}{{{gauge|}}}{{{wheels driven|}}}{{{steep gradient|}}}{{{gradient|}}}{{{minimum curve|}}}{{{lowfloor|}}}|Specifications}}
+
{{{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
 
|label31 = Car body construction
  |data31 = {{{carbody|}}}
+
  |data31 = {{{carbody|{{{CarBody|}}}}}}
  
 
|label32 = Train length
 
|label32 = Train length
Line 110: Line 110:
  
 
|label34 = Width
 
|label34 = Width
  |data34 = {{{width|}}}
+
  |data34 = {{{width|{{{CarWidth|}}}}}}
  
 
|label35 = Height
 
|label35 = Height
  |data35 = {{{height|}}}
+
  |data35 = {{{height|{{{CarHeight|}}}}}}
  
 
|label36 = Floor height
 
|label36 = Floor height
Line 136: Line 136:
 
  |data42 = {{{wheeldiameter|}}}
 
  |data42 = {{{wheeldiameter|}}}
  
|label43 = [[Wheelbase#Rail|Wheelbase]]
+
|label43 = [[Wheelbase]]  
 
  |data43 = {{{wheelbase|}}}
 
  |data43 = {{{wheelbase|}}}
  
 
|label44 = Maximum speed
 
|label44 = Maximum speed
  |data44 = {{{maxspeed|}}}
+
  |data44 = {{{maxspeed|{{{MaxSpeed|}}}}}}
  
 
|label45 = Weight
 
|label45 = Weight
  |data45 = {{{weight|}}}
+
  |data45 = {{{weight|{{{Weight|}}}}}}
  
 
|label46 = [[Axle load]]
 
|label46 = [[Axle load]]
  |data46 = {{{axleload|}}}
+
  |data46 = {{{axleload|{{{axleload|}}}}}}
  
 
|label47 = [[Grade (slope)|Steep gradient]]
 
|label47 = [[Grade (slope)|Steep gradient]]
Line 152: Line 152:
  
 
|label48 = Traction system
 
|label48 = Traction system
  |data48 = {{{traction|}}}
+
  |data48 = {{{traction|{{{Traction|}}}}}}
  
 
|label49 = [[Prime mover (locomotive)|Prime mover(s)]]
 
|label49 = [[Prime mover (locomotive)|Prime mover(s)]]
  |data49 = {{{engine|}}}
+
  |data49 = {{{engine|{{{Engine|}}}}}}
  
 
|label50 = Engine type
 
|label50 = Engine type
Line 161: Line 161:
  
 
|label51=[[Cylinder (engine)|Cylinder]] count
 
|label51=[[Cylinder (engine)|Cylinder]] count
  |data51={{{cylindercount|}}}
+
  |data51={{{cylindercount|{{{cylindercount|}}}}}}
  
 
|label52=[[Cylinder (engine)|Cylinder]] size
 
|label52=[[Cylinder (engine)|Cylinder]] size
  |data52={{{cylindersize|}}}
+
  |data52={{{cylindersize|{{{cylindersize|}}}}}}
  
 
|label53 = [[Traction motor]]s
 
|label53 = [[Traction motor]]s
Line 170: Line 170:
  
 
|label54 = Power output
 
|label54 = Power output
  |data54 = {{{poweroutput|}}}
+
  |data54 = {{{poweroutput|{{{Power|{{{powerout|}}} }}}}}}
  
 
|label55 = [[Tractive effort]]
 
|label55 = [[Tractive effort]]
Line 176: Line 176:
  
 
|label56= Transmission
 
|label56= Transmission
  |data56 = {{{transmission|}}}
+
  |data56 = {{{transmission|{{{Transmission|}}}}}}
  
 
|label57 = [[Acceleration]]
 
|label57 = [[Acceleration]]
  |data57 = {{{acceleration|}}}
+
  |data57 = {{{acceleration|{{{Acceleration|}}}}}}
  
 
|label58 = [[Deceleration]]
 
|label58 = [[Deceleration]]
  |data58 = {{{deceleration|}}}
+
  |data58 = {{{deceleration|{{{Deceleration|}}}}}}
  
 
|label59 = Auxiliaries
 
|label59 = Auxiliaries
  |data59 = {{{aux|}}}
+
  |data59 = {{{aux|{{{Auxiliaries|}}}}}}
  
 
|label60 = [[Head-end power|Power supply]]
 
|label60 = [[Head-end power|Power supply]]
  |data60 = {{{powersupply|}}}
+
  |data60 = {{{powersupply|{{{powersup|{{{Power-supply|}}} }}}}}}
  
 
|label61 = [[HVAC|Train heating]]
 
|label61 = [[HVAC|Train heating]]
Line 194: Line 194:
  
 
|label62= [[Railway electrification system|Electric system(s)]]
 
|label62= [[Railway electrification system|Electric system(s)]]
  |data62 = {{{electricsystem|}}}
+
  |data62 = {{{electricsystem|{{{Voltage|{{{voltage|}}} }}}}}}
  
 
|label63 = [[Current collector|Current collection method]]
 
|label63 = [[Current collector|Current collection method]]
Line 203: Line 203:
  
 
|label65 = [[AAR wheel arrangement]]
 
|label65 = [[AAR wheel arrangement]]
  |data65 = {{{aarwheels|{{{wheel arrangement|}}}}}}
+
  |data65 = {{{aarwheels|{{{wheel arrangement|{{{Wheel Arrangement|}}} }}}}}}
  
 
|label66 = [[Adhesion railway|Wheels driven]]
 
|label66 = [[Adhesion railway|Wheels driven]]
Line 218: Line 218:
  
 
|label70 = Safety system(s)
 
|label70 = Safety system(s)
  |data70 = {{{safety|}}}
+
  |data70 = {{{safety|{{{SafetySystem|}}}}}}
  
 
|label71= [[Railway coupling|Coupling system]]
 
|label71= [[Railway coupling|Coupling system]]
Line 227: Line 227:
  
 
|label73 = Headlight type
 
|label73 = Headlight type
  |data73 = {{{light|}}}
+
  |data73 = {{{light|{{{Light|}}}}}}
  
 
|label74 = [[Track gauge]]
 
|label74 = [[Track gauge]]
  |data74 = {{{gauge|}}}
+
  |data74 = {{{gauge|{{{Gauge|}}}}}}
  
 
|label75 = Seating
 
|label75 = Seating
Line 243: Line 243:
 
<!-- END OF TESTS -->
 
<!-- END OF TESTS -->
  
}}{{#invoke:Check for unknown parameters|check
+
}}{{#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|}}}
|unknown=[[Category:Pages using Infobox train with unknown parameters|_VALUE_{{PAGENAME}}]]
 
|preview=Page using [[Template:Infobox train]] with unknown parameter "_VALUE_"
 
|aarwheels |acceleration |art-sections |assembly |aux |axleload
 
|background |bogies |box_width |Brakes |brakes
 
|capacity |caption |carbody |CarLength |carlength |CarSeating |code |collectionmethod |constructed |coupling |cylindercount |cylindersize
 
|deceleration |depots |designer |diagram |doors
 
|electricsystem |engine |Enginetype |enginetype |entrylevelorstep
 
|factory |family |fleetnumbers |floorheight |formation
 
|gauge |gradient
 
|height |hvac
 
|image |image_size |imagealt |imagesize |interiorcaption |interiorimage |interiorimagealt
 
|label_width |light |lines |lowfloor
 
|manufacturer |maxspeed |minimum curve |multipleworking
 
|name |notes |numberbuilt |numberconstruction |numberpreserved |numberscrapped |numberservice
 
|operator |ordernumber
 
|platformheight |poweroutput |powersupply |predecessor
 
|refurbishment |replaced
 
|safety |seating |service |steep gradient |StockType |stocktype |successor
 
|traction |traction motors |tractiveeffort |TrainLength |trainlength |transmission
 
|uicclass
 
|weight |wheel arrangement |wheelbase |wheeldiameter |wheels driven |width
 
|yearconstruction |yearscrapped |yearservice
 
}}{{#if:
 
  
 
| [[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>
 
| [[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}}
 
{{documentation}}
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS --></noinclude>
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS --></noinclude>