Template:Aircraft class

Template documentation[view · edit · history · purge]
This documentation is transcluded from Template:Aircraft class/doc.

Adds a table with aircraft specications to the catory page and adds the category to a specific category depending on the aircraft specications.

The template automatically sets the following categories:

To display all subcategories click on the "▶":

Usage


{{Aircraft class
 |function    =
 |function2   =
 |lifttype    =
 |engineloc   =
 |engines     =
 |enginetype  =
 |engine2type =
 |engines2    =
 |engineloc2  =
 |props       =
 |proptype    =
 |props2      =
 |proptype    =
 |sortkey     =
 |operation   =
 |uc          =
 |MetaCat     =
 |cats        =
}}

Template parameters

ParameterDescriptionDefaultStatus
functionfunctiona = attack aircraft / ac = aircraft / aer = sportplane / aew = / ag = agricultural aircraft / agr = agricultural aircraft / air = aircraft / al = airliner / aln = airliner / amb = Category:Air ambulances / aop = / ap = airplane / arp = airplane / as = airship / ash = airship / asw = / at = attack aircraft / atk = attack aircraft / b = bomber / bo = bomber / bom = bomber / bpr = / c = airlifter / ca = cargo aircraft / civ = civil aircraft / com = combat aircraft / da = / dev = / e = electronic warfare aircraft / ew = electronic warfare aircraft / exe = executive aircraft / exp = experimental aircraft / f = fighter aircraft / fg = / fgr = / ft = fighter aircraft / ftr = fighter aircraft / g = sailplane / ga = general aviation aircraft / gen = general aviation aircraft / gld = sailplane / gr = / gt = / h = helicopter / hab = hot air balloon / har = / hc = helicopter / hel = helicopter / hom = homebuilt aircraft / i = / is = / k = tanker aircraft / kc = / m = / ma = military aircraft / mg = / mil = military aircraft / mpa = / mus = museum aircraft / nav = / nf = / o = observation aircraft / obs = observation aircraft / op = operational aircraft / opr = operational aircraft / p = maritime patrol aircraft / pa = / par = / pat = maritime patrol aircraft / pos = mail plane / pr = / pre = preserved aircraft / r = reconnaissance aircraft / rac = racing aircraft / rcn = reconnaissance aircraft / ret = retired aircraft / s = / sar = Search and rescue aircraft / sea = seaplane / sto = stored aircraft / t = trainer / tb = torpedo bomber / tng = trainer / tnr = trainer / tpt = transport aircraft / trn = trainer / trp = torpedo bomber / u = utility aircraft / uav = / ul = ultralight aircraft / ult = ultralight aircraft / ut = utility aircraft / ute = utility aircraft / v = executive aircraft / war = warbird / wb = warbird / x = experimental aircraftaircraftoptional
function2function 2a = attack aircraft / ac = aircraft / aer = sportplane / aew = / ag = agricultural aircraft / agr = agricultural aircraft / air = aircraft / al = airliner / aln = airliner / amb = Category:Air ambulances / aop = / ap = airplane / arp = airplane / as = airship / ash = airship / asw = / at = attack aircraft / atk = attack aircraft / b = bomber / bo = bomber / bom = bomber / bpr = / c = airlifter / ca = cargo aircraft / civ = civil aircraft / com = combat aircraft / da = / dev = / e = electronic warfare aircraft / ew = electronic warfare aircraft / exe = executive aircraft / exp = experimental aircraft / f = fighter aircraft / fg = / fgr = / ft = fighter aircraft / ftr = fighter aircraft / g = sailplane / ga = general aviation aircraft / gen = general aviation aircraft / gld = sailplane / gr = / gt = / h = helicopter / hab = hot air balloon / har = / hc = helicopter / hel = helicopter / hom = homebuilt aircraft / i = / is = / k = tanker aircraft / kc = / m = / ma = military aircraft / mg = / mil = military aircraft / mpa = / mus = museum aircraft / nav = / nf = / o = observation aircraft / obs = observation aircraft / op = operational aircraft / opr = operational aircraft / p = maritime patrol aircraft / pa = / par = / pat = maritime patrol aircraft / pos = mail plane / pr = / pre = preserved aircraft / r = reconnaissance aircraft / rac = racing aircraft / rcn = reconnaissance aircraft / ret = retired aircraft / s = / sar = Search and rescue aircraft / sea = seaplane / sto = stored aircraft / t = trainer / tb = torpedo bomber / tng = trainer / tnr = trainer / tpt = transport aircraft / trn = trainer / trp = torpedo bomber / u = utility aircraft / uav = / ul = ultralight aircraft / ult = ultralight aircraft / ut = utility aircraft / ute = utility aircraft / v = executive aircraft / war = warbird / wb = warbird / x = experimental aircraftaircraftoptional
lifttypelift1 = monoplane / 2 = biplane / 3 = triplane / ag = autogyro / as = aerostat / b = biplane / fw = fixed-wing aircraft / flying wing = flying wing / hc = helicopter / hw = high wing / lb = lifting body / lw = low wing / m = monoplane / mw = mid wing / or = ornithopter / p = parachute / pl = powered lift aircraft / pw = parasol wing / rw = rotorcraft / sw = shoulder wing / t = triplane / tr = tiltrotor / vg = variable-sweep wing / vs = variable-sweep wingemptyoptional
enginelocengine (physical location)a = aft-mounted / f = fuselage-mounted / i = internally-mounted / n = nose-mounted / w = wing-mountedemptyoptional
enginesengine (quantity)number of enginesemptyoptional
enginetypeengine (type)e = electric motor / fce = fuel cell + electric motor / h = human / j = jet engine / none = unpowered aircraft / nuclear = nuclear power / p = reciprocating engine / pj = pulsejet / r = rocket engine / rj = ramjet / se = solar energy + electric motor / solar = solar energy / steam = steam engine / t = turbine / tf = turbofan / tj = turbojet / tp = turbopropemptyoptional
engine2typeengine (type)e = electric motor / fce = fuel cell + electric motor / h = human / j = jet engine / none = unpowered aircraft / nuclear = nuclear power / p = reciprocating engine / pj = pulsejet / r = rocket engine / rj = ramjet / se = solar energy + electric motor / solar = solar energy / steam = steam engine / t = turbine / tf = turbofan / tj = turbojet / tp = turbopropemptyoptional
engines2engine (quantity 2)number of enginesemptyoptional
engineloc2engine (physical location 2)a = aft-mounted / f = fuselage-mounted / i = internally-mounted / n = nose-mounted / w = wing-mountedemptyoptional
propspropulsor (quantity)number of propulsorsemptyoptional
proptypepropulsorf=fan / hc=powered helicopter rotor / j=jet engine / jet = jet / p = propeller / pj = pulsejet / pp = pusher configuration / ppp = push-pull configuration / rj = ramjet / tp = tractor configuration / tr = powered tilt-rotoremptyoptional
props2propulsor (quantity 2)number of propulsorsemptyoptional
proptypepropulsorf=fan / hc=powered helicopter rotor / j=jet engine / jet = jet / p = propeller / pj = pulsejet / pp = pusher configuration / ppp = push-pull configuration / rj = ramjet / tp = tractor configuration / tr = powered tilt-rotoremptyoptional
sortkeySort keysee {{MetaCat}} parameter 1emptyoptional
operationactivityflight = flight / land = landing / park = parking / taxi = taxiing / to = takeoffemptyoptional
ucundercarriagec = conventional landing gear / g = ground carriage / fb = flying boat hull / fp = float gear / r = retractable landing gear / t = tricycle gear / tx = fixed tricycle gearemptyoptional
MetaCatMeta Categorysee {{MetaCat}} parameter topic-catemptyoptional
catsCategorizationno = no categorizationemptyoptional
<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData

TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard.


Existing template documentation
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either ‎useTemplateData=1 or ‎useTemplateData=only on the ‎/doc subpage and transcluding it with {{Documentation}} into the template. <nowiki>-tags can be wrapped around the arguments, if required, to avoid templates being expanded.

Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw <templatedata>-tags into the Wikitext of the template, as described in various Wikipediae.


Wikipedia's help about TemplateDataCommons-specific information

Category:Templates using TemplateData

Adds a table with aircraft specications to the catory page and adds the category to a specific category depending on the aircraft specications.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Meta CategoryMetaCat

see Template:MetaCat parameter topic-cat

Lineoptional
Categorizationcats

no = no categorization

Suggested values
no
Lineoptional
engine (type)engine2type

e = electric motor / fce = fuel cell + electric motor / h = human / j = jet engine / none = unpowered aircraft / nuclear = nuclear power / p = reciprocating engine / pj = pulsejet / r = rocket engine / rj = ramjet / se = solar energy + electric motor / solar = solar energy / steam = steam engine / t = turbine / tf = turbofan / tj = turbojet / tp = turboprop

Suggested values
e fce h j none nuclear p pj r rj se solar steam t tf tj tp
Lineoptional
engine (physical location)engineloc

a = aft-mounted / f = fuselage-mounted / i = internally-mounted / n = nose-mounted / w = wing-mounted

