Template:Craft type: Difference between revisions
Jump to navigation
Jump to search
(Added the new 'STOL aircraft' and 'Transport aircraft' parameter values.) |
|||
Line 140: | Line 140: | ||
{{{pre|}}}[[:Category:Experimental aircraft|<!-- | {{{pre|}}}[[:Category:Experimental aircraft|<!-- | ||
-->{{LangSwitch | -->{{LangSwitch | ||
| de = | | de = Experimentelles Flugzeug | ||
| en = Experimental aircraft | | en = Experimental aircraft | ||
}}]] | }}]] | ||
Line 171: | Line 171: | ||
{{{pre|}}}[[:Category:Floatplanes|<!-- | {{{pre|}}}[[:Category:Floatplanes|<!-- | ||
-->{{LangSwitch | -->{{LangSwitch | ||
| de = | | de = Schwimmerflugzeug | ||
| en = Floatplane | | en = Floatplane | ||
| fr = Hydravion à flotteurs | | fr = Hydravion à flotteurs | ||
Line 263: | Line 263: | ||
[[Category:Military helicopters]] | [[Category:Military helicopters]] | ||
| military reconnaissance aircraft = | | military reconnaissance aircraft = | ||
{{{pre|}}}[[:Category:Military reconnaissance aircraft|Military reconnaissance aircraft]] [[Category:Military reconnaissance aircraft]] | {{{pre|}}}[[:Category:Military reconnaissance aircraft|<!-- | ||
-->{{LangSwitch | |||
| de = Militärisches Aufklärungsflugzeug | |||
| en = Military reconnaissance aircraft | |||
}}]] | |||
[[Category:Military reconnaissance aircraft]] | |||
| military tanker aircraft = | | military tanker aircraft = | ||
{{{pre|}}}[[:Category:Military tanker aircraft|<!-- | {{{pre|}}}[[:Category:Military tanker aircraft|<!-- | ||
Line 372: | Line 377: | ||
{{{pre|}}}[[:Category:STOL aircraft|<!-- | {{{pre|}}}[[:Category:STOL aircraft|<!-- | ||
-->{{LangSwitch | -->{{LangSwitch | ||
| de = Kurzlandeflugzeug | |||
| en = STOL aircraft | | en = STOL aircraft | ||
}}]] | }}]] | ||
Line 485: | Line 491: | ||
{{{pre|}}}[[:Category:Utility vehicles|<!-- | {{{pre|}}}[[:Category:Utility vehicles|<!-- | ||
-->{{LangSwitch | -->{{LangSwitch | ||
| de = Mehrzweckfahrzeug | |||
| en = Utility vehicle | | en = Utility vehicle | ||
}}]] | }}]] |
Revision as of 16:12, 26 July 2016
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.
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>}}