Template: InfoboxPlane

From Steambirds Alliance Wiki
Jump to: navigation, search
(Changed infobox header)
(replaced old template with my own new version)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
<div style="float:right;position:relative;padding-left: 15px;border-color: rgba(0,0,0,0);">
+
{| style="width: 250px; float: right; margin-left:auto; margin-right: auto; text-align: center; background-color: #111013; border: 1px #1a181d solid;"
{| class="table infobox" style="background:#703d27;border-radius:15px"
 
! colspan="2" style="font-size:150%; padding:10px;border-color: rgba(0,0,0,0);" | <center>{{{name|{{PAGENAME}}}}}</center>
 
 
|-
 
|-
! colspan="2" | <center>[[File:{{{image}}}|{{{size|300px}}}]]</center>
+
| colspan="4" align="center"  style="font-size:125%; height: 50px; border: 1px #1a181d solid;" bgcolor=#703d27 | '''{{{name|{{PAGENAME}}}}}'''
 
|-
 
|-
! Control Type
+
{{#if: {{{image|}}} | {{!}} colspan="4" style="height: 200px;" {{!}} [[Image:{{{image}}}|{{{size|300px}}}|center]] }}
| {{{control}}}
 
 
|-
 
|-
! Unlock Requirement
+
{{#if: {{{control|}}}|
| {{{unlock}}}
+
{{!}} colspan="2" align="center" style="height: 30px; border: 1px #1a181d solid;" bgcolor=#703d27 {{!}} '''Control Type'''
 +
{{!}} colspan="2" align="center" style="height: 30px; border: 1px #1a181d solid;" bgcolor=#552f1f {{!}} {{{control}}}
 
|-
 
|-
! Starting Weapon
+
{{#if: {{{unlock|}}}|
| {{{firstgun}}}
+
{{!}} colspan="2" align="center" style="height: 30px; border: 1px #1a181d solid;" bgcolor=#703d27 {{!}} '''Unlock Requirement'''
 +
{{!}} colspan="2" align="center" style="height: 30px; border: 1px #1a181d solid;" bgcolor=#552f1f {{!}} {{{unlock}}} }}
 
|-
 
|-
! Primary Weapons
+
{{#if: {{{firstgun|}}}|
| {{{allguns}}}
+
{{!}} colspan="2" align="center" style="height: 30px; border: 1px #1a181d solid;" bgcolor=#703d27 {{!}} '''Starting Weapon'''
 +
{{!}} colspan="2" align="center" style="height: 30px; border: 1px #1a181d solid;" bgcolor=#552f1f {{!}} {{{firstgun}}} }}
 
|-
 
|-
! Secondary
+
{{#if: {{{allguns|}}}|
| [[{{{second}}}]]
+
{{!}} colspan="2" align="center" style="height: 30px; border: 1px #1a181d solid;" bgcolor=#703d27 {{!}} '''Primary Weapons'''
 +
{{!}} colspan="2" align="center" style="height: 30px; border: 1px #1a181d solid;" bgcolor=#552f1f {{!}} {{{allguns}}} }}
 
|-
 
|-
! Maneuver
+
{{#if: {{{secondary|}}}|
| {{{maneuver}}}
+
{{!}} colspan="2" align="center" style="height: 30px; border: 1px #1a181d solid;" bgcolor=#703d27 {{!}} '''Secondary'''
 +
{{!}} colspan="2" align="center" style="height: 30px; border: 1px #1a181d solid;" bgcolor=#552f1f {{!}} {{{secondary}}} }}
 
|-
 
|-
! colspan="2" style="font-size:120%" | <center>'''Initial Stats (Base Stats)'''</center>
+
{{#if: {{{maneuver|}}}|
 +
{{!}} colspan="2" align="center" style="height: 30px; border: 1px #1a181d solid;" bgcolor=#703d27 {{!}} '''Maneuver'''
 +
{{!}} colspan="2" align="center" style="height: 30px; border: 1px #1a181d solid;" bgcolor=#552f1f {{!}} {{{maneuver}}} }}
 
|-
 
|-
! Armor
+
| colspan="4" align="center"  style="font-size:125%; height: 40px; border: 3px #1a181d solid;" bgcolor=#994239 | '''Initial Stats (Base Stats)'''
| {{{armor}}}
 
 
|-
 
|-
! Damage
+
{{#if: {{{armor|}}}|
| {{{damage}}}
+
{{!}} colspan="2" align="center" style="height: 30px; border: 1px #1a181d solid;" bgcolor=#703d27 {{!}} '''Armor'''
 +
{{!}} colspan="2" align="center" style="height: 30px; border: 1px #1a181d solid;" bgcolor=#552f1f {{!}} {{{armor}}} }}
 
|-
 
|-
! Armor Self-Repair
+
{{#if: {{{damage|}}}|
| {{{repair}}}
+
{{!}} colspan="2" align="center" style="height: 30px; border: 1px #1a181d solid;" bgcolor=#703d27 {{!}} '''Damage'''
 +
{{!}} colspan="2" align="center" style="height: 30px; border: 1px #1a181d solid;" bgcolor=#552f1f {{!}} {{{damage}}} }}
 
|-
 
|-
! Steam Recharge
+
{{#if: {{{repair|}}}|
| {{{recharge}}}
+
{{!}} colspan="2" align="center" style="height: 30px; border: 1px #1a181d solid;" bgcolor=#703d27 {{!}} '''Armor Self-Repair'''
 +
{{!}} colspan="2" align="center" style="height: 30px; border: 1px #1a181d solid;" bgcolor=#552f1f {{!}} {{{repair}}} }}
 
|-
 
|-
! Turn Rate
+
{{#if: {{{recharge|}}}|
| {{{turn}}}
+
{{!}} colspan="2" align="center" style="height: 30px; border: 1px #1a181d solid;" bgcolor=#703d27 {{!}} '''Steam Recharge'''
 +
{{!}} colspan="2" align="center" style="height: 30px; border: 1px #1a181d solid;" bgcolor=#552f1f {{!}} {{{recharge}}} }}
 
|-
 
|-
! Max Speed
+
{{#if: {{{turn|}}}|
| {{{cruise}}}
+
{{!}} colspan="2" align="center" style="height: 30px; border: 1px #1a181d solid;" bgcolor=#703d27 {{!}} '''Turn Rate'''
 +
{{!}} colspan="2" align="center" style="height: 30px; border: 1px #1a181d solid;" bgcolor=#552f1f {{!}} {{{turn}}} }}
 
|-
 
|-
! Super Speed
+
{{#if: {{{cruise|}}}|
| {{{super}}}
+
{{!}} colspan="2" align="center" style="height: 30px; border: 1px #1a181d solid;" bgcolor=#703d27 {{!}} '''Max Speed'''
 +
{{!}} colspan="2" align="center" style="height: 30px; border: 1px #1a181d solid;" bgcolor=#552f1f {{!}} {{{cruise}}} }}
 
|-
 
|-
! colspan="2" style="font-size:120%"| <center>'''Plane Multipliers'''</center>
+
{{#if: {{{super|}}}|
 +
{{!}} colspan="2" align="center" style="height: 30px; border: 1px #1a181d solid;" bgcolor=#703d27 {{!}} '''Super Speed'''
 +
{{!}} colspan="2" align="center" style="height: 30px; border: 1px #1a181d solid;" bgcolor=#552f1f {{!}} {{{super}}} }}
 +
|-
 +
| colspan="4" align="center"  style="font-size:125%; height: 40px; border: 3px #1a181d solid;" bgcolor=#994239 | '''Plane Multipliers'''
 +
|-
 +
{{#if: {{{multi|}}}|
 +
{{!}} colspan="4" align="center" style="height: 30px; border: 1px #1a181d solid;" bgcolor=#703d27 {{!}} {{{multi}}} }}
 
|-
 
|-
| colspan="2" | <center>{{{multi}}}</center>
 
 
|}
 
|}
</div>
 
 
[[Category:Planes]]
 
[[Category:Planes]]
 
</includeonly>
 
</includeonly>

Revision as of 15:43, 30 May 2019


Insert

{{InfoboxPlane
|name = Raptor
|image = A2.png
|size = 100px
|control = Relative
|unlock = Level 20 [[Merlin]]
|firstgun = Junk Laser
|allguns = Laser<br/>Sniper
|second = Mines
|maneuver = Barrel Roll
|armor = 12.3 (15)
|damage = 100% (100%)
|repair = 0.6/s (0.6/s)
|recharge = 0.6/s (0.4/s)
|turn = 180º/sec
|cruise = 2.5
|super = 5.0
|multi = x0.8 Weapon Range<br/>x0.8 Armor<br/>+50% Steam Recharge<br/>x0.5 Max Speed and Super Speed while firing<br/>x0.3 Turn Rate while firing<br/>x2 bullets while not superspeeding<br/>+80% Turn Rate while superspeeding
}}

to get

{{#if: Relative|
Raptor
A2.png
Control Type Relative
Unlock Requirement Level 20 Merlin
Starting Weapon Junk Laser
Primary Weapons Laser
Sniper
Maneuver Barrel Roll
Initial Stats (Base Stats)
Armor 12.3 (15)
Damage 100% (100%)
Armor Self-Repair 0.6/s (0.6/s)
Steam Recharge 0.6/s (0.4/s)
Turn Rate 180º/sec
Max Speed 2.5
Super Speed 5.0
Plane Multipliers
x0.8 Gun Range
x0.8 Armor
+50% Steam Recharge
x0.5 Max Speed and Super Speed while firing
x0.3 Turn Rate while firing
x2 bullets while not superspeeding
+80% Turn Rate while superspeeding


Note: Initial stats are the stats an aircraft starts with when they are initially created at the Hangar (including all class and equipment modifiers). Base stats are what the initial stats would be if class and equipment modifiers were ignored; they are also important for calculating the effects of +X% stat modifiers.