Template

Difference between revisions of "Aircraft"

From CNAC

m
m
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]] }}
 
|-
 
|-
{{#if:{{{Length|}}} | '''Length:''' [[Aircraft Length::{{{Length|}}} ft]]
+
{{#if:{{{Length|}}} | {{!}} '''Length:''' [[Aircraft Length::{{{Length|}}} ft]]
 
{{!}}-}}
 
{{!}}-}}
{{#if:{{{Wingspan|}}} | '''Wingspan:''' [[Aircraft Wingspan::{{{Wingspan|}}} ft]]
+
{{#if:{{{Wingspan|}}} | {{!}} '''Wingspan:''' [[Aircraft Wingspan::{{{Wingspan|}}} ft]]
{{!}}-}}
+
{{!}}- }}
{{#if:{{{Height|}}}| '''Height:''' [[Aircraft Height::{{{Height|}}} ft]]
+
{{#if:{{{Height|}}}| {{!}} '''Height:''' [[Aircraft Height::{{{Height|}}} ft]]
 
{{!}}-}}
 
{{!}}-}}
 
{{#if:{{{Cargo Capactity|}}} | {{!}} '''Cargo Capactity''' [[Aircraft Cargo Capacity={{{Cargo Capactity|}}} lbs]]
 
{{#if:{{{Cargo Capactity|}}} | {{!}} '''Cargo Capactity''' [[Aircraft Cargo Capacity={{{Cargo Capactity|}}} lbs]]
 
{{!}}-}}
 
{{!}}-}}
{{#if:{{{Empty Weight|}}} | '''Empty Weight:''' [[Aircraft Empty Weight::{{{Empty Weight|}}} lbs]]
+
{{#if:{{{Empty Weight|}}} | {{!}} '''Empty Weight:''' [[Aircraft Empty Weight::{{{Empty Weight|}}} lbs]]
 
{{!}}-}}
 
{{!}}-}}
{{#if:{{{Gross Weight|}}} | '''Gross Weight:''' [[Aircraft Gross Weight::{{{Gross Weight|}}} lbs]]
+
{{#if:{{{Gross Weight|}}} | {{!}} '''Gross Weight:''' [[Aircraft Gross Weight::{{{Gross Weight|}}} lbs]]
 
{{!}}-}}
 
{{!}}-}}
 
| '''Powerplant:''' [[Aircraft Powerplant::{{{Powerplant|}}}]]
 
| '''Powerplant:''' [[Aircraft Powerplant::{{{Powerplant|}}}]]
Line 57: Line 57:
 
| '''Max Speed:''' [[Aircraft Max Speed::{{{Max Speed|}}} mph]]
 
| '''Max Speed:''' [[Aircraft Max Speed::{{{Max Speed|}}} mph]]
 
|-
 
|-
{{#if:{{{Cruise Speed|}}} | '''Cruise Speed:''' [[Aircraft Cruise Speed::{{{Cruise Speed|}}} mph]]
+
{{#if:{{{Cruise Speed|}}} | {{!}} '''Cruise Speed:''' [[Aircraft Cruise Speed::{{{Cruise Speed|}}} mph]]
 
{{!}}-}}
 
{{!}}-}}
{{#if:{{{Range|}}} | '''Range:''' [[Aircraft Range::{{{Range|}}} miles]]
+
{{#if:{{{Range|}}} | {{!}} '''Range:''' [[Aircraft Range::{{{Range|}}} miles]]
 
{{!}}-}}
 
{{!}}-}}
 
| '''Service Ceiling:''' [[Aircraft Service Ceiling::{{{Service Ceiling|}}} ft]]
 
| '''Service Ceiling:''' [[Aircraft Service Ceiling::{{{Service Ceiling|}}} ft]]

Revision as of 21:36, 17 March 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.