Difference between revisions of "Template:Weapon"

From AliensRL Wiki

(trying similar template from DRL wiki)
 
(some fixes to accommodate ARL-specific properties)
Line 5: Line 5:
 
   | weapon_name  =
 
   | weapon_name  =
 
   | weapon_ammo  =
 
   | weapon_ammo  =
 +
  | weapon_utype =
 
   | weapon_acc  =
 
   | weapon_acc  =
 
   | weapon_dmg  =
 
   | weapon_dmg  =
 +
  | weapon_shots =
 
   | weapon_ftime =
 
   | weapon_ftime =
 
   | weapon_rtime =
 
   | weapon_rtime =
   | weapon_clip  =
+
   | weapon_mag  =
 
   | weapon_get  =
 
   | weapon_get  =
 
   | weapon_looks =
 
   | weapon_looks =
  | weapon_desc  =
 
 
   | weapon_other =
 
   | weapon_other =
 
   | weapon_src  =
 
   | weapon_src  =
Line 23: Line 24:
 
| weapon_ammo || Ammunition type of the weapon. This also determines the weapon's armor penetration and maximum damage (minus modifiers). Default is "unknown".
 
| weapon_ammo || Ammunition type of the weapon. This also determines the weapon's armor penetration and maximum damage (minus modifiers). Default is "unknown".
 
|-
 
|-
| weapon_acc || Accuracy modifer of the weapon. Default is +0.
+
| weapon_utype|| Weapon slot. Possible choices are "sidearm", "primary", and "heavy". Default is "unknown".
 
|-
 
|-
| weapon_dmg || Damage modifier of the weapon. Damage itself is calculated through a particular shot's accuracy. Default is +0.
+
| weapon_acc || Accuracy modifer of the weapon. Default is "unknown".
 
|-
 
|-
| weapon_ftime || Base fire time of the weapon. Default is 1.0s, or 1000 time units.
+
| weapon_dmg || Damage modifier of the weapon. Damage itself is calculated through a particular shot's accuracy. Default is "unknown".
 
|-
 
|-
| weapon_rtime || Base reload time of the weapon. Default is 1.0s, or 1000 time units.
+
| 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_clip || Weapon clip size. Default is "unknown".
Line 36: Line 39:
 
|-
 
|-
 
| weapon_looks || Appearance (ascii character) of the weapon. You can use <nowiki><font color="some_color"></font></nowiki> tags to obtain the correct colour. Default is "unknown".
 
| weapon_looks || Appearance (ascii character) of the weapon. You can use <nowiki><font color="some_color"></font></nowiki> tags to obtain the correct colour. Default is "unknown".
|-
 
| weapon_desc || Description of the weapon as given in the game. Default is "unknown".
 
 
|-
 
|-
 
| weapon_other || Further comments or special remarks. Default is "none".
 
| weapon_other || Further comments or special remarks. Default is "none".
Line 57: Line 58:
 
   | weapon_get  = Mail order from ACME
 
   | weapon_get  = Mail order from ACME
 
   | weapon_looks = <font color="orange">}</font>
 
   | weapon_looks = <font color="orange">}</font>
  | weapon_desc  = Fresh from ACME laboratories for your immolative needs.
 
 
   | weapon_src  = [http://en.wikipedia.org/wiki/Looney_Tunes Looney Tunes]
 
   | weapon_src  = [http://en.wikipedia.org/wiki/Looney_Tunes Looney Tunes]
 
  }}</pre>
 
  }}</pre>
Line 67: Line 67:
 
|style="text-align: right; width: 12em; vertical-align:top"|'''Ammunition Used:'''
 
|style="text-align: right; width: 12em; vertical-align:top"|'''Ammunition Used:'''
 
|style="padding-left: 1ex"|{{{weapon_ammo|unknown}}}
 
|style="padding-left: 1ex"|{{{weapon_ammo|unknown}}}
 +
|-
 +
