Template:Firearm: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(added id value to template.) |
||
Line 10: | Line 10: | ||
|header1=General | |header1=General | ||
|label1=[[ | |label1=[[Guides|Item Browser]] | ||
|data1={{ | |data1={{#if:{{{id|}}}|[http://cdda-trunk.chezzo.com/{{{id|}}} {{#if:{{{id|}}}|{{{name|Browse}}}|Browse}}]|}} | ||
|label2=[[ | |label2=[[Materials]] | ||
|data2={{{ | |data2={{lc:{{mtn|{{{mat1|null}}}}}}} {{#if: {{{mat2|}}} | {{#switch:{{lc:{{{mat2}}}}}|mnull=|null=|#default=/ {{lc:{{mtn|{{{mat2}}}}}}}}} }} | ||
|label3=[[ | |label3=[[Volume]] | ||
|data3={{ | |data3={{{volume|0}}} | ||
|label4= | |label4=[[Weight]] | ||
|data4=< | |data4={{#ifexpr: ({{{weight|0}}}*0.001) < 1 | {{{weight|0}}} gr | {{#number_format:{{#expr:{{{weight|0}}}*0.001}}|2}} kg }} | ||
|label5=Durability | |||
|data5=<!--{{{durability|0}}}--> | |||
| | |header6=As a Firearm | ||
| | |label6=Skill | ||
| | |data6={{SKtoname1|{{{skill|}}}}} | ||
| | |label7=<abbr title="Cutting damage bonus">Damage Bonus</abbr> | ||
| | |data7=<span style="color:{{#ifexpr: {{{damage|0}}} > 0 |green|{{#ifexpr: {{{damage|0}}} < 0 |darkred|lightgray}}}}">{{#ifexpr:{{{damage|0}}}>0|+}}{{{damage|0}}}</span> | ||
| | |label8=<abbr title="Armor piercing bonus">AP Bonus</abbr> | ||
| | |data8=<span style="color:{{#ifexpr: {{{pierce|0}}} > 0 |green|{{#ifexpr: {{{pierce|0}}} < 0 |darkred|lightgray}}}}">{{#ifexpr:{{{pierce|0}}}>0|+}}{{{pierce|0}}}</span> | ||
| | |label9=<abbr title="Bonus to the maximum distance (in tiles) the fired round can travel.">Range Bonus</abbr> | ||
| | |data9=<span style="color:{{#ifexpr: {{{range|0}}} > 0 |green|{{#ifexpr: {{{range|0}}} < 0 |darkred|lightgray}}}}">{{#ifexpr:{{{range|0}}}>0|+}}{{{range|0}}}</span> | ||
| | |label10=[[Dispersion|Dispersion Bonus]] | ||
| | |data10=<span style="color:{{#ifexpr: {{{dispersion|0}}} > 0 or {{{accuracy|0}}} > 0 |darkred|{{#ifexpr: {{{recoil|0}}} < 0 or {{{accuracy|0}}} < 0|green|lightgray}}}}">{{#ifexpr:{{{dispersion|0}}}>0 or {{{accuracy|0}}}>0|+}}{{{dispersion|}}}{{{accuracy|}}}</span> | ||
| | |label11=[[Recoil|Recoil Bonus]] | ||
| | |data11=<span style="color:{{#ifexpr: {{{recoil|0}}} > 0 |darkred|{{#ifexpr: {{{recoil|0}}} < 0 |green|lightgray}}}}">{{#ifexpr:{{{recoil|0}}}>0|+}}{{{recoil|0}}}</span> | ||
| | |label12=Ammunition | ||
| | |data12={{ATtoname1|{{{ammotype|none}}}}} | ||
| | |label13=Clip size | ||
| | |data13={{{clip|0}}} rounds | ||
| | |label14=Burst | ||
| | |data14={{#if: {{{burst|}}}|{{#ifexpr: {{{burst|}}}>0|{{{burst|}}} rounds}}}} | ||
| | |label15=Reload time | ||
| | |data15={{{reloadtime|}}} {{#if: {{{reloadtime|}}}|turns}} | ||
|header16=Other | |||
| | |label16=Price | ||
|data16={{#expr:{{{price|0}}}/10}} $ | |||
| | |label17=Flags | ||
| | |data17={{#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>|}} | ||
| | |label18=Ammo Effects | ||
| | |data18={{#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>|}} | ||
| | |header19=As a Melee Weapon | ||
| | |label19=Bash Dmg | ||
|data19=<span style="color:{{#ifexpr: {{{bash|0}}} > 0 |green|{{#ifexpr: {{{bash|0}}} < 0 |darkred|lightgray}}}}">{{{bash|0}}}</span> | |||
| | |label20=Cut Dmg | ||
| | |data20=<span style="color:{{#ifexpr: {{{cut|0}}} > 0 |green|{{#ifexpr: {{{cut|0}}} < 0 |darkred|lightgray}}}}">{{{cut|0}}}</span> | ||
| | |label21=To Hit | ||
|data21=<span style="color:{{#ifexpr: {{{tohit|0}}} > 0 |green|{{#ifexpr: {{{tohit|0}}} < 0 |darkred|lightgray}}}}">{{{tohit|<nowiki>+0</nowiki>}}}</span> | |||
| | |||
}} | }} |
Revision as of 08:34, 17 June 2015
/ 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 rounds |
Other | |
Price | 0 $ |
As a Melee Weapon | |
Bash Dmg | 0 |
Cut Dmg | 0 |
To Hit | +0 |
“ A weapon ”