Template:Craft propulsion: Difference between revisions
Jump to navigation
Jump to search
(Test for expanding the 'Twinjet' parameter value into the categories Category:Twinjets, Category:Jet aircraft, Category:Twin-engine aircraft.) |
(Split out the composite parameter values into their own section of the template.) |
||
Line 96: | Line 96: | ||
}}]] | }}]] | ||
[[Category:Pusher aircraft]] | [[Category:Pusher aircraft]] | ||
| rocket-powered aircraft = | | rocket-powered aircraft = | ||
{{{pre|}}}[[:Category:Rocket-powered aircraft|<!-- | {{{pre|}}}[[:Category:Rocket-powered aircraft|<!-- | ||
Line 118: | Line 111: | ||
}}]] | }}]] | ||
[[Category:Single-engine aircraft]] | [[Category:Single-engine aircraft]] | ||
| six-engine aircraft = | | six-engine aircraft = | ||
{{{pre|}}}[[:Category:Six-engine aircraft|<!-- | {{{pre|}}}[[:Category:Six-engine aircraft|<!-- | ||
Line 146: | Line 132: | ||
}}]] | }}]] | ||
[[Category:Tractor aircraft]] | [[Category:Tractor aircraft]] | ||
| turboprop aircraft = | | turboprop aircraft = | ||
{{{pre|}}}[[:Category:Turboprop aircraft|<!-- | {{{pre|}}}[[:Category:Turboprop aircraft|<!-- | ||
Line 161: | Line 140: | ||
}}]] | }}]] | ||
[[Category:Turboprop aircraft]] | [[Category:Turboprop aircraft]] | ||
| twin-engine aircraft = | | twin-engine aircraft = | ||
{{{pre|}}}[[:Category:Twin-engine aircraft|<!-- | {{{pre|}}}[[:Category:Twin-engine aircraft|<!-- | ||
Line 176: | Line 148: | ||
}}]] | }}]] | ||
[[Category:Twin-engine aircraft]] | [[Category:Twin-engine aircraft]] | ||
| unpowered aircraft = | |||
{{{pre|}}}[[:Category:Unpowered aircraft|<!-- | |||
-->{{LangSwitch | |||
| en = Unpowered aircraft | |||
}}]] | |||
[[Category:Unpowered aircraft]] | |||
<!-- Aircraft composite types --> | |||
| quadjet = | |||
{{{pre|}}}[[:Category:Quadjets|<!-- | |||
-->{{LangSwitch | |||
| de = Vierstrahliger Jet | |||
| en = Quadjet | |||
}}]] | |||
[[Category:Quadjets]] | |||
| single-engine jet = | |||
{{{pre|}}}[[:Category:Single-engine jets|<!-- | |||
-->{{LangSwitch | |||
| de = Einstrahliger Jet | |||
| en = Single-engine jet | |||
}}]] | |||
[[Category:Single-engine jets]] | |||
| trijet = | |||
{{{pre|}}}[[:Category:Trijets|<!-- | |||
-->{{LangSwitch | |||
| de = Dreistrahliger Jet | |||
| en = Trijet | |||
}}]] | |||
[[Category:Trijets]] | |||
| twin-engine piston aircraft = | |||
{{{pre|}}}[[:Category:Twin-engine piston aircraft|<!-- | |||
-->{{LangSwitch | |||
| de = Zweimotoriges Propellerflugzeug | |||
| en = Twin-engine piston aircraft | |||
}}]] | |||
[[Category:Twin-engine piston aircraft]] | |||
| twinjet = | | twinjet = | ||
{{{pre|}}}[[:Category:Twinjets|<!-- | {{{pre|}}}[[:Category:Twinjets|<!-- | ||
Line 194: | Line 201: | ||
}}]]) | }}]]) | ||
[[Category:Twinjets]] [[Category:Jet aircraft]] [[Category:Twin-engine aircraft]] | [[Category:Twinjets]] [[Category:Jet aircraft]] [[Category:Twin-engine aircraft]] | ||
<!-- Spacecraft propulsion --> | <!-- Spacecraft propulsion --> | ||
<!-- Vehicle propulsion --> | <!-- Vehicle propulsion --> |
Revision as of 12:40, 26 September 2016
The following template description is not displayed when the template is inserted in an article.
Goal
Convert a craft's propulsion into a link to a category page and append the category to the calling page.
Usage
{{craft propulsion | propulsion | pre = }}
- propulsion
- The aircraft, spacecraft, vehicle, or seacraft propulsion. 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 propulsion section below for a table of values.
- pre
- Text to prefix prior to the link text. This is useful for creating lists.
Craft propulsion
The following tables show the special values for the propulsion parameter. To extend these lists, both the {{craft propulsion}} template and {{craft propulsion/doc}} documentation template need to be updated. Translations of the link text are supported.
Aircraft
This is for the Category:Aircraft by propulsion subcategory of Category:Aircraft.
Composite parameter values include:
Parameter value | Link text | Appended categories |
---|---|---|
Quadjet | Quadjets (Jet aircraft, Four-engine aircraft) | Category:Quadjets, Category:Jet aircraft, Category:Four-engine aircraft |
Single-engine jet | Single-engine jets (Jet aircraft, Single-engine aircraft) | Category:Single-engine jets, Category:Jet aircraft, Category:Single-engine aircraft |
Trijet | Trijets (Jet aircraft, Three-engine aircraft) | Category:Trijets, Category:Jet aircraft, Category:Three-engine aircraft |
Twin-engine piston aircraft | Twin-engine piston aircraft (Piston aircraft, Twin-engine aircraft) | Category:Twin-engine piston aircraft, Category:Piston aircraft, Category:Twin-engine aircraft |
Twinjet | Twinjets (Jet aircraft, Twin-engine aircraft) | Category:Twinjets, Category:Jet aircraft, Category:Twin-engine aircraft |
Spacecraft
As of yet, no propulsion categories exist for spacecraft.
Vehicle
As of yet, no propulsion categories exist for vehicles.
Seacraft
As of yet, no propulsion categories exist for seacraft.
Examples
Twin-engine piston
{{craft propulsion|twin-engine piston aircraft}}
Twinjet
{{craft propulsion|twinjet}}