|style="text-align: right; width: 12em; vertical-align:top"|'''Weapon Slot:'''
 +
|style="padding-left: 1ex"|{{{weapon_utype|unknown}}}
 
|-
 
|-
 
|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|+0}}}
+
|style="padding-left: 1ex"|{{{weapon_acc|unknown}}}
 
|-
 
|-
 
|style="text-align: right; width: 12em; vertical-align:top"|'''Damage Modifier:'''
 
|style="text-align: right; width: 12em; vertical-align:top"|'''Damage Modifier:'''
|style="padding-left: 1ex"|{{{weapon_dmg|+0}}}
+
|style="padding-left: 1ex"|{{{weapon_dmg|unknown}}}
 
|- style="background: #333;"
 
|- 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|1.0 seconds}}}
+
|style="padding-left: 1ex"|{{{weapon_ftime|unknown}}}
 
|- style="background: #333;"
 
|- 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|1.0 seconds}}}
+
|style="padding-left: 1ex"|{{{weapon_rtime|unknown}}}
 
|-
 
|-
 
|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_mag|unknown}}}
 
|- style="background: #333;"
 
|- 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:'''
Line 89: Line 92:
 
|style="padding-left: 1ex"|{{{weapon_looks|unknown}}}
 
|style="padding-left: 1ex"|{{{weapon_looks|unknown}}}
 
|- style="background: #333;"
 
|- style="background: #333;"
|style="text-align: right; width: 12em; vertical-align:top"|'''Ingame Description:'''
 
|style="padding-left: 1ex"|{{{weapon_description|unknown}}}
 
|-
 
 
|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}}}
 
|- {{#if:{{{weapon_source|}}}| style="background: #333;"
 
|- {{#if:{{{weapon_source|}}}| style="background: #333;"
 
{{!}}style="text-align: right; width: 12em; vertical-align:top"{{!}}'''Source:'''
 
{{!}}style="text-align: right; width: 12em; vertical-align:top"{{!}}'''Source:'''
{{!}}style="padding-left: 1ex"{{!}}{{{weapon_source|unknown}}}
+
{{!}}style="padding-left: 1ex"{{!}}{{{weapon_src|unknown}}}
 
{{!}}-}}
 
{{!}}-}}
 
|}[[Category:Ranged weapons]]</includeonly>
 
|}[[Category:Ranged weapons]]</includeonly>

Revision as of 15:37, 5 October 2012

Usage

 {{Weapon
  | weapon_name  =
  | weapon_ammo  =
  | weapon_utype =
  | weapon_acc   =
  | weapon_dmg   =
  | weapon_shots =
  | weapon_ftime =
  | weapon_rtime =
  | weapon_mag   =
  | weapon_get   =
  | weapon_looks =
  | weapon_other =
  | weapon_src   =
 }}

Use this template on pages describing a ranged weapon. The parameters are as follows:

weapon_name Name of the weapon as it appears in the game. This parameter is required.
weapon_ammo Ammunition type of the weapon. This also determines the weapon's armor penetration and maximum damage (minus modifiers). Default is "unknown".
weapon_utype Weapon slot. Possible choices are "sidearm", "primary", and "heavy". Default is "unknown".
weapon_acc Accuracy modifer of the weapon. Default is "unknown".
weapon_dmg Damage modifier of the weapon. Damage itself is calculated through a particular shot's accuracy. 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_get Where to obtain the weapon. Default is "anywhere".
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_other Further comments or special remarks. Default is "none".
weapon_src 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_ammo  = [[Rockets]]
  | weapon_acc   = -2
  | weapon_dmg   = +2
  | weapon_ftime = 1.5 seconds
  | weapon_rtime = 2.5 seconds
  | weapon_clip  = 10
  | weapon_get   = Mail order from ACME
  | weapon_looks = <font color="orange">}</font>
  | weapon_src   = [http://en.wikipedia.org/wiki/Looney_Tunes Looney Tunes]
 }}

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


Personal tools