Template:Infobox aircraft occurrence: Difference between revisions
From Roses, Tulips, & Liberty
Content added Content deleted
(Adding unknown parameter tracking through Category:Pages using infobox aircraft occurrence with unknown parameters using Module:check for unknown parameters) |
(changes to casualty fields, discussed on talk) |
||
Line 10: | Line 10: | ||
| labelstyle = line-height:1.3em; padding-right:1.0em; white-space:nowrap; |
| labelstyle = line-height:1.3em; padding-right:1.0em; white-space:nowrap; |
||
| datastyle = line-height:1.3em; |
| datastyle = line-height:1.3em; |
||
| header1 = <includeonly>{{{occurrence_type|Occurrence}}} |
| header1 = <includeonly>{{{occurrence_type|Occurrence}}}</includeonly> |
||
| label2 = Date |
| label2 = Date |
||
| data2 = {{{Date|{{{date|}}} }}} |
| data2 = {{{Date|{{{date|}}} }}} |
||
Line 18: | Line 18: | ||
| class4 = flabel location |
| class4 = flabel location |
||
| data4 = {{{Site|{{{site|}}} }}}{{#if:{{{Coordinates|{{{coordinates|{{{coords|}}} }}} }}} |<br />{{{Coordinates|{{{coordinates|{{{coords}}} }}} }}} }} |
| 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}} }} }} }} }} }}} |
|||
⚫ | |||
--> |
|||
| label6 = |
| label6 = Total fatalities |
||
⚫ | |||
| |
| data6 = {{{total_fatalities|}}} |
||
| label7 = Total injuries |
|||
| data7 = {{#if:{{{plane2_type|}}}|{{{total_fatalities|}}}|{{{Fatalities|{{{plane1_fatalities|{{{fatalities|}}}}}} }}} }} |
|||
⚫ | |||
| label8 = {{#if:{{{plane2_type|}}}|Total injuries (non-fatal)|Injuries (non-fatal)}} |
|||
| label8 = Total missing |
|||
| data8 = {{#if:{{{plane2_type|}}}|{{{total_injuries|}}}|{{{Injuries|{{{plane1_injuries|{{{injuries|}}} }}} }}}}} |
|||
| |
| data8 = {{{total_missing|}}} |
||
| label9 = Total survivors |
|||
| data9 = {{#if:{{{plane2_type|}}}|{{{total_missing|}}}|{{{Missing|{{{plane1_missing|{{{missing|}}} }}} }}} }} |
|||
| |
| data9 = {{{total_survivors|}}} |
||
| |
| header10 = {{#if:{{{plane2_type|}}}|First aircraft|{{#if:{{{aircraft_type|}}}|Aircraft}} }} |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
| |
| data12 = {{{Aircraft Type|{{{aircraft_type|{{{plane1_type|}}}}}}}}} |
||
| |
| label13 = {{#if:{{{plane2_type|}}}|Name|Aircraft name}} |
||
| |
| data13 = {{{Ship name|{{{aircraft_name|{{{plane1_name|}}}}}}}}} |
||
| label14 = Operator |
|||
⚫ | |||
| |
| data14 = {{{Operator|{{{operator|{{{plane1_operator|}}}}}}}}} |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
| |
| data19 = {{{Origin|{{{origin|{{{plane1_origin|}}}}}}}}} |
||
⚫ | |||
⚫ | |||
| |
| data20 = {{{Stopover|{{{stopover|{{{plane1_stopover|}}}}}}}}} |
||
| |
| label21 = 1st stopover |
||
⚫ | |||
| |
| label22 = 2nd stopover |
||
⚫ | |||
⚫ | |||
| |
| label23 = 3rd stopover |
||
⚫ | |||
⚫ | |||
| |
| label24 = 4th stopover |
||
⚫ | |||
⚫ | |||
| |
| label25 = 5th stopover |
||
| data22 = {{{Stopover3|{{{stopover3|{{{plane1_stopover3|}}}}}}}}} |
|||
⚫ | |||
| |
| label26 = 6th stopover |
||
| data23 = {{{Stopover4|{{{stopover4|{{{plane1_stopover4|}}}}}}}}} |
|||
⚫ | |||
| label24 = 6th stopover |
|||
| data24 = {{{Stopover5|{{{stopover5|{{{plane1_stopover5|}}}}}}}}} |
|||
| label27 = Last stopover |
| label27 = Last stopover |
||
| data27 = {{{Last stopover|{{{last_stopover|{{{plane1_laststopover|}}}}}}}}} |
| data27 = {{{Last stopover|{{{last_stopover|{{{plane1_laststopover|}}}}}}}}} |
||
| label28 = Destination |
| label28 = Destination |
||
| data28 = {{{Destination|{{{destination|{{{plane1_destination|}}}}}}}}} |
| data28 = {{{Destination|{{{destination|{{{plane1_destination|}}}}}}}}} |
||
| label29 = |
| label29 = Occupants |
||
| data29 = {{ |
| data29 = {{{Occupants|}}}{{{plane1_occupants|}}}{{{occupants|}}} |
||
| label30 = |
| label30 = Passengers |
||
| data30 = {{ |
| data30 = {{{Passengers|}}}{{{plane1_passengers|}}}{{{passengers|}}} |
||
| label31 = |
| label31 = Crew |
||
| data31 = {{ |
| data31 = {{{Crew|}}}{{{plane1_crew|}}}{{{crew|}}} |
||
| label32 = |
| label32 = Fatalities |
||
| data32 = {{ |
| data32 = {{{Fatalities|{{{plane1_fatalities|{{{fatalities|}}}}}} }}} |
||
| label33 = |
| label33 = Injuries |
||
| data33 = {{ |
| data33 = {{{Injuries|{{{plane1_injuries|{{{injuries|}}} }}} }}} |
||
| label34 = |
| label34 = Missing |
||
| data34 = {{ |
| data34 = {{{Missing|{{{plane1_missing|{{{missing|}}} }}} }}} |
||
| label35 = Survivors |
|||
⚫ | |||
| data35 = {{{Survivors|{{{plane1_survivors|{{{survivors|}}} }}}}}} |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
| label38 = |
| label38 = Type |
||
| data38 = {{{ |
| data38 = {{{plane2_type|}}} |
||
| label39 = |
| label39 = Name |
||
| data39 = {{{ |
| data39 = {{{plane2_name|}}} |
||
| label40 = |
| label40 = Operator |
||
| data40 = {{{ |
| data40 = {{{plane2_operator|}}} |
||
⚫ | |||
⚫ | |||
| |
| data45 = {{{plane2_tailnum|}}} |
||
| |
| label46 = Flight origin |
||
| |
| data46 = {{{plane2_origin|}}} |
||
| |
| label47 = Stopover |
||
| |
| data47 = {{{plane2_stopover|}}} |
||
| |
| label48 = 1st stopover |
||
| |
| data48 = {{{plane2_stopover0|}}} |
||
| |
| label49 = 2nd stopover |
||
| |
| data49 = {{{plane2_stopover1|}}} |
||
| |
| label50 = 3rd stopover |
||
| |
| data50 = {{{plane2_stopover2|}}} |
||
| |
| label51 = 4th stopover |
||
| |
| data51 = {{{plane2_stopover3|}}} |
||
| |
| label52 = 5th stopover |
||
| |
| data52 = {{{plane2_stopover4|}}} |
||
| |
| label53 = 6th stopover |
||
| |
| data53 = {{{plane2_stopover5|}}} |
||
| |
| label54 = Last stopover |
||
| |
| data54 = {{{plane2_laststopover|}}} |
||
| |
| label55 = Destination |
||
| |
| data55 = {{{plane2_destination|}}} |
||
| |
| label56 = Occupants |
||
| |
| data56 = {{{plane2_occupants|}}} |
||
| |
| label57 = Passengers |
||
| |
| data57 = {{{plane2_passengers|}}} |
||
| |
| label58 = Crew |
||
| |
| data58 = {{{plane2_crew|}}} |
||
| |
| label59 = Fatalities |
||
| |
| data59 = {{{plane2_fatalities|}}} |
||
| |
| label60 = Injuries |
||
| |
| data60 = {{{plane2_injuries|}}} |
||
| label61 = Missing |
|||
⚫ | |||
⚫ | |||
⚫ | |||
| |
| label62 = Survivors |
||
| |
| data62 = {{{plane2_survivors|}}} |
||
⚫ | |||
| label62 = Name |
|||
⚫ | |||
⚫ | |||
| |
| label65 = Type |
||
| |
| data65 = {{{plane3_type|}}} |
||
⚫ | |||
⚫ | |||
| |
| data66 = {{{plane3_name|}}} |
||
| |
| label67 = Operator |
||
| |
| data67 = {{{plane3_operator|}}} |
||
| label71 = [[Aircraft registration|Registration]] |
|||
⚫ | |||
| |
| data71 = {{{plane3_tailnum|}}} |
||
| |
| label72 = Flight origin |
||
| |
| data72 = {{{plane3_origin|}}} |
||
| |
| label73 = Stopover |
||
| |
| data73 = {{{plane3_stopover|}}} |
||
| |
| label74 = 1st stopover |
||
| |
| data74 = {{{plane3_stopover0|}}} |
||
| |
| label75 = 2nd stopover |
||
| |
| data75 = {{{plane3_stopover1|}}} |
||
| |
| label76 = 3rd stopover |
||
| |
| data76 = {{{plane3_stopover2|}}} |
||
| |
| label77 = 4th stopover |
||
| |
| data77 = {{{plane3_stopover3|}}} |
||
| |
| label78 = 5th stopover |
||
| |
| data78 = {{{plane3_stopover4|}}} |
||
| |
| label79 = 6th stopover |
||
| |
| data79 = {{{plane3_stopover5|}}} |
||
| |
| label80 = Last stopover |
||
| |
| data80 = {{{plane3_laststopover|}}} |
||
| |
| label81 = Destination |
||
| |
| data81 = {{{plane3_destination|}}} |
||
| |
| label82 = Occupants |
||
| |
| data82 = {{{plane3_occupants|}}} |
||
| |
| label83 = Passengers |
||
| |
| data83 = {{{plane3_passengers|}}} |
||
| |
| label84 = Crew |
||
| |
| data84 = {{{plane3_crew|}}} |
||
| |
| label85 = Fatalities |
||
| |
| data85 = {{{plane3_fatalities|}}} |
||
| label86 = Injuries |
|||
⚫ | |||
⚫ | |||
| label87 = Missing |
|||
⚫ | |||
| 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> |
|||
{{Documentation}} |
{{Documentation}} |
||
<!-- add categories and interwikis to the /doc subpage, please, not here --> |
<!-- add categories and interwikis to the /doc subpage, please, not here --> |