Difference between revisions of "Template:Secondary weapon"

From FreeSpace Wiki
Jump to: navigation, search
m (Updated documentation.)
(Attempted to add provisions for spawn and child(ren).)
Line 78: 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 84: Line 96:
  
 
'''Additional properties'''
 
'''Additional properties'''
*Weapon is a missile weapon [[Weapons.tbl|(Secondary weapon)]]{{#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: {{{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}}<noinclude>
+
*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>
  
 
== Usage ==
 
== Usage ==
Line 104: Line 116:
 
|hitpoints =  
 
|hitpoints =  
 
|bomb =  
 
|bomb =  
 +
|child =
 
|huge =  
 
|huge =  
 
|emp =  
 
|emp =  
Line 109: Line 122:
 
|same_turret_cooldown =  
 
|same_turret_cooldown =  
 
|no_dumbfire =  
 
|no_dumbfire =  
 +
|spawn =
 +
|children =
 
}}
 
}}
 
</pre>
 
</pre>

Revision as of 03:26, 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.