Difference between revisions of "Template:Craft type"

From FlightGear wiki
Jump to: navigation, search
(Arabic description for type: Civil aircraft, Civil utility aircraft)
(Català)
Line 4: Line 4:
 
     {{{pre|}}}[[:Category:AWACS aircraft|<!--
 
     {{{pre|}}}[[:Category:AWACS aircraft|<!--
 
     -->{{LangSwitch
 
     -->{{LangSwitch
 +
          | ca = Aeronau AWACS
 
           | de = AWACS/Fliegende Luftaufklärung
 
           | de = AWACS/Fliegende Luftaufklärung
 
           | en = AWACS aircraft
 
           | en = AWACS aircraft
Line 13: Line 14:
 
     {{{pre|}}}[[:Category:Aerobatic aircraft|<!--
 
     {{{pre|}}}[[:Category:Aerobatic aircraft|<!--
 
     -->{{LangSwitch
 
     -->{{LangSwitch
 +
          | ca = Aeronau acrobàtica
 
           | de = Kunstflugzeug
 
           | de = Kunstflugzeug
 
           | en = Aerobatic aircraft
 
           | en = Aerobatic aircraft
Line 22: Line 24:
 
     {{{pre|}}}[[:Category:Aerostat|<!--
 
     {{{pre|}}}[[:Category:Aerostat|<!--
 
     -->{{LangSwitch
 
     -->{{LangSwitch
 +
          | ca = Aeròstat
 
           | de = Aerostatisches Luftfahrzeug
 
           | de = Aerostatisches Luftfahrzeug
 
           | en = Aerostat
 
           | en = Aerostat
Line 30: Line 33:
 
   | agricultural aircraft = {{{pre|}}}[[:Category:Agricultural aircraft|<!--
 
   | agricultural aircraft = {{{pre|}}}[[:Category:Agricultural aircraft|<!--
 
     -->{{LangSwitch
 
     -->{{LangSwitch
 +
          | ca = Aeronau agricultora
 
           | de = Agrarflugzeug
 
           | de = Agrarflugzeug
 
           | en = Agricultural aircraft
 
           | en = Agricultural aircraft
Line 39: Line 43:
 
     {{{pre|}}}[[:Category:Airliners|<!--
 
     {{{pre|}}}[[:Category:Airliners|<!--
 
     -->{{LangSwitch
 
     -->{{LangSwitch
 +
          | ca = Avió comercial
 
           | de = Verkehrsflugzeug
 
           | de = Verkehrsflugzeug
 
           | en = Airliner
 
           | en = Airliner
Line 51: Line 56:
 
     {{{pre|}}}[[:Category:Airships|<!--
 
     {{{pre|}}}[[:Category:Airships|<!--
 
     -->{{LangSwitch
 
     -->{{LangSwitch
 +
          | ca = Dirigible
 
           | de = Luftschiff
 
           | de = Luftschiff
 
           | en = Airship
 
           | en = Airship
Line 63: Line 69:
 
     {{{pre|}}}[[:Category:Amphibious helicopters|<!--
 
     {{{pre|}}}[[:Category:Amphibious helicopters|<!--
 
     -->{{LangSwitch
 
     -->{{LangSwitch
 +
          | ac  Helicòpter amfibi
 
           | de = Amphibischer Helikopter
 
           | de = Amphibischer Helikopter
 
           | en = Amphibious helicopter
 
           | en = Amphibious helicopter
Line 73: Line 80:
 
     {{{pre|}}}[[:Category:Attack aircraft|<!--
 
     {{{pre|}}}[[:Category:Attack aircraft|<!--
 
     -->{{LangSwitch
 
     -->{{LangSwitch
 +
          | ca = Aeronau d'atac
 
           | de = Erdkampfflugzeug
 
           | de = Erdkampfflugzeug
 
           | en = Attack aircraft
 
           | en = Attack aircraft
Line 81: Line 89:
 
     {{{pre|}}}[[:Category:Autogyros|<!--
 
     {{{pre|}}}[[:Category:Autogyros|<!--
 
     -->{{LangSwitch
 
     -->{{LangSwitch
 +
          | ca = Autogir
 
           | de = Autogyro
 
           | de = Autogyro
 
           | en = Autogyro
 
           | en = Autogyro
Line 89: Line 98:
 
     {{{pre|}}}[[:Category:Balloons|<!--
 
     {{{pre|}}}[[:Category:Balloons|<!--
 
     -->{{LangSwitch
 
     -->{{LangSwitch
 +
          | ca = Globus
 
           | de = Heißluftballon
 
           | de = Heißluftballon
 
           | en = Balloon
 
           | en = Balloon
Line 98: Line 108:
 
     {{{pre|}}}[[:Category:Bomber aircraft|<!--
 
     {{{pre|}}}[[:Category:Bomber aircraft|<!--
 
     -->{{LangSwitch
 
     -->{{LangSwitch
 +
          | ca = Bombarder
 
           | de = Bombenflugzeug
 
           | de = Bombenflugzeug
 
           | en = Bomber aircraft
 
           | en = Bomber aircraft
Line 107: Line 118:
 
     {{{pre|}}}[[:Category:Business aircraft|<!--
 
     {{{pre|}}}[[:Category:Business aircraft|<!--
 
     -->{{LangSwitch
 
     -->{{LangSwitch
 +
          | ca = Aeronau de negocis
 
           | de = Geschäftsreiseflugzeug
 
           | de = Geschäftsreiseflugzeug
 
           | es = Aeronave de negocios
 
           | es = Aeronave de negocios
Line 115: Line 127:
 
     {{{pre|}}}[[:Category:Business jet|<!--
 
     {{{pre|}}}[[:Category:Business jet|<!--
 
     -->{{LangSwitch
 
     -->{{LangSwitch
 +
          | ca = Jet de negocis
 
           | de = Geschäftsreisejet
 
           | de = Geschäftsreisejet
 
           | en = Business jet
 
           | en = Business jet
Line 124: Line 137:
 
     {{{pre|}}}[[:Category:Cargo aircraft|<!--
 
     {{{pre|}}}[[:Category:Cargo aircraft|<!--
 
     -->{{LangSwitch
 
     -->{{LangSwitch
 +
          | ca = Avió de càrrega
 
           | de = Frachtflugzeug
 
           | de = Frachtflugzeug
 
           | en = Cargo aircraft
 
           | en = Cargo aircraft
Line 133: Line 147:
 
     {{{pre|}}}[[:Category:Carrier-based aircraft|<!--
 
     {{{pre|}}}[[:Category:Carrier-based aircraft|<!--
 
     -->{{LangSwitch
 
     -->{{LangSwitch
 +
          | ca = Aeronau de portaavions
 
           | de = Trägergestütztes Flugzeug
 
           | de = Trägergestütztes Flugzeug
 
           | en = Carrier-based aircraft
 
           | en = Carrier-based aircraft
Line 142: Line 157:
 
     -->{{LangSwitch
 
     -->{{LangSwitch
 
           | ar = طائرة مدنية
 
           | ar = طائرة مدنية
 +
          | ca = Aeronau civil
 
           | de = Ziviles Flugzeug
 
           | de = Ziviles Flugzeug
 
           | en = Civil aircraft
 
           | en = Civil aircraft

Revision as of 04:15, 13 December 2017


The following template description is not displayed when the template is inserted in an article.

Goal

Convert a craft's type into a link to a category page and append the category to the calling page.

Usage

{{craft type
| type
| pre =
}}
type
Type of aircraft, spacecraft, vehicle, seacraft or air traffic control. Although this can be any text, special parameter values, independent of capitalisation, will be associated with a category. This will result in the creation of an internal wiki link to the category as well as appending the category to the article. See the Craft types section below for a table of values.
pre
Text to prefix prior to the link text. This is useful for creating lists.

Craft types

The following tables show the special values for the type parameter. To extend these lists, both the {{craft type}} template and {{craft type/doc}} documentation template need to be updated. Translations of the link text are supported.

Aircraft

This is for the Category:Aircraft by type subcategory of Category:Aircraft.

Parameter value Link text Appended categories
AWACS aircraft AWACS aircraft Category:AWACS aircraft
Aerial firefighting aircraft Aerial firefighting aircraft Category:Aerial firefighting aircraft
Aerobatic aircraft Aerobatic aircraft Category:Aerobatic aircraft
Aerostat Aerostat Category:Aerostat
Agricultural aircraft Agricultural aircraft Category:Agricultural aircraft
Airliner Airliners Category:Airliners
Airship Airships Category:Airships
Amphibious helicopter Amphibious helicopters Category:Amphibious helicopters
Attack aircraft Attack aircraft Category:Attack aircraft
Autogyro Autogyros Category:Autogyros
Balloon Balloons Category:Balloons
Bomber aircraft Bomber aircraft Category:Bomber aircraft
Business aircraft Business aircraft Category:Business aircraft
Business jet Business jet Category:Business jet
Cargo aircraft Cargo aircraft Category:Cargo aircraft
Carrier-based aircraft Carrier-based aircraft Category:Carrier-based aircraft
Civil aircraft Civil aircraft Category:Civil aircraft
Civil trainer aircraft Civil trainer aircraft Category:Civil trainer aircraft
Civil utility aircraft Civil utility aircraft Category:Civil utility aircraft
Experimental aircraft Experimental aircraft Category:Experimental aircraft
Fictional aircraft Fictional aircraft Category:Fictional aircraft
Fighter aircraft Fighter aircraft Category:Fighter aircraft
Flying boat Flying boat Category:Flying boats
Floatplane Floatplane Category:Floatplanes
Glider aircraft Glider aircraft Category:Glider aircraft
Glider tug Glider tugs Category:Glider tugs
Hang glider Hang gliders Category:Hang gliders
Helicopter Helicopters Category:Helicopters
Historical aircraft Historical aircraft Category:Historical aircraft
Hypersonic aircraft Hypersonic aircraft Category:Hypersonic aircraft
Interceptor aircraft Interceptor aircraft Category:Interceptor aircraft
Jet pack Jet pack Category:Jet pack
Light aircraft Light aircraft Category:Light aircraft
Light-sport aircraft Light-sport aircraft Category:Light-sport aircraft
Military aircraft Military aircraft Category:Military aircraft
Military airship Military airships Category:Military airships
Military helicopter Military helicopters Category:Military helicopters
Military reconnaissance aircraft Military reconnaissance aircraft Category:Military reconnaissance aircraft
Military tanker aircraft Military tanker aircraft Category:Military tanker aircraft
Military trainer aircraft Military trainer aircraft Category:Military trainer aircraft
Military transport aircraft Military transport aircraft Category:Military transport aircraft
Military utility aircraft Military utility aircraft Category:Military utility aircraft
Ornithopter Ornithopters Category:Ornithopters
Parasite aircraft Parasite aircraft Category:Parasite aircraft
Patrol aircraft Patrol aircraft Category:Patrol aircraft
Racing aircraft Racing aircraft Category:Racing aircraft
Radio-controlled aircraft Radio-controlled aircraft Category:Radio-controlled aircraft
Roadable aircraft Roadable aircraft Category:Roadable aircraft
Reconnaissance aircraft Reconnaissance aircraft Category:Reconnaissance aircraft
Rotorcraft Rotorcraft Category:Rotorcraft
Sailplane Sailplanes Category:Sailplanes
Spaceplane Spaceplanes Category:Spaceplanes
Special-purpose aircraft Special-purpose aircraft Category:Special-purpose aircraft
Sport aircraft Sport aircraft Category:Sport aircraft
STOL aircraft STOL aircraft Category:STOL aircraft
Supersonic aircraft Supersonic aircraft Category:Supersonic aircraft
Tiltrotor aircraft Tiltrotor aircraft Category:Tiltrotor aircraft
Trainer aircraft Trainer aircraft Category:Trainer aircraft
Tansport aircraft Transport aircraft Category:Transport aircraft
Ultralight aircraft Ultralight aircraft Category:Ultralight aircraft
Ultralight trike Ultralight trikes Category:Ultralight trikes
Unmanned aerial vehicle Unmanned aerial vehicles Category:Unmanned aerial vehicles
VTOL aircraft VTOL aircraft Category:VTOL aircraft
Very light jet Very light jets Category:Very light jets

Spacecraft

This is for the Category:Spacecraft by type subcategory of Category:Spacecraft.

Parameter value Link text Appended categories
Rocket Rockets Category:Rockets
Spaceplane Spaceplanes Category:Spaceplanes

Vehicle

This is for the Category:Vehicle by type subcategory of Category:Vehicles.

Parameter value Link text Appended categories
Automobile Automobile Category:Automobile
Military vehicle Military vehicle Category:Military vehicle
Motorcycle Motorcycle Category:Motorcycle
Pushback Pushback Category:Pushback
Truck Truck Category:Truck
Utility vehicle Utility vehicle Category:Utility vehicles

Seacraft

This is for the Category:Seacraft by type subcategory of Category:Seacraft.

Parameter value Link text Appended categories
Aircraft carrier Aircraft carriers Category:aircraft carriers

Air traffic control

This is for the Category:Air Traffic Control by type subcategory of Category:Air Traffic Control.

Parameter value Link text Appended categories
ATC aircraft Air traffic control Category:ATC Aircraft

Examples

Utility aircraft list

{{craft type|civil utility aircraft}}{{craft type|military utility aircraft|pre=, <nowiki></nowiki>}}

Civil utility aircraft, Military utility aircraft