Difference between revisions of "Template:Ranged weapon"

From DRL Wiki

Jump to: navigation, search
(Have to revert the addition of the new Shotgun parameters, even when they're not filled in they're showing up on the pages for non-Shotgun weapons, so either this template needs to be overhauled or a new template for Shotguns needs to be made.)
 
Line 8: Line 8:
 
   | weapon_dmgtype    =
 
   | weapon_dmgtype    =
 
   | weapon_accuracy    =
 
   | weapon_accuracy    =
  | shotgun_range      =
 
  | shotgun_spread    =
 
  | shotgun_falloff    =
 
 
   | weapon_ftime      =
 
   | weapon_ftime      =
 
   | weapon_rtime      =
 
   | weapon_rtime      =
Line 99: Line 96:
 
|- style="background: #333;"
 
|- style="background: #333;"
 
|style="text-align: right; width: 12em; vertical-align:top"|'''[[Accuracy]]:'''
 
|style="text-align: right; width: 12em; vertical-align:top"|'''[[Accuracy]]:'''
|style="padding-left: 1ex"|{{{weapon_accuracy}}}
+
|style="padding-left: 1ex"|{{{weapon_accuracy|unknown}}}
 
|-
 
|-
|style="text-align: right; width: 12em; vertical-align:top"|'''Max range:'''
 
|style="padding-left: 1ex"|{{{shotgun_range|unknown}}}
 
|- style="background: #333;"
 
|style="text-align: right; width: 12em; vertical-align:top"|'''Spread size:'''
 
|style="padding-left: 1ex"|{{{shotgun_spread|unknown}}}
 
|-
 
|style="text-align: right; width: 12em; vertical-align:top"|'''Falloff rate:'''
 
|style="padding-left: 1ex"|{{{shotgun_falloff|unknown}}}
 
|- style="background: #333;"
 
 
|style="text-align: right; width: 12em; vertical-align:top"|'''Base Fire Time:'''
 
|style="text-align: right; width: 12em; vertical-align:top"|'''Base Fire Time:'''
 
|style="padding-left: 1ex"|{{{weapon_ftime|unknown}}}
 
|style="padding-left: 1ex"|{{{weapon_ftime|unknown}}}
|-
+
|- style="background: #333;"
 
|style="text-align: right; width: 12em; vertical-align:top"|'''Base Reload Time:'''
 
|style="text-align: right; width: 12em; vertical-align:top"|'''Base Reload Time:'''
 
|style="padding-left: 1ex"|{{{weapon_rtime|unknown}}}
 
|style="padding-left: 1ex"|{{{weapon_rtime|unknown}}}
|- style="background: #333;"
+
|-
 
|style="text-align: right; width: 12em; vertical-align:top"|'''Clip Size:'''
 
|style="text-align: right; width: 12em; vertical-align:top"|'''Clip Size:'''
 
|style="padding-left: 1ex"|{{{weapon_clip|unknown}}}
 
|style="padding-left: 1ex"|{{{weapon_clip|unknown}}}
|-
+
|- style="background: #333;"
 
|style="text-align: right; width: 12em; vertical-align:top"|'''Ammunition:'''
 
|style="text-align: right; width: 12em; vertical-align:top"|'''Ammunition:'''
 
|style="padding-left: 1ex"|{{{weapon_ammo|unknown}}}
 
|style="padding-left: 1ex"|{{{weapon_ammo|unknown}}}
|- style="background: #333;"
+
|-
 
|style="text-align: right; width: 12em; vertical-align:top"|'''Alternate Fire:'''
 
|style="text-align: right; width: 12em; vertical-align:top"|'''Alternate Fire:'''
 
|style="padding-left: 1ex"|{{{weapon_afire|unknown}}}
 
|style="padding-left: 1ex"|{{{weapon_afire|unknown}}}
|-
+
|- style="background: #333;"
 
|style="text-align: right; width: 12em; vertical-align:top"|'''Alternate Reload:'''
 
|style="text-align: right; width: 12em; vertical-align:top"|'''Alternate Reload:'''
 
|style="padding-left: 1ex"|{{{weapon_areload|unknown}}}
 
|style="padding-left: 1ex"|{{{weapon_areload|unknown}}}
|- style="background: #333;"
+
|-
 
|style="text-align: right; width: 12em; vertical-align:top"|'''How to get it:'''
 
|style="text-align: right; width: 12em; vertical-align:top"|'''How to get it:'''
 
|style="padding-left: 1ex"|{{{weapon_get|random drop}}}
 
|style="padding-left: 1ex"|{{{weapon_get|random drop}}}
|-
+
|- style="background: #333;"
 
|style="text-align: right; width: 12em; vertical-align:top"|'''Quote on pickup:'''
 
|style="text-align: right; width: 12em; vertical-align:top"|'''Quote on pickup:'''
 
|style="padding-left: 1ex"|{{{weapon_quote|unknown}}}
 
|style="padding-left: 1ex"|{{{weapon_quote|unknown}}}
|- style="background: #333;"
+
|-
 
|style="text-align: right; width: 12em; vertical-align:top"|'''Appearance:'''
 
|style="text-align: right; width: 12em; vertical-align:top"|'''Appearance:'''
 
|style="padding-left: 1ex"|{{{weapon_looks|unknown}}}
 
|style="padding-left: 1ex"|{{{weapon_looks|unknown}}}
|-
+
|- style="background: #333;"
 
|style="text-align: right; width: 12em; vertical-align:top"|'''Ingame Description:'''
 
|style="text-align: right; width: 12em; vertical-align:top"|'''Ingame Description:'''
 
|style="padding-left: 1ex"|{{{weapon_description|unknown}}}
 
|style="padding-left: 1ex"|{{{weapon_description|unknown}}}
|- style="background: #333;"
+
|-
 
|style="text-align: right; width: 12em; vertical-align:top"|'''Comments/special:'''
 
|style="text-align: right; width: 12em; vertical-align:top"|'''Comments/special:'''
 
|style="padding-left: 1ex"|{{{weapon_other|none}}}
 
|style="padding-left: 1ex"|{{{weapon_other|none}}}

Latest revision as of 04:34, 6 June 2026

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: Physical Damage, Shrapnel Damage, Plasma Damage, or Fire Damage. Default is "unknown".
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.)

Personal tools