Template:Firearm: Difference between revisions

From The Cataclysm: Dark Days Ahead Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 31: Line 31:
|data6=<span style="color:{{#ifexpr: {{{damage|0}}} > 0 |green|{{#ifexpr: {{{damage|0}}} < 0 |darkred|lightgray}}}}">{{{damage|0}}}</span>
|data6=<span style="color:{{#ifexpr: {{{damage|0}}} > 0 |green|{{#ifexpr: {{{damage|0}}} < 0 |darkred|lightgray}}}}">{{{damage|0}}}</span>


|label7=<abbr title="Bonus to the maximum distance (in tiles) the fired round can travel.">Range Bonus</abbr>
|label7=<abbr title="Bonus damage applied when firing at armored targets.">AP Bonus</abbr>
|data7=<span style="color:{{#ifexpr: {{{range|0}}} > 0 |green|{{#ifexpr: {{{range|0}}} < 0 |darkred|lightgray}}}}">{{{range|0}}}</span>
|data7=<span style="color:{{#ifexpr: {{{pierce|0}}} > 0 |green|{{#ifexpr: {{{pierce|0}}} < 0 |darkred|lightgray}}}}">{{{pierce|0}}}</span>


|label8=[[Dispersion|Dispersion Bonus]]
|label8=<abbr title="Bonus to the maximum distance (in tiles) the fired round can travel.">Range Bonus</abbr>
|data8=<span style="color:{{#ifexpr: {{{dispersion|0}}} > 0 or {{{accuracy|0}}} > 0 |darkred|{{#ifexpr: {{{recoil|0}}} < 0 or {{{accuracy|0}}} < 0|green|lightgray}}}}">{{{dispersion|}}}{{{accuracy|}}}</span>
|data8=<span style="color:{{#ifexpr: {{{range|0}}} > 0 |green|{{#ifexpr: {{{range|0}}} < 0 |darkred|lightgray}}}}">{{{range|0}}}</span>


|label9=[[Recoil|Recoil Bonus]]
|label9=[[Dispersion|Dispersion Bonus]]
|data9=<span style="color:{{#ifexpr: {{{recoil|0}}} > 0 |darkred|{{#ifexpr: {{{recoil|0}}} < 0 |green|lightgray}}}}">{{{recoil|0}}}</span>
|data9=<span style="color:{{#ifexpr: {{{dispersion|0}}} > 0 or {{{accuracy|0}}} > 0 |darkred|{{#ifexpr: {{{recoil|0}}} < 0 or {{{accuracy|0}}} < 0|green|lightgray}}}}">{{{dispersion|}}}{{{accuracy|}}}</span>


|label10=[[Ammunition]]
|label10=[[Recoil|Recoil Bonus]]
|data10={{ATtoname1|{{{ammotype|none}}}}}
|data10=<span style="color:{{#ifexpr: {{{recoil|0}}} > 0 |darkred|{{#ifexpr: {{{recoil|0}}} < 0 |green|lightgray}}}}">{{{recoil|0}}}</span>


|label11=Clip size
|label11=[[Ammunition]]
|data11={{{clip|1}}}
|data11={{ATtoname1|{{{ammotype|none}}}}}


