Difference between revisions of "Template:Weapon"
From AliensRL Wiki
Game Hunter (Talk | contribs) (trying similar template from DRL wiki) |
Game Hunter (Talk | contribs) (added shots fired) |
||
(2 intermediate revisions by one user not shown) | |||
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_mag = |
| weapon_get = | | weapon_get = | ||
| weapon_looks = | | weapon_looks = | ||
− | |||
| 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_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_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_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_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="background: #333;" | ||
+ | |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"|{{{ | + | |style="padding-left: 1ex"|{{{weapon_acc|unknown}}} |
− | |- | + | |- style="background: #333;" |
|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| | + | |style="padding-left: 1ex"|{{{weapon_dmg|unknown}}} |
+ | |- | ||
+ | |style="text-align: right; width: 12em; vertical-align:top"|'''Shots fired:''' | ||
+ | |style="padding-left: 1ex"|{{{weapon_shots|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| | + | |style="padding-left: 1ex"|{{{weapon_ftime|unknown}}} |
− | |- | + | |- |
|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 | + | |style="padding-left: 1ex"|{{{weapon_rtime|unknown}}} |
− | + | ||
− | + | ||
− | + | ||
|- style="background: #333;" | |- style="background: #333;" | ||
+ | |style="text-align: right; width: 12em; vertical-align:top"|'''Clip Size:''' | ||
+ | |style="padding-left: 1ex"|{{{weapon_mag|unknown}}} | ||
+ | |- | ||
|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|anywhere}}} | |style="padding-left: 1ex"|{{{weapon_get|anywhere}}} | ||
Line 88: | Line 94: | ||
|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="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|}}}| | + | |- {{#if:{{{weapon_source|}}}| |
{{!}}style="text-align: right; width: 12em; vertical-align:top"{{!}}'''Source:''' | {{!}}style="text-align: right; width: 12em; vertical-align:top"{{!}}'''Source:''' | ||
− | {{!}}style="padding-left: 1ex"{{!}}{{{ | + | {{!}}style="padding-left: 1ex"{{!}}{{{weapon_src|unknown}}} |
{{!}}-}} | {{!}}-}} | ||
|}[[Category:Ranged weapons]]</includeonly> | |}[[Category:Ranged weapons]]</includeonly> |
Latest revision as of 16:13, 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.)