Difference between revisions of "Template:Infobox aircraft flight"

From blackwiki
Jump to navigation Jump to search
imported>Soumya-8974
imported>Soumya-8974
Line 4: Line 4:
 
| titleclass  = fn org summary
 
| titleclass  = fn org summary
 
| titlestyle  = padding-bottom:0.3em;
 
| titlestyle  = padding-bottom:0.3em;
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|{{{size|}}}}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}}}
+
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image<includeonly>|</includeonly>}}}|size={{{image_size|{{{size|}}}}}}|sizedefault=frameless|upright={{{image_upright<includeonly>|1</includeonly>}}}|alt={{{alt<includeonly>|</includeonly>}}}}}
| caption    = {{{caption|{{{image_caption|}}}}}}
+
| caption    = {{{caption|{{{image_caption<includeonly>|</includeonly>}}}}}}
 
| captionstyle = line-height:1.3em;
 
| captionstyle = line-height:1.3em;
 
| headerstyle = background-color: #ddf;
 
| headerstyle = background-color: #ddf;
Line 12: Line 12:
  
 
| label1      = Operator
 
| label1      = Operator
| data1      = {{{operator|}}}
+
| data1      = {{{operator<includeonly>|</includeonly>}}}
 
| label2      = IATA flight No.
 
| label2      = IATA flight No.
| data2      = {{{IATA|}}}
+
| data2      = {{{IATA<includeonly>|</includeonly>}}}
 
| label3      = ICAO flight No.
 
| label3      = ICAO flight No.
| data3      = {{{ICAO|}}}
+
| data3      = {{{ICAO<includeonly>|</includeonly>}}}
 
| label4      = Call sign
 