Suggested values
a f i n w
Lineoptional
engine (physical location 2)engineloc2

a = aft-mounted / f = fuselage-mounted / i = internally-mounted / n = nose-mounted / w = wing-mounted

Suggested values
a f i n w
Lineoptional
engine (quantity)engines

number of engines

Suggested values
1 2 3 4 5 6 7 8 9 10
Numberoptional
engine (quantity 2)engines2

number of engines

Suggested values
1 2 3 4 5 6 7 8 9 10
Numberoptional
engine (type)enginetype

e = electric motor / fce = fuel cell + electric motor / h = human / j = jet engine / none = unpowered aircraft / nuclear = nuclear power / p = reciprocating engine / pj = pulsejet / r = rocket engine / rj = ramjet / se = solar energy + electric motor / solar = solar energy / steam = steam engine / t = turbine / tf = turbofan / tj = turbojet / tp = turboprop

Suggested values
e fce h j none nuclear p pj r rj se solar steam t tf tj tp
Lineoptional
functionfunction

a = attack aircraft / ac = aircraft / aer = sportplane / aew = / ag = agricultural aircraft / agr = agricultural aircraft / air = aircraft / al = airliner / aln = airliner / amb = Category:Air ambulances / aop = / ap = airplane / arp = airplane / as = airship / ash = airship / asw = / at = attack aircraft / atk = attack aircraft / b = bomber / bo = bomber / bom = bomber / bpr = / c = airlifter / ca = cargo aircraft / civ = civil aircraft / com = combat aircraft / da = / dev = / e = electronic warfare aircraft / ew = electronic warfare aircraft / exe = executive aircraft / exp = experimental aircraft / f = fighter / fg = / fgr = / ft = fighter / ftr = fighter / g = sailplane / ga = general aviation aircraft / gen = general aviation aircraft / gld = sailplane / gr = / gt = / h = helicopter / hab = hot air balloon / har = / hc = helicopter / hel = helicopter / hom = homebuilt aircraft / i = / is = / k = tanker aircraft / kc = / m = / ma = military aircraft / mg = / mil = military aircraft / mpa = / mus = museum aircraft / nav = / nf = / o = observation aircraft / obs = observation aircraft / op = operational aircraft / opr = operational aircraft / p = maritime patrol aircraft / pa = / par = / pat = maritime patrol aircraft / pos = mail plane / pr = / pre = preserved aircraft / r = reconnaissance aircraft / rac = racing aircraft / rcn = reconnaissance aircraft / ret = retired aircraft / s = / sar = search and rescue aircraft / sea = seaplane / sto = stored aircraft / t = trainer / tb = torpedo bomber / tng = trainer / tnr = trainer / tpt = transport aircraft / trn = trainer / trp = torpedo bomber / u = utility aircraft / uav = / ul = ultralight aircraft / ult = ultralight aircraft / ut = utility aircraft / ute = utility aircraft / v = executive aircraft / war = warbird / wb = warbird / x = experimental aircraft

Suggested values
a ac aer aew ag agr air al aln amb aop ap arp as ash asw at atk b bo bom bpr c ca civ com da dev e ew exe exp f fg fgr ft ftr g ga gen gld gr gt h hab har hc hel hom i is k kc m ma mg mil mpa mus nav nf o obs op opr p pa par pat pos pr pre r rac rcn ret s sar sea sto t tb tng tnr tpt trn trp u uav ul ult ut ute v war wb x
Default
aircraft
Lineoptional
function 2function2

