Difference between revisions of "Template:Secondary weapon"

From FreeSpace Wiki
Jump to: navigation, search
m (missed range from the example)
m (Usage: Forgot to update this)
 
(14 intermediate revisions by 2 users not shown)
Line 29: Line 29:
 
{{#if: {{{armor_damage|}}}|
 
{{#if: {{{armor_damage|}}}|
 
{{!}} style="padding-left: 20px" {{!}} Armor damage
 
{{!}} style="padding-left: 20px" {{!}} Armor damage
{{!}} {{{armor_damage}}}
+
{{!}} style="padding-left: 20px" {{!}} {{{armor_damage}}}
 
{{!}}
 
{{!}}
 
}}
 
}}
Line 35: Line 35:
 
{{#if: {{{shield_damage|}}}|
 
{{#if: {{{shield_damage|}}}|
 
{{!}} style="padding-left: 20px" {{!}} Shield damage
 
{{!}} style="padding-left: 20px" {{!}} Shield damage
{{!}} {{{shield_damage}}}
+
{{!}} style="padding-left: 20px" {{!}} {{{shield_damage}}}
 
{{!}}
 
{{!}}
 
}}
 
}}
Line 41: Line 41:
 
{{#if: {{{subsystem_damage|}}}|
 
{{#if: {{{subsystem_damage|}}}|
 
{{!}} style="padding-left: 20px" {{!}} Subsystem damage
 
{{!}} style="padding-left: 20px" {{!}} Subsystem damage
{{!}} {{{subsystem_damage}}}
+
{{!}} style="padding-left: 20px" {{!}} {{{subsystem_damage}}}
 
{{!}}
 
{{!}}
 
}}
 
}}
Line 52: Line 52:
 
|-
 
|-
 
{{#if: {{{homing_cone|}}}|
 
{{#if: {{{homing_cone|}}}|
{{!}} style="padding-left: 20px" {{!}} '''Homing cone'''
+
{{!}} style="padding-left: 20px" {{!}} Homing cone
{{!}} {{{homing_cone}}} degrees
+
{{!}} style="padding-left: 20px" {{!}} {{{homing_cone}}} degrees
 
{{!}}
 
{{!}}
 
}}
 
}}
 
|-
 
|-
 
{{#if: {{{homing_min_time|}}}|
 
{{#if: {{{homing_min_time|}}}|
{{!}} style="padding-left: 20px" {{!}} '''Minimum lock time'''
+
{{!}} style="padding-left: 20px" {{!}} Minimum lock time
{{!}} {{{homing_min_time}}} s  
+
{{!}} style="padding-left: 20px" {{!}} {{{homing_min_time}}} s  
 
{{!}}
 
{{!}}
 
}}
 
}}
 
|-
 
|-
 
{{#if: {{{homing_turn|}}}|
 
{{#if: {{{homing_turn|}}}|
{{!}} style="padding-left: 20px" {{!}} '''Turn rate (360 degress)'''
+
{{!}} style="padding-left: 20px" {{!}} Turn rate (360 degress)
{{!}} {{{homing_turn}}} s
+
{{!}} style="padding-left: 20px" {{!}} {{{homing_turn}}} s
 +
{{!}}
 +
}}
 +
|-
 +
{{#if: {{{shockwave|}}}|
 +
{{!}} '''Shockwave radius (inner/outer)'''
 +
{{!}} {{{shockwave}}} m
 
{{!}}
 
{{!}}
 
}}
 
}}
Line 72: Line 78:
 
{{!}} '''Hitpoints'''
 
{{!}} '''Hitpoints'''
 
{{!}} {{#if: {{{hitpoints|}}}|{{{hitpoints}}}|50}}
 
{{!}} {{#if: {{{hitpoints|}}}|{{{hitpoints}}}|50}}
 +
{{!}}
 +
}}
 +
|-
 +
{{#if: {{{spawn|}}}|
 +
{{!}} '''Spawn count'''
 +
{{!}} {{{spawn}}}
 +
{{!}}
 +
}}
 +
|-
 +
{{#if: {{{children|}}}|
 +
{{!}} style="padding-left: 20px" {{!}} Spawned missile
 +
{{!}} style="padding-left: 20px" {{!}} {{{children}}}
 
{{!}}
 
{{!}}
 
}}
 
}}
Line 78: Line 96:
  
 
'''Additional properties'''
 