|label12=Burst
|label12=Clip size
|data12={{#if: {{{burst|}}}|{{#ifexpr: {{{burst|}}}>0|{{{burst|}}} rounds}}}}
|data12={{{clip|0}}}


|label13=Reload time
|label13=Burst
|data13={{{reloadtime|}}} {{#if: {{{reloadtime|}}}|turns}}
|data13={{#if: {{{burst|}}}|{{#ifexpr: {{{burst|}}}>0|{{{burst|}}} rounds}}}}


|label14=Reload time
|data14={{{reloadtime|}}} {{#if: {{{reloadtime|}}}|turns}}


|header14=Other


|label14=Price
|header15=Other
|data14={{#expr:{{{price|0}}}/10}} $


|label15=Flags
|label15=Price
|data15={{#if:{{{flag1|}}}|<abbr title="{{firearmflags|{{{flag1}}}}}">{{uc:{{{flag1}}}}}</abbr>|}}{{#if:{{{flag2|}}}|, <abbr title="{{firearmflags|{{{flag2}}}}}">{{uc:{{{flag2}}}}}</abbr>|}}{{#if:{{{flag3|}}}|, <abbr title="{{firearmflags|{{{flag3}}}}}">{{uc:{{{flag3}}}}}</abbr>|}}{{#if:{{{flag4|}}}|, <abbr title="{{firearmflags|{{{flag4}}}}}">{{uc:{{{flag4}}}}}</abbr>|}}{{#if:{{{flag5|}}}|, <abbr title="{{firearmflags|{{{flag5}}}}}">{{uc:{{{flag5}}}}}</abbr>|}}{{#if:{{{flag6|}}}|, <abbr title="{{firearmflags|{{{flag6}}}}}">{{uc:{{{flag6}}}}}</abbr>|}}
|data15={{#expr:{{{price|0}}}/10}} $


|label16=Ammo Effects
|label16=Flags
|data16={{#if:{{{ammo_effect1|}}}|<abbr title="{{ammoeffects|{{{ammo_effect1}}}}}">{{uc:{{{ammo_effect1}}}}}</abbr>|}}{{#if:{{{ammo_effect2|}}}|, <abbr title="{{ammoeffects|{{{ammo_effect2}}}}}">{{uc:{{{ammo_effect2}}}}}</abbr>|}}{{#if:{{{ammo_effect3|}}}|, <abbr title="{{ammoeffects|{{{ammo_effect3}}}}}">{{uc:{{{ammo_effect3}}}}}</abbr>|}}{{#if:{{{ammo_effect4|}}}|, <abbr title="{{ammoeffects|{{{ammo_effect4}}}}}">{{uc:{{{ammo_effect4}}}}}</abbr>|}}{{#if:{{{ammo_effect5|}}}|, <abbr title="{{ammoeffects|{{{ammo_effect5}}}}}">{{uc:{{{ammo_effect5}}}}}</abbr>|}}{{#if:{{{ammo_effect6|}}}|, <abbr title="{{ammoeffects|{{{ammo_effect6}}}}}">{{uc:{{{ammo_effect6}}}}}</abbr>|}}
|data16={{#if:{{{flag1|}}}|<abbr title="{{firearmflags|{{{flag1}}}}}">{{uc:{{{flag1}}}}}</abbr>|}}{{#if:{{{flag2|}}}|, <abbr title="{{firearmflags|{{{flag2}}}}}">{{uc:{{{flag2}}}}}</abbr>|}}{{#if:{{{flag3|}}}|, <abbr title="{{firearmflags|{{{flag3}}}}}">{{uc:{{{flag3}}}}}</abbr>|}}{{#if:{{{flag4|}}}|, <abbr title="{{firearmflags|{{{flag4}}}}}">{{uc:{{{flag4}}}}}</abbr>|}}{{#if:{{{flag5|}}}|, <abbr title="{{firearmflags|{{{flag5}}}}}">{{uc:{{{flag5}}}}}</abbr>|}}{{#if:{{{flag6|}}}|, <abbr title="{{firearmflags|{{{flag6}}}}}">{{uc:{{{flag6}}}}}</abbr>|}}


|header17=As a Melee Weapon
|label17=Ammo Effects
|data17={{#if:{{{ammo_effect1|}}}|<abbr title="{{ammoeffects|{{{ammo_effect1}}}}}">{{uc:{{{ammo_effect1}}}}}</abbr>|}}{{#if:{{{ammo_effect2|}}}|, <abbr title="{{ammoeffects|{{{ammo_effect2}}}}}">{{uc:{{{ammo_effect2}}}}}</abbr>|}}{{#if:{{{ammo_effect3|}}}|, <abbr title="{{ammoeffects|{{{ammo_effect3}}}}}">{{uc:{{{ammo_effect3}}}}}</abbr>|}}{{#if:{{{ammo_effect4|}}}|, <abbr title="{{ammoeffects|{{{ammo_effect4}}}}}">{{uc:{{{ammo_effect4}}}}}</abbr>|}}{{#if:{{{ammo_effect5|}}}|, <abbr title="{{ammoeffects|{{{ammo_effect5}}}}}">{{uc:{{{ammo_effect5}}}}}</abbr>|}}{{#if:{{{ammo_effect6|}}}|, <abbr title="{{ammoeffects|{{{ammo_effect6}}}}}">{{uc:{{{ammo_effect6}}}}}</abbr>|}}


|label17=Bash Dmg
|header18=As a Melee Weapon
|data17=<span style="color:{{#ifexpr: {{{bash|0}}} > 0 |green|{{#ifexpr: {{{bash|0}}} < 0 |darkred|lightgray}}}}">{{{bash|0}}}</span>


|label18=Cut Dmg
|label18=Bash Dmg
|data18=<span style="color:{{#ifexpr: {{{cut|0}}} > 0 |green|{{#ifexpr: {{{cut|0}}} < 0 |darkred|lightgray}}}}">{{{cut|0}}}</span>
|data18=<span style="color:{{#ifexpr: {{{bash|0}}} > 0 |green|{{#ifexpr: {{{bash|0}}} < 0 |darkred|lightgray}}}}">{{{bash|0}}}</span>


|label19=To Hit
|label19=Cut Dmg
|data19=<span style="color:{{#ifexpr: {{{tohit|0}}} > 0 |green|{{#ifexpr: {{{tohit|0}}} < 0 |darkred|lightgray}}}}">{{{tohit|<nowiki>+0</nowiki>}}}</span>
|data19=<span style="color:{{#ifexpr: {{{cut|0}}} > 0 |green|{{#ifexpr: {{{cut|0}}} < 0 |darkred|lightgray}}}}">{{{cut|0}}}</span>
 
|label20=To Hit
|data20=<span style="color:{{#ifexpr: {{{tohit|0}}} > 0 |green|{{#ifexpr: {{{tohit|0}}} < 0 |darkred|lightgray}}}}">{{{tohit|<nowiki>+0</nowiki>}}}</span>


}}
}}

Revision as of 08:23, 16 October 2013

/ Firearm
General
Materials unknown
Volume 0
Weight 0 gr
As a Firearm
Damage Bonus 0
AP Bonus 0
Range Bonus 0
Dispersion Bonus
Recoil Bonus 0
Ammunition none
Clip size 0
Other
Price 0 $
As a Melee Weapon
Bash Dmg 0
Cut Dmg 0
To Hit +0
 A weapon