a = attack aircraft / ac = aircraft / aer = sportplane / aew = / ag = agricultural aircraft / agr = agricultural aircraft / air = aircraft / al = airliner / aln = airliner / amb = Category:Air ambulances / aop = / ap = airplane / arp = airplane / as = airship / ash = airship / asw = / at = attack aircraft / atk = attack aircraft / b = bomber / bo = bomber / bom = bomber / bpr = / c = airlifter / ca = cargo aircraft / civ = civil aircraft / com = combat aircraft / da = / dev = / e = electronic warfare aircraft / ew = electronic warfare aircraft / exe = executive aircraft / exp = experimental aircraft / f = fighter / fg = / fgr = / ft = fighter / ftr = fighter / g = sailplane / ga = general aviation aircraft / gen = general aviation aircraft / gld = sailplane / gr = / gt = / h = helicopter / hab = hot air balloon / har = / hc = helicopter / hel = helicopter / hom = homebuilt aircraft / i = / is = / k = tanker aircraft / kc = / m = / ma = military aircraft / mg = / mil = military aircraft / mpa = / mus = museum aircraft / nav = / nf = / o = observation aircraft / obs = observation aircraft / op = operational aircraft / opr = operational aircraft / p = maritime patrol aircraft / pa = / par = / pat = maritime patrol aircraft / pos = mail plane / pr = / pre = preserved aircraft / r = reconnaissance aircraft / rac = racing aircraft / rcn = reconnaissance aircraft / ret = retired aircraft / s = / sar = search and rescue aircraft / sea = seaplane / sto = stored aircraft / t = trainer / tb = torpedo bomber / tng = trainer / tnr = trainer / tpt = transport aircraft / trn = trainer / trp = torpedo bomber / u = utility aircraft / uav = / ul = ultralight aircraft / ult = ultralight aircraft / ut = utility aircraft / ute = utility aircraft / v = executive aircraft / war = warbird / wb = warbird / x = experimental aircraft

Suggested values
a ac aer aew ag agr air al aln amb aop ap arp as ash asw at atk b bo bom bpr c ca civ com da dev e ew exe exp f fg fgr ft ftr g ga gen gld gr gt h hab har hc hel hom i is k kc m ma mg mil mpa mus nav nf o obs op opr p pa par pat pos pr pre r rac rcn ret s sar sea sto t tb tng tnr tpt trn trp u uav ul ult ut ute v war wb x
Default
aircraft
Lineoptional
liftlifttype

1 = monoplane / 2 = biplane / 3 = triplane / ag = autogyro / as = aerostat / b = biplane / fw = fixed-wing aircraft / flying wing = flying wing / hc = helicopter / hw = high wing / lb = lifting body / lw = low wing / m = monoplane / mw = mid-wing aircraft / or = ornithopter / p = parachute / pl = powered lift aircraft / pw = parasol wing / rw = rotorcraft / sw = shoulder wing / t = triplane / tr = tiltrotor / vg = variable-sweep wing / vs = variable-sweep wing

Suggested values
1 2 3 ag as b fw flying wing hc hw lb lw m mw or p pl pw rw sw t tr vg vs
Lineoptional
activityoperation

flight = flight / land = landing / park = parking / taxi = taxiing / to = takeoff

Suggested values
flight land park taxi to
Lineoptional
propulsor (quantity)props

number of propulsors

Suggested values
1 2 3 4 5 6 7 8 9 10
Numberoptional
propulsor (quantity 2)props2

number of propulsors

Suggested values
1 2 3 4 5 6 7 8 9 10
Numberoptional
propulsorproptype

f=fan / hc=powered helicopter rotor / j=jet engine / jet = jet / p = propeller / pj = pulsejet / pp = pusher configuration / ppp = push-pull configuration / rj = ramjet / tp = tractor configuration / tr = powered tilt-rotor

Suggested values
f hc j jet p pj pp ppp rj tp tr
Lineoptional
Sort keysortkey

see Template:MetaCat parameter 1

Lineoptional
undercarriageuc

c = conventional landing gear / g = ground carriage / fb = flying boat hull / fp = float gear / r = retractable landing gear / t = tricycle gear / tx = fixed tricycle gear

Suggested values
c g fb fp r t tx
Lineoptional

Additional information

The template is intended to be used in the following namespaces: the Category namespace

The template is intended to be used by the following user groups: all users

Placement: At the top of the page

Relies on:

Localization

This template is not intended to be localized.

Category:Templates not requiring internationalization
{{aircraft class
|function  =
|lifttype  =
|engines   =
|enginetype=
|engineloc =
|props     =
|proptype  =
|sortkey   =
|metatopic =
}}
Category:Commons templates
Category:Commons templates Category:Templates not requiring internationalization Category:Templates using TemplateData