Template:Ranged weapon: Difference between revisions

From Jupiter Hell Classic Wiki
Jump to: navigation, search
(Created page with "<noinclude> == Usage == <pre> {{Ranged weapon | weapon_name = | weapon_dmg = | weapon_avgdmg = | weapon_dmgtype = | weapon_accuracy = | weapon_ftime = | weapon_rtime = | weapon_clip = | weapon_ammo = | weapon_afire = | weapon_areload = | weapon_get = | weapon_quote = | weapon_looks = | weapon_description = | weapon_other = | weapon_source = }}...")
 
No edit summary
 
Line 30: Line 30:
| weapon_avgdmg || Average damage of the weapon. The average damage for one shot is calculated by <code>X*(1+Y)/2</code>. Default is "unknown".
| weapon_avgdmg || Average damage of the weapon. The average damage for one shot is calculated by <code>X*(1+Y)/2</code>. Default is "unknown".
|-
|-
| weapon_dmgtype || Damage type: [[Physical Damage]], [[Shrapnel Damage]], [[Plasma Damage]], or [[Fire Damage]]. Default is "unknown".
| weapon_dmgtype || Damage type: [[Bullet]], [[Shred]], [[Plasma]], [[Fire]]. [[Acid]], [[Cold]], [[Poison]], or [[Heavy]]
|-
|-
| weapon_accuracy || Accuracy of the weapon. Default is "unknown".
| weapon_accuracy || Accuracy of the weapon. Default is "unknown".

Latest revision as of 11:57, 13 August 2025

Usage

 {{Ranged weapon
  | weapon_name        =
  | weapon_dmg         =
  | weapon_avgdmg      =
  | weapon_dmgtype     =
  | weapon_accuracy    =
  | weapon_ftime       =
  | weapon_rtime       =
  | weapon_clip        =
  | weapon_ammo        =
  | weapon_afire       =
  | weapon_areload     =
  | weapon_get         =
  | weapon_quote       =
  | weapon_looks       =
  | weapon_description =
  | weapon_other       =
  | weapon_source      =
 }}

Use this template on pages describing a ranged weapon. Pages with this template are automatically added to Category:Ranged weapons. The parameters are as follows:

weapon_name Name of the weapon as it appears in the game. This parameter is required.
weapon_dmg The damage code of the weapon. It has the form XdY, or (XdY)xZ for rapid-fire weapons. Also write down the damage range. Default is "unknown".
weapon_avgdmg Average damage of the weapon. The average damage for one shot is calculated by X*(1+Y)/2. Default is "unknown".
weapon_dmgtype Damage type: Bullet, Shred, Plasma, Fire. Acid, Cold, Poison, or Heavy
weapon_accuracy Accuracy of the weapon. Default is "unknown".
weapon_ftime Base fire time of the weapon. Default is "unknown".
weapon_rtime Base reload time of the weapon. Default is "unknown".
weapon_clip Weapon clip size. Default is "unknown".
weapon_ammo Ammunition type: 10mm ammo, Shotgun shells, Rockets, or Power cells. Default is "unknown".
weapon_afire Alternate fire, if any. Default is "unknown".
weapon_areload Alternate reload, if any. Default is "unknown".
weapon_get How to obtain the weapon. Default is "random drop".
weapon_quote Quote on pickup. Default is "unknown".
weapon_looks Appearance (ascii character) of the weapon. You can use <font color="some_color"></font> tags to obtain the correct colour. Default is "unknown".
weapon_description Description of the weapon as given in the game. Default is "unknown".
weapon_other Further comments or special remarks. Default is "none".
weapon_source Source of the weapon: some movie, video game, or even real life, etc. Default is "unknown".

Example

 {{Ranged weapon
  | weapon_name        = ACME flame-thrower
  | weapon_dmg         = 9d12/9—108
  | weapon_avgdmg      = 58.5
  | weapon_dmgtype     = [[Fire Damage]]
  | weapon_accuracy    = +0
  | weapon_ftime       = 1.5 seconds
  | weapon_rtime       = 2.5 seconds
  | weapon_clip        = 10
  | weapon_ammo        = [[Rockets]]
  | weapon_afire       = [[BBQ]]
  | weapon_areload     = Reloads with marshmallows for sweet surprises
  | weapon_get         = Mail order from ACME
  | weapon_quote       = ''Need a light?''
  | weapon_looks       = <font color="orange">}</font>
  | weapon_description = Fresh from ACME laboratories for your immolative needs.
  | weapon_source      = [http://en.wikipedia.org/wiki/Looney_Tunes Looney Tunes]
 }}

(The above example is, of course, totally fictitious.)