Template:Craft type: Difference between revisions
Jump to navigation
Jump to search
(Added the 'jet pack' parameter value.) |
Parnikkapore (talk | contribs) No edit summary |
||
Line 115: | Line 115: | ||
| de = Frachtflugzeug | | de = Frachtflugzeug | ||
| en = Cargo aircraft | | en = Cargo aircraft | ||
| th = เครื่องบินขนส่ง | |||
}}]] | }}]] | ||
[[Category:Cargo aircraft]] | [[Category:Cargo aircraft]] | ||
Line 171: | Line 172: | ||
| fr = Avion de chasse | | fr = Avion de chasse | ||
| ja = 戦闘機 | | ja = 戦闘機 | ||
| th = เครื่องบินรบ | |||
}}]] | }}]] | ||
[[Category:Fighter aircraft]] | [[Category:Fighter aircraft]] | ||
Line 248: | Line 250: | ||
| en = Jet pack | | en = Jet pack | ||
| fr = Réacteur dorsal | | fr = Réacteur dorsal | ||
| th = เจ็ตแพ็ค | |||
}}]] | }}]] | ||
[[Category:Jet pack]] | [[Category:Jet pack]] | ||
Line 418: | Line 421: | ||
| en = Supersonic aircraft | | en = Supersonic aircraft | ||
| fr = Aéronef supersonique | | fr = Aéronef supersonique | ||
| th = เครื่องบินที่เร็วกว่าเสียง | |||
}}]] | }}]] | ||
[[Category:Supersonic aircraft]] | [[Category:Supersonic aircraft]] | ||
Line 484: | Line 488: | ||
| de = Rakete | | de = Rakete | ||
| en = Rocket | | en = Rocket | ||
| th = จรวด | |||
}}]] | }}]] | ||
[[Category:Rockets]] | [[Category:Rockets]] | ||
Line 513: | Line 518: | ||
| de = Mororrad | | de = Mororrad | ||
| en = Motorcycle | | en = Motorcycle | ||
| th = จักรยานยนต์ | |||
}}]] | }}]] | ||
[[Category:Motorcycle]] | [[Category:Motorcycle]] | ||
Line 527: | Line 533: | ||
| de = Lastwagen | | de = Lastwagen | ||
| en = Truck | | en = Truck | ||
| th = รถกระบะ | |||
}}]] | }}]] | ||
[[Category:Truck]] | [[Category:Truck]] |
Revision as of 08:29, 8 September 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>}}