Difference between revisions of "Aircraft"
From CNAC
TomHutchison (talk | contribs) m |
TomHutchison (talk | contribs) m |
||
| (9 intermediate revisions by the same user not shown) | |||
| Line 31: | Line 31: | ||
<div class="large-4 large-push-8 columns"> | <div class="large-4 large-push-8 columns"> | ||
{|class="infobox-page" style="width: auto; font-size: 85%; background-color: #f9f9f9; color: black; margin:0 auto 1.5rem; text-align:center;min-width:250px;" | {|class="infobox-page" style="width: auto; font-size: 85%; background-color: #f9f9f9; color: black; margin:0 auto 1.5rem; text-align:center;min-width:250px;" | ||
| − | {{#if:{{{Aircraft Main Image|}}}| {{!}} style="text-align:center;"{{!}}{{#set:Aircraft Main Image=File:{{{Aircraft Main Image|}}} }}[[Image:{{{Aircraft Main Image|}}}|link=]] | + | {{#if:{{{Aircraft Main Image|}}}| {{!}} style="text-align:center;"{{!}}{{#set:Aircraft Main Image=File:{{{Aircraft Main Image|}}}|Has image=File:{{{Aircraft Main Image|}}} }}[[Image:{{{Aircraft Main Image|}}}|link=]] |
{{!}}-}} | {{!}}-}} | ||
| {{#ifeq:{{{Crew|}}}|1|'''Crew:''' [[Aircraft Crew::{{{Crew|}}} crew member]] | '''Crew:''' [[Aircraft Crew::{{{Crew|}}} crew members]] }} | | {{#ifeq:{{{Crew|}}}|1|'''Crew:''' [[Aircraft Crew::{{{Crew|}}} crew member]] | '''Crew:''' [[Aircraft Crew::{{{Crew|}}} crew members]] }} | ||
| Line 39: | Line 39: | ||
{{#if: {{{Passenger Capacity Max|}}} | {{!}} ''' Passenger Capacity:''' {{#set:Aircraft Capacity={{{Passenger Capacity|}}} passengers}} {{{Passenger Capacity|}}} to [[Aircraft Capacity Max::{{{Passenger Capacity Max|}}} passengers]] | {{!}}''' Passenger Capacity:''' [[Aircraft Capacity::{{{Passenger Capacity|}}} passengers]] }} | {{#if: {{{Passenger Capacity Max|}}} | {{!}} ''' Passenger Capacity:''' {{#set:Aircraft Capacity={{{Passenger Capacity|}}} passengers}} {{{Passenger Capacity|}}} to [[Aircraft Capacity Max::{{{Passenger Capacity Max|}}} passengers]] | {{!}}''' Passenger Capacity:''' [[Aircraft Capacity::{{{Passenger Capacity|}}} passengers]] }} | ||
|- | |- | ||
| − | | '''Length:''' [[Aircraft Length::{{{Length|}}} ft]] | + | {{#if:{{{Length|}}} | {{!}} '''Length:''' [[Aircraft Length::{{{Length|}}} ft]] |
| − | + | {{!}}-}} | |
| − | | '''Wingspan:''' [[Aircraft Wingspan::{{{Wingspan|}}} ft]] | + | {{#if:{{{Wingspan|}}} | {{!}} '''Wingspan:''' [[Aircraft Wingspan::{{{Wingspan|}}} ft]] |
| − | |- | + | {{!}}- }} |
| − | | '''Height:''' [[Aircraft Height::{{{Height|}}} ft]] | + | {{#if:{{{WingspanLower|}}} | {{!}} '''Lower Wingspan:''' [[Aircraft Lower Wingspan::{{{WingspanLower|}}} ft]] |
| − | + | {{!}}- }} | |
| − | {{#if:{{{Cargo Capactity|}}}| | + | {{#if:{{{Height|}}}| {{!}} '''Height:''' [[Aircraft Height::{{{Height|}}} ft]] |
| + | {{!}}-}} | ||
| + | {{#if:{{{Cargo Capactity|}}} | {{!}} '''Cargo Capactity''' [[Aircraft Cargo Capacity::{{{Cargo Capactity|}}} lbs]] | ||
| + | {{!}}-}} | ||
| + | {{#if:{{{Empty Weight|}}} | {{!}} '''Empty Weight:''' [[Aircraft Empty Weight::{{{Empty Weight|}}} lbs]] | ||
| + | {{!}}-}} | ||
| + | {{#if:{{{Gross Weight|}}} | {{!}} '''Gross Weight:''' [[Aircraft Gross Weight::{{{Gross Weight|}}} lbs]] | ||
| + | {{!}}-}} | ||
| + | {{#if:{{{Powerplant|}}} | {{!}} '''Powerplant:''' [[Aircraft Powerplant::{{{Powerplant|}}}]] | ||
| + | {{!}}-}} | ||
| + | {{#if:{{{Propellers|}}} | {{!}} '''Propellers:''' [[Aircraft Propellers::{{{Propellers|}}}]] | ||
| + | {{!}}-}} | ||
| + | {{#if:{{{Max Speed|}}} | {{!}} '''Max Speed:''' [[Aircraft Max Speed::{{{Max Speed|}}} mph]] | ||
| + | {{!}}-}} | ||
| + | {{#if:{{{Cruise Speed|}}} | {{!}} '''Cruise Speed:''' [[Aircraft Cruise Speed::{{{Cruise Speed|}}} mph]] | ||
| + | {{!}}-}} | ||
| + | {{#if:{{{Range|}}} | {{!}} '''Range:''' [[Aircraft Range::{{{Range|}}} miles]] | ||
{{!}}-}} | {{!}}-}} | ||
| − | + | {{#if:{{{Service Ceiling|}}} | {{!}} '''Service Ceiling:''' [[Aircraft Service Ceiling::{{{Service Ceiling|}}} ft]] | |
| − | + | }} | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
|} | |} | ||
</div> | </div> | ||
| Line 71: | Line 74: | ||
</div> | </div> | ||
</div> | </div> | ||
| − | {{Aircraft CNAC Data}}{{#if:{{ServiceStartYear}}|{{#set:Aircraft CNAC Start Year={{ServiceStartYear}}}}|}} | + | {{Aircraft CNAC Data}}{{#if:{{ServiceStartYear}}|{{#set:Aircraft CNAC Start Year={{ServiceStartYear}}}}|}}{{#if:{{ServiceEndYear}}|{{#set:Aircraft CNAC End Year={{ServiceEndYear}}}}|}} |
__NOTOC__ __NOEDITSECTION__ | __NOTOC__ __NOEDITSECTION__ | ||
[[Category:Aircraft]] | [[Category:Aircraft]] | ||
</includeonly> | </includeonly> | ||
Latest revision as of 12:01, 26 April 2020
This is the "Aircraft" template. It should be called in the following format:
{{Aircraft
|Crew=
|Crew Type=
|Aircraft Main Image=
|Passenger Capacity=
|Passenger Capacity Max=
|Length=
|Wingspan=
|Height=
|Cargo Capactity=
|Empty Weight=
|Gross Weight=
|Powerplant=
|Propellers=
|Max Speed=
|Cruise Speed=
|Range=
|Service Ceiling=
|Summary=
|Additional Notes=
|CNAC Infomation Placeholder=
}}
Edit the page to see the template text.
