Template:Infobox aircraft occurrence: Difference between revisions

changes to casualty fields, discussed on talk
(changes to casualty fields, discussed on talk)
Line 10:
| labelstyle = line-height:1.3em; padding-right:1.0em; white-space:nowrap;
| datastyle = line-height:1.3em;
| header1 = <includeonly>{{{occurrence_type|Occurrence}}} summary</includeonly>
| label2 = Date
| data2 = {{{Date|{{{date|}}} }}}
Line 18:
| class4 = flabel location
| data4 = {{{Site|{{{site|}}} }}}{{#if:{{{Coordinates|{{{coordinates|{{{coords|}}} }}} }}} |<br />{{{Coordinates|{{{coordinates|{{{coords}}} }}} }}} }}
<!--
| label5 = Passengers
| header5 = {{{TotalCasualties|{{#if:{{{total_fatalities|}}}|Total casualties|{{#if:{{{total_injuries|}}}|Total casualties|{{#if:{{{missing|}}}|Total casualties|{{#if:{{{total_missing|}}}|Total casualties|{{#if:{{{total_survivors|}}}|Total casualties}} }} }} }} }} }}}
| data5 = {{#if:{{{plane2_type|}}}||{{{Passengers|}}}{{{plane1_passengers|}}}{{{passengers|}}} }}
-->
| label6 = CrewTotal fatalities
| data6 = {{#if:{{{plane2_type|}}}||{{{Crew|}}}{{{plane1_crew|}}}{{{crew|}}} }}
| label7data6 = {{#if:{{{plane2_typetotal_fatalities|}}}|Total fatalities |Fatalities}}
| label7 = Total injuries
| data7 = {{#if:{{{plane2_type|}}}|{{{total_fatalities|}}}|{{{Fatalities|{{{plane1_fatalities|{{{fatalities|}}}}}} }}} }}
| data37data7 = {{{plane2_typetotal_injuries|}}}
| label8 = {{#if:{{{plane2_type|}}}|Total injuries (non-fatal)|Injuries (non-fatal)}}
| label8 = Total missing
| data8 = {{#if:{{{plane2_type|}}}|{{{total_injuries|}}}|{{{Injuries|{{{plane1_injuries|{{{injuries|}}} }}} }}}}}
| label9data8 = {{#if:{{{plane2_typetotal_missing|}}}|Total missing |Missing}}
| label9 = Total survivors
| data9 = {{#if:{{{plane2_type|}}}|{{{total_missing|}}}|{{{Missing|{{{plane1_missing|{{{missing|}}} }}} }}} }}
| label10data9 = {{#if:{{{plane2_typetotal_survivors|}}}|Total survivors |Survivors}}
| data10 header10 = {{#if:{{{plane2_type|}}}|{{{total_survivors|}}}First aircraft|{{{Survivors|{{{plane1_survivors|#if:{{{survivorsaircraft_type|}}} }}}}|Aircraft}} }}
| data12data11 = {{#if:{{{plane1_image|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{plane1_image|}}}|size={{{plane1_image_size|}}}|sizedefault=frameless|upright={{{plane1_image_upright|1}}}|alt={{{plane1_alt|}}} }} {{#if:{{{plane1_caption|}}}|<br/>{{{plane1_caption}}} }} }}
| header11 = {{#if:{{{plane2_type|}}}|First aircraft}}
| data6 label12 = {{#if:{{{plane2_type|}}}|Type|{{{Crew|}}}{{{plane1_crew|}}}{{{crew|}}} Aircraft&nbsp;type}}
| data12 = {{#if:{{{plane1_image|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{plane1_image|}}}|size={{{plane1_image_size|}}}|sizedefault=frameless|upright={{{plane1_image_upright|1}}}|alt={{{plane1_alt|}}} }} {{#if:{{{plane1_caption|}}}|<br/>{{{plane1_caption}}} }} }}
| label13data12 = {{#if:{Aircraft Type|{{plane2_type{aircraft_type|{{{plane1_type|}}}|Type|Aircraft&nbsp;type}}}}}}
| data13 label13 = {{#if:{Aircraft Type|{{{aircraft_type|{{{plane1_typeplane2_type|}}}}}}}|Name|Aircraft&nbsp;name}}
| label14data13 = {{#if:{Ship name|{{plane2_type{aircraft_name|{{{plane1_name|}}}|Name|Aircraft&nbsp;name}}}}}}
| label14 = Operator
| data14 = {{{Ship name|{{{aircraft_name|{{{plane1_name|}}}}}}}}}
| label15data14 = {{{Operator|{{{operator|{{{plane1_operator|}}}}}}}}}
| label16label18 = [[Aircraft registration|Registration]]
| data15 = {{{Operator|{{{operator|{{{plane1_operator|}}}}}}}}}
| data14data18 = {{{ShipTail nameNumber|{{{aircraft_nametail_number|{{{plane1_nameplane1_tailnum|}}}}}}}}}
| label16 = [[Aircraft registration|Registration]]
| label41label19 = Flight origin
| data16 = {{{Tail Number|{{{tail_number|{{{plane1_tailnum|}}}}}}}}}
| label17data19 = Flight= {{{Origin|{{{origin|{{{plane1_origin|}}}}}}}}}
| label66label20 = Stopover
| data17 = {{{Origin|{{{origin|{{{plane1_origin|}}}}}}}}}
| label18data20 = {{{Stopover|{{{stopover|{{{plane1_stopover|}}}}}}}}}
| data18 label21 = {{{Stopover|{{{1st stopover|{{{plane1_stopover|}}}}}}}}}
| data15data21 = {{{OperatorStopover0|{{{operatorstopover0|{{{plane1_operatorplane1_stopover0|}}}}}}}}}
| label19label22 = 1st2nd stopover
| data19 = {{{Stopover0|{{{stopover0|{{{plane1_stopover0|}}}}}}}}}
| data16data22 = {{{Tail NumberStopover1|{{{tail_numberstopover1|{{{plane1_tailnumplane1_stopover1|}}}}}}}}}
| label20label23 = 2nd3rd stopover
| data20 = {{{Stopover1|{{{stopover1|{{{plane1_stopover1|}}}}}}}}}
| data17data23 = {{{OriginStopover2|{{{originstopover2|{{{plane1_originplane1_stopover2|}}}}}}}}}
| label21label24 = 3rd4th stopover
| data21 = {{{Stopover2|{{{stopover2|{{{plane1_stopover2|}}}}}}}}}
| data19data24 = {{{Stopover0Stopover3|{{{stopover0stopover3|{{{plane1_stopover0plane1_stopover3|}}}}}}}}}
| label22label25 = 4th5th stopover
| data22 = {{{Stopover3|{{{stopover3|{{{plane1_stopover3|}}}}}}}}}
| data20data25 = {{{Stopover1Stopover4|{{{stopover1stopover4|{{{plane1_stopover1plane1_stopover4|}}}}}}}}}
| label23label26 = 5th6th stopover
| data23 = {{{Stopover4|{{{stopover4|{{{plane1_stopover4|}}}}}}}}}
| data21data26 = {{{Stopover2Stopover5|{{{stopover2stopover5|{{{plane1_stopover2plane1_stopover5|}}}}}}}}}
| label24 = 6th stopover
| data24 = {{{Stopover5|{{{stopover5|{{{plane1_stopover5|}}}}}}}}}
| label27 = Last stopover
| data27 = {{{Last stopover|{{{last_stopover|{{{plane1_laststopover|}}}}}}}}}
| label28 = Destination
| data28 = {{{Destination|{{{destination|{{{plane1_destination|}}}}}}}}}
| label29 = PassengersOccupants
| data29 = {{#if:{{{plane2_typeOccupants|}}}|{{{plane1_passengersplane1_occupants|}}} {{{occupants|}}}
| label30 = CrewPassengers
| data30 = {{#if:{{{plane2_typePassengers|}}}|{{{plane1_crewplane1_passengers|}}} {{{passengers|}}}
| label31 = FatalitiesCrew
| data31 = {{#if:{{{plane2_typeCrew|}}}|{{{plane1_fatalitiesplane1_crew|}}} {{{crew|}}}
| label32 = Injuries (non-fatal)Fatalities
| data32 = {{#if:{Fatalities|{{plane2_type|}}}{plane1_fatalities|{{{plane1_injuriesfatalities|}}}}}} }}}
| label33 = MissingInjuries
| data33 = {{#if:{Injuries|{{plane2_type|}}}{plane1_injuries|{{{plane1_missinginjuries|}}} }}} }}}
| label34 = SurvivorsMissing
| data34 = {{#if:{Missing|{{plane2_type|}}}{plane1_missing|{{{plane1_survivorsmissing|}}} }}} }}}
| label35 = Survivors
| header35 = {{#if:{{{plane2_type|}}}|Second aircraft}}
| data35 = {{{Survivors|{{{plane1_survivors|{{{survivors|}}} }}}}}}
| data36 = {{#if:{{{plane2_image|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{plane2_image|}}}|size={{{plane2_image_size|}}}|sizedefault=frameless|upright={{{plane2_image_upright|1}}}|alt={{{plane2_alt|}}} }} {{#if:{{{plane2_caption|}}}|<br/>{{{plane2_caption}}} }} }}
| header11header36 = {{#if:{{{plane2_type|}}}|FirstSecond aircraft}}
| label37 = Type
| data36data37 = {{#if:{{{plane2_image|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{plane2_image|}}}|size={{{plane2_image_size|}}}|sizedefault=frameless|upright={{{plane2_image_upright|1}}}|alt={{{plane2_alt|}}} }} {{#if:{{{plane2_caption|}}}|<br/>{{{plane2_caption}}} }} }}
| data37 = {{{plane2_type|}}}
| label38 = NameType
| data38 = {{{plane2_nameplane2_type|}}}
| label39 = OperatorName
| data39 = {{{plane2_operatorplane2_name|}}}
| label40 = [[Aircraft registration|Registration]]Operator
| data40 = {{{plane2_tailnumplane2_operator|}}}
| label64label45 = [[Aircraft registration|Registration]]
| label41 = Flight origin
| data41data45 = {{{plane2_originplane2_tailnum|}}}
| label42label46 = StopoverFlight origin
| data42data46 = {{{plane2_stopoverplane2_origin|}}}
| label43label47 = 1st stopoverStopover
| data43data47 = {{{plane2_stopover0plane2_stopover|}}}
| label44label48 = 2nd1st stopover
| data44data48 = {{{plane2_stopover1plane2_stopover0|}}}
| label45label49 = 3rd2nd stopover
| data45data49 = {{{plane2_stopover2plane2_stopover1|}}}
| label46label50 = 4th3rd stopover
| data46data50 = {{{plane2_stopover3plane2_stopover2|}}}
| label47label51 = 5th4th stopover
| data47data51 = {{{plane2_stopover4plane2_stopover3|}}}
| label48label52 = 6th5th stopover
| data48data52 = {{{plane2_stopover5plane2_stopover4|}}}
| label51label53 = Last6th stopover
| data51data53 = {{{plane2_laststopoverplane2_stopover5|}}}
| label52label54 = DestinationLast stopover
| data52data54 = {{{plane2_destinationplane2_laststopover|}}}
| label53label55 = PassengersDestination
| data53data55 = {{{plane2_passengersplane2_destination|}}}
| label54label56 = CrewOccupants
| data54data56 = {{{plane2_crewplane2_occupants|}}}
| label55label57 = FatalitiesPassengers
| data55data57 = {{{plane2_fatalitiesplane2_passengers|}}}
| label56label58 = Injuries (non-fatal)Crew
| data56data58 = {{{plane2_injuriesplane2_crew|}}}
| label57label59 = MissingFatalities
| data57data59 = {{#if:{{{plane2_typeplane2_fatalities|}}}|{{{plane2_missing|}}} }}
| label58label60 = SurvivorsInjuries
| data58data60 = {{{plane2_survivorsplane2_injuries|}}}
| label61 = Missing
| header59 = {{#if:{{{plane3_type|}}}|Third aircraft}}
| data5 data61 = {{#if:{{{plane2_type|}}}||{{{Passengers|}}}{{{plane1_passengers|}}}{{{passengersplane2_missing|}}} }}
| data60 = {{#if:{{{plane3_image|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{plane3_image|}}}|size={{{plane3_image_size|}}}|sizedefault=frameless|upright={{{plane3_image_upright|1}}}|alt={{{plane3_alt|}}} }} {{#if:{{{plane3_caption|}}}|<br/>{{{plane3_caption}}} }} }}
| label61label62 = TypeSurvivors
| data61data62 = {{{plane3_typeplane2_survivors|}}}
| header35header63 = {{#if:{{{plane2_typeplane3_type|}}}|SecondThird aircraft}}
| label62 = Name
| data60data64 = {{#if:{{{plane3_image|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{plane3_image|}}}|size={{{plane3_image_size|}}}|sizedefault=frameless|upright={{{plane3_image_upright|1}}}|alt={{{plane3_alt|}}} }} {{#if:{{{plane3_caption|}}}|<br/>{{{plane3_caption}}} }} }}
| data62 = {{{plane3_name|}}}
| label63label65 = OperatorType
| data63data65 = {{{plane3_operatorplane3_type|}}}
| label37label66 = TypeName
| label64 = [[Aircraft registration|Registration]]
| data64data66 = {{{plane3_tailnumplane3_name|}}}
| label65label67 = Flight originOperator
| data65data67 = {{{plane3_originplane3_operator|}}}
| label71 = [[Aircraft registration|Registration]]
| label66 = Stopover
| data66data71 = {{{plane3_stopoverplane3_tailnum|}}}
| label67label72 = 1stFlight stopoverorigin
| data67data72 = {{{plane3_stopover0plane3_origin|}}}
| label68label73 = 2nd stopoverStopover
| data68data73 = {{{plane3_stopover1plane3_stopover|}}}
| label69label74 = 3rd1st stopover
| data69data74 = {{{plane3_stopover2plane3_stopover0|}}}
| label70label75 = 4th2nd stopover
| data70data75 = {{{plane3_stopover3plane3_stopover1|}}}
| label71label76 = 5th3rd stopover
| data71data76 = {{{plane3_stopover4plane3_stopover2|}}}
| label72label77 = 6th4th stopover
| data72data77 = {{{plane3_stopover5plane3_stopover3|}}}
| label76label78 = Last5th stopover
| data76data78 = {{{plane3_laststopoverplane3_stopover4|}}}
| label77label79 = Destination6th stopover
| data77data79 = {{{plane3_destinationplane3_stopover5|}}}
| label78label80 = PassengersLast stopover
| data78data80 = {{{plane3_passengersplane3_laststopover|}}}
| label79label81 = CrewDestination
| data79data81 = {{{plane3_crewplane3_destination|}}}
| label80label82 = FatalitiesOccupants
| data80data82 = {{{plane3_fatalitiesplane3_occupants|}}}
| label81label83 = Injuries (non-fatal)Passengers
| data81data83 = {{{plane3_injuriesplane3_passengers|}}}
| label82label84 = MissingCrew
| data82data84 = {{#if:{{{plane3_typeplane3_crew|}}}|{{{plane3_missing|}}} }}
| label83label85 = SurvivorsFatalities
| data83data85 = {{{plane3_survivorsplane3_fatalities|}}}
| label86 = Injuries
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox aircraft occurrence with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox aircraft occurrence]] with unknown parameter "_VALUE_"|ignoreblank=y| Aircraft Type | aircraft_name | aircraft_type | alt | caption | coordinates | Coordinates | coords | Crash image | Crew | crew | date | Date | destination | Destination | fatalities | Fatalities | image | Image caption | image_size | image_upright | injuries | Injuries | Last stopover | last_stopover | missing | Missing | Name | name | occurrence_type | operator | Operator | origin | Origin | Passengers | passengers | plane1_alt | plane1_caption | plane1_crew | plane1_destination | plane1_fatalities | plane1_image | plane1_image_size | plane1_image_upright | plane1_injuries | plane1_laststopover | plane1_missing | plane1_name | plane1_operator | plane1_origin | plane1_passengers | plane1_stopover | plane1_stopover0 | plane1_stopover1 | plane1_stopover2 | plane1_stopover3 | plane1_stopover4 | plane1_stopover5 | plane1_survivors | plane1_tailnum | plane1_type | plane2_alt | plane2_caption | plane2_crew | plane2_destination | plane2_fatalities | plane2_image | plane2_image_size | plane2_image_upright | plane2_injuries | plane2_laststopover | plane2_missing | plane2_name | plane2_operator | plane2_origin | plane2_passengers | plane2_stopover | plane2_stopover0 | plane2_stopover1 | plane2_stopover2 | plane2_stopover3 | plane2_stopover4 | plane2_stopover5 | plane2_survivors | plane2_tailnum | plane2_type | plane3_alt | plane3_caption | plane3_crew | plane3_destination | plane3_fatalities | plane3_image | plane3_image_size | plane3_image_upright | plane3_injuries | plane3_laststopover | plane3_missing | plane3_name | plane3_operator | plane3_origin | plane3_passengers | plane3_stopover | plane3_stopover0 | plane3_stopover1 | plane3_stopover2 | plane3_stopover3 | plane3_stopover4 | plane3_stopover5 | plane3_survivors | plane3_tailnum | plane3_type | Ship name | site | Site | size | stopover | Stopover | stopover0 | Stopover0 | stopover1 | Stopover1 | stopover2 | Stopover2 | stopover3 | Stopover3 | stopover4 | Stopover4 | stopover5 | Stopover5 | summary | survivors | Survivors | Tail Number | tail_number | total_fatalities | total_injuries | total_missing | total_survivors | type | Type }}<noinclude>
| data62data86 = {{{plane3_nameplane3_injuries|}}}
| label87 = Missing
| header59data87 = {{#if:{{{plane3_type|}}}|Third{{{plane3_missing|}}} aircraft}}
| label88 = Survivors
| data88 = {{{plane3_survivors|}}}
| header89 = {{#if:{{{ground_fatalities|}}}|Ground casualties|{{#if:{{{ground_injuries|}}}|Ground casualties|}} }}
| label90 = Ground fatalities
| data90 = {{{ground_fatalities|}}}
| label91 = Ground injuries
| data91 = {{{ground_injuries|}}}
}}
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox aircraft occurrence with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox aircraft occurrence]] with unknown parameter "_VALUE_"|ignoreblank=y| Aircraft Type | aircraft_name | aircraft_type | alt | caption | coordinates | Coordinates | coords | Crash image | Crew | crew | date | Date | destination | Destination | fatalities | Fatalities | image | Image caption | image_size | image_upright | injuries | Injuries | Last stopover | last_stopover | missing | Missing | Name | name | occurrence_type | operator | Operator | origin | Origin | Passengers | passengers | plane1_alt | plane1_caption | plane1_crew | plane1_destination | plane1_fatalities | plane1_image | plane1_image_size | plane1_image_upright | plane1_injuries | plane1_laststopover | plane1_missing | plane1_name | plane1_operator | plane1_origin | plane1_passengers | plane1_stopover | plane1_stopover0 | plane1_stopover1 | plane1_stopover2 | plane1_stopover3 | plane1_stopover4 | plane1_stopover5 | plane1_survivors | plane1_tailnum | plane1_type | plane2_alt | plane2_caption | plane2_crew | plane2_destination | plane2_fatalities | plane2_image | plane2_image_size | plane2_image_upright | plane2_injuries | plane2_laststopover | plane2_missing | plane2_name | plane2_operator | plane2_origin | plane2_passengers | plane2_stopover | plane2_stopover0 | plane2_stopover1 | plane2_stopover2 | plane2_stopover3 | plane2_stopover4 | plane2_stopover5 | plane2_survivors | plane2_tailnum | plane2_type | plane3_alt | plane3_caption | plane3_crew | plane3_destination | plane3_fatalities | plane3_image | plane3_image_size | plane3_image_upright | plane3_injuries | plane3_laststopover | plane3_missing | plane3_name | plane3_operator | plane3_origin | plane3_passengers | plane3_stopover | plane3_stopover0 | plane3_stopover1 | plane3_stopover2 | plane3_stopover3 | plane3_stopover4 | plane3_stopover5 | plane3_survivors | plane3_tailnum | plane3_type | Ship name | site | Site | size | stopover | Stopover | stopover0 | Stopover0 | stopover1 | Stopover1 | stopover2 | Stopover2 | stopover3 | Stopover3 | stopover4 | Stopover4 | stopover5 | Stopover5 | summary | survivors | Survivors | Tail Number | tail_number | total_fatalities | total_injuries | total_missing | total_survivors | type | Type | ground_fatalities |ground_injuries | occupants | plane1_occupants | plane2_occupants | plane3_occupants}}<noinclude>
<noinclude>
{{Documentation}}
<!-- add categories and interwikis to the /doc subpage, please, not here -->
Anonymous user