| label4      = Call sign
| data4      = {{{callsign|}}}
+
| data4      = {{{callsign<includeonly>|</includeonly>}}}
| label5      = Distance travel{{#if:{{{distance_travelled|}}}|l}}ed
+
| label5      = Distance travel{{#if:{{{distance_travelled<includeonly>|</includeonly>}}}|l}}ed
| data5      = {{{distance_travelled|{{{distance_travelled|}}}}}}
+
| data5      = {{{distance_traveled|{{{distance_travelled<includeonly>|</includeonly>}}}}}}
 
| label6      = Maximum altitude
 
| label6      = Maximum altitude
| data6      = {{{maximum_altitude|}}}
+
| data6      = {{{maximum_altitude<includeonly>|</includeonly>}}}
  
| header7    = {{#if:{{{aircraft|}}}{{{aircraft_type|}}}{{{tail_number|}}}{{{occupants|}}}{{{passengers|}}}{{{crew|}}}{{{cargo|}}}|Aircraft properties}}
+
| header7    = {{#if:{{{aircraft<includeonly>|</includeonly>}}}{{{aircraft_type|}}}{{{tail_number|}}}{{{occupants|}}}{{{passengers|}}}{{{crew|}}}{{{cargo|}}}|Aircraft properties}}
 
| label8      = Aircraft
 
| label8      = Aircraft
| data8        = {{{aircraft|}}}
+
| data8        = {{{aircraft<includeonly>|</includeonly>}}}
 
| label9      = Aircraft&nbsp;type
 
| label9      = Aircraft&nbsp;type
| data9      = {{{aircraft_type|}}}
+
| data9      = {{{aircraft_type<includeonly>|</includeonly>}}}
 
| label10    = [[Aircraft registration|Registration]]
 
| label10    = [[Aircraft registration|Registration]]
| data10      = {{{tail_number|}}}
+
| data10      = {{{tail_number<includeonly>|</includeonly>}}}
 
| label11    = Occupants
 
| label11    = Occupants
| data11      = {{{occupants|}}}
+
| data11      = {{{occupants<includeonly>|</includeonly>}}}
 
| label12    = Passengers
 
| label12    = Passengers
| data12      = {{{passengers|}}}
+
| data12      = {{{passengers<includeonly>|</includeonly>}}}
 
| label13    = Crew
 
| label13    = Crew
| data13      = {{{crew|}}}
+
| data13      = {{{crew<includeonly>|</includeonly>}}}
 
| label14    = Cargo mass
 
| label14    = Cargo mass
| data14      = {{{cargo|}}}
+
| data14      = {{{cargo<includeonly>|</includeonly>}}}
  
| header15    = {{#if:{{{takeoff|}}}{{{takeoff_date|}}}{{{takeoff_site|}}}{{{stopover|}}}{{{stopover0|}}}{{{stopover1|}}}{{{stopover2|}}}{{{stopover3|}}}{{{stopover4|}}}{{{stopover5|}}}{{{last_stopover|}}}{{{landing|}}}{{{landing_date|}}}{{{landing_site|}}}|Flight timeline}}
+
| header15    = {{#if:{{{takeoff<includeonly>|</includeonly>}}}{{{takeoff_date|}}}{{{takeoff_site|}}}{{{stopover|}}}{{{stopover0|}}}{{{stopover1|}}}{{{stopover2|}}}{{{stopover3|}}}{{{stopover4|}}}{{{stopover5|}}}{{{last_stopover|}}}{{{landing|}}}{{{landing_date|}}}{{{landing_site|}}}|Flight timeline}}
  
 
| label16    = Takeoff date
 
| label16    = Takeoff date
| data16      = {{{takeoff|{{{takeoff_date|}}}}}}
+
| data16      = {{{takeoff|{{{takeoff_date<includeonly>|</includeonly>}}}}}}
 
| label17    = Takeoff site
 
| label17    = Takeoff site
| data17      = {{{takeoff_site|}}}
+
| data17      = {{{takeoff_site<includeonly>|</includeonly>}}}
 
| label18    = Stopover
 
| label18    = Stopover
| data18      = {{{stopover|}}}
+
| data18      = {{{stopover<includeonly>|</includeonly>}}}
 
| label19    = 1st stopover
 
| label19    = 1st stopover
| data19      = {{{stopover0|}}}
+
| data19      = {{{stopover0<includeonly>|</includeonly>}}}
 
| label20    = 2nd stopover
 
| label20    = 2nd stopover
| data20    = {{{stopover1|}}}
+
| data20    = {{{stopover1<includeonly>|</includeonly>}}}
 
| label21    = 3rd stopover
 
| label21    = 3rd stopover
| data21      = {{{stopover2|}}}
+
| data21      = {{{stopover2<includeonly>|</includeonly>}}}
 
| label22    = 4th stopover
 
| label22    = 4th stopover
| data22      = {{{stopover3|}}}
+
| data22      = {{{stopover3<includeonly>|</includeonly>}}}
 
| label23    = 5th stopover
 
| label23    = 5th stopover
| data23      = {{{stopover4|}}}
+
| data23      = {{{stopover4<includeonly>|</includeonly>}}}
 
| label24    = 6th stopover
 
| label24    = 6th stopover
| data24      = {{{stopover5|}}}
+
| data24      = {{{stopover5<includeonly>|</includeonly>}}}
 
| label25    = Last stopover
 
| label25    = Last stopover
| data25      = {{{last_stopover|}}}
+
| data25      = {{{last_stopover<includeonly>|</includeonly>}}}
 
| label26    = Landing date
 
| label26    = Landing date
| data26      = {{{landing|{{{landing_date|}}}}}}
+
| data26      = {{{landing|{{{landing_date<includeonly>|</includeonly>}}}}}}
 
| label27    = Landing site
 
| label27    = Landing site
| data27      = {{{landing_site|}}}
+
| data27      = {{{landing_site<includeonly>|</includeonly>}}}
 
}}<noinclude>{{documentation}}</noinclude>
 
}}<noinclude>{{documentation}}</noinclude>

Revision as of 18:04, 14 December 2020

[[File:{{{image}}}|frameless|alt={{{alt}}}|upright={{{image_upright}}}|{{{alt}}}]]
{{{image_caption}}}
Operator{{{operator}}}
IATA flight No.{{{IATA}}}
ICAO flight No.{{{ICAO}}}
Call sign{{{callsign}}}
Distance travelled{{{distance_travelled}}}
Maximum altitude{{{maximum_altitude}}}
Aircraft properties
Aircraft{{{aircraft}}}
Aircraft type{{{aircraft_type}}}
Registration{{{tail_number}}}
Occupants{{{occupants}}}
Passengers{{{passengers}}}
Crew{{{crew}}}
Cargo mass{{{cargo}}}
Flight timeline
Takeoff date{{{takeoff_date}}}
Takeoff site{{{takeoff_site}}}
Stopover{{{stopover}}}
1st stopover{{{stopover0}}}
2nd stopover{{{stopover1}}}
3rd stopover{{{stopover2}}}
4th stopover{{{stopover3}}}
5th stopover{{{stopover4}}}
6th stopover{{{stopover5}}}
Last stopover{{{last_stopover}}}
Landing date{{{landing_date}}}
Landing site{{{landing_site}}}

[[Category:Infobox templates|Template:Remove first word]]

Template documentation[view] [edit] [history] [purge]

This infobox is meant to be used in articles about a successful aviation flight (or a successful flight below the Kármán line). For unsuccessful aviation flights, use {{Infobox aircraft occurrence}}. For unsuccessful flights intended to go above the Kármán line, use {{Infobox spaceflight}}. Syntax will be coming soon.