Difference between revisions of "Template:Secondary weapon"

From FreeSpace Wiki
Jump to: navigation, search
m (hmm.. trying to get rid of annoying newlines)
m (Corrected the non-linking of brackets in the note regarding spawn.)
(10 intermediate revisions by 2 users not shown)
Line 66: Line 66:
 
{{!}} style="padding-left: 20px" {{!}} Turn rate (360 degress)
 
{{!}} style="padding-left: 20px" {{!}} Turn rate (360 degress)
 
{{!}} style="padding-left: 20px" {{!}} {{{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: {{{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 =
 +
|spawn =
 +
|children =
 
}}
 
}}
 
</pre>
 
</pre>

Revision as of 08:39, 18 July 2020

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 = 
|spawn =
|children =
}}

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