'''Additional properties'''
*Weapon is a missile weapon [[Weapons.tbl|(Secondary weapon)]]
+
*Weapon is a missile weapon [[Weapons.tbl|(Secondary weapon)]]{{#if: {{{bomb|}}}|*Weapon is marked as a bomb [[Weapons.tbl#.22Bomb.22|(Bomb)]]}}{{#if: {{{child|}}}|*Weapon cannot be set as a weapon mounted on any ship, but is instead created by another weapon [[Weapons.tbl#.22child.22|(child)]]}}{{#if: {{{huge|}}}|*Weapon is capable of easily damaging even larger vessels [[Weapons.tbl#.22Huge.22|(Huge)]]}}{{#if: {{{emp|}}}|*Weapon causes an EMP effect on any ship within the blast radius [[Weapons.tbl#.22EMP.22|(EMP)]]}}{{#if: {{{big_ship|}}}|*Weapon cannot be mounted on small ships [[Weapons.tbl#.22Big_Ship.22|(Big Ship)]]}}{{#if: {{{same_turret_cooldown|}}}|*Weapon refire rate is the same on all difficulty levels [[Weapons.tbl#.22same_turret_cooldown.22|(same turret cooldown)]]}}{{#if: {{{no_dumbfire|}}}|*Weapon must be locked onto the target in order to be fired [[Weapons.tbl#.22No Dumbfire.22|(No Dumbfire)]]}}{{#if: {{{lockarm|}}}|*Weapon only does full amount of damage when target is locked on [[Weapons.tbl#.22lockarm.22|(lockarm)]]}}{{#if: {{{shockwave|}}}|*The shockwave doubles the damage against any target that takes a direct hit}}{{#if: {{{spawn|}}}|*Weapon creates {{{spawn}}} {{{children}}} upon detonation [[Weapons.tbl#.22Spawn_Name.2CValue.22|(Spawn)]]}}<noinclude>
{{#if: {{{bomb|}}}|*Weapon is marked as a bomb [[Weapons.tbl#.22Bomb.22|(Bomb)]]}}
 
{{#if: {{{huge|}}}|*Weapon is capable of easily damaging even larger vessels [[Weapons.tbl#.22Huge.22|(Huge)]]}}
 
{{#if: {{{big_ship|}}}|*Weapon cannot be mounted on small ships [[Weapons.tbl#.22Big_Ship.22|(Big Ship)]]}}
 
{{#if: {{{same_turret_cooldown|}}}|*Weapon refire rate is the same on all difficulty levels [[Weapons.tbl#.22same_turret_cooldown.22|(same turret cooldown)]]}}
 
<noinclude>
 
  
 
== Usage ==
 
== Usage ==
 
<pre>{{Secondary_weapon
 
<pre>{{Secondary_weapon
|table_style =
+
|table_style =  
 
|name =  
 
|name =  
 
|range =  
 
|range =  
|reload =
+
|reload =  
|velocity =
+
|velocity =  
|damage =
+
|damage =  
 
|armor_damage =
 
|armor_damage =
|shield_damage =
+
|shield_damage =  
|subsystem_damage =
+
|subsystem_damage =  
|homing_type =
+
|homing_type =  
|homing_cone =
+
|homing_cone =  
|homing_min_time =
+
|homing_min_time =  
|homing_turn =
+
|homing_turn =
|hitpoints =
+
|shockwave =  
|bomb =
+
|hitpoints =  
|huge =
+
|bomb =
|big_ship =
+
|child =  
|same_turret_cooldown =
+
|huge =
 +
|emp =  
 +
|big_ship =  
 +
|same_turret_cooldown =
 +
|no_dumbfire =
 +
|lockarm =
 +
|spawn =
 +
|children =
 
}}
 
}}
 
</pre>
 
</pre>

Latest revision as of 12:26, 12 June 2021

Name {{{name}}}

Additional properties

Usage

{{Secondary_weapon
|table_style = 
|name = 
|range = 
|reload = 
|velocity = 
|damage = 
|armor_damage =
|shield_damage = 
|subsystem_damage = 
|homing_type = 
|homing_cone = 
|homing_min_time = 
|homing_turn = 
|shockwave = 
|hitpoints = 
|bomb = 
|child = 
|huge = 
|emp = 
|big_ship = 
|same_turret_cooldown = 
|no_dumbfire = 
|lockarm = 
|spawn =
|children =
}}

Entries in actual page do not have to follow the same order.