Template:Melee weapon: Difference between revisions

From The Cataclysm: Dark Days Ahead Wiki
Jump to navigation Jump to search
(updated template to use new weight template)
(Removed footer, but can still add the footer manually to the melee weapons pages)
 
(6 intermediate revisions by 3 users not shown)
Line 6: Line 6:
|headerstyle = color:#000000;
|headerstyle = color:#000000;


|title={{igs|{{{glyph|/}}}|{{{color|c_ltred}}}}} {{{name|{{PAGENAME}}}}}
|title={{igs|{{{glyph|/}}}|{{{color|c_ltred}}}}} {{{name|{{PAGENAME}}}}}<br/>{{#if:{{{id|}}}|{{Infobox/Itembrowser|id={{{id|}}}|name={{{name|}}} }} }}
   
   
|header1=General
|header1=General
|label1=[[Guides|Item Browser]]
|data1={{#if:{{{id|}}}|[http://cdda-trunk.chezzo.com/{{{id|}}} {{#if:{{{id|}}}|{{{name|Browse}}}|Browse}}]|}}


|label2=[[Materials]]
|label2=[[Materials]]
Line 17: Line 14:


|label3=[[Volume]]
|label3=[[Volume]]
|data3={{#expr:({{{volume|0}}}*0.250)}} liter
|data3={{Volume|{{{volume|0}}}}}


|label4=[[Weight]]
|label4=[[Weight]]
Line 30: Line 27:
|data6={{{cut|0}}}
|data6={{{cut|0}}}


|label7=To Hit
|label7=Pierce Dmg
|data7={{{tohit|<nowiki>+0</nowiki>}}}
|data7={{{pierce|}}}
 
|label8=To Hit
|data8={{{tohit|<nowiki>+0</nowiki>}}}
 
|label9=Techniques
|data9={{#if:{{{technique1|}}}|<abbr title="{{techniquetodescr|{{{technique1}}}}}">{{uc:{{{technique1}}}}}</abbr>|}}{{#if:{{{technique2|}}}|, <abbr title="{{techniquetodescr|{{{technique2}}}}}">{{uc:{{{technique2}}}}}</abbr>|}}{{#if:{{{technique3|}}}|, <abbr title="{{techniquetodescr|{{{technique3}}}}}">{{uc:{{{technique3}}}}}</abbr>|}}{{#if:{{{technique4|}}}|, <abbr title="{{techniquetodescr|{{{technique4}}}}}">{{uc:{{{technique4}}}}}</abbr>|}}{{#if:{{{technique5|}}}|, <abbr title="{{techniquetodescr|{{{technique5}}}}}">{{uc:{{{technique5}}}}}</abbr>|}}{{#if:{{{technique6|}}}|, <abbr title="{{techniquetodescr|{{{technique6}}}}}">{{uc:{{{technique6}}}}}</abbr>|}}


|label8=Techniques
|label10=Moves per attack
|data8={{#if:{{{technique1|}}}|<abbr title="{{techniquetodescr|{{{technique1}}}}}">{{uc:{{{technique1}}}}}</abbr>|}}{{#if:{{{technique2|}}}|, <abbr title="{{techniquetodescr|{{{technique2}}}}}">{{uc:{{{technique2}}}}}</abbr>|}}{{#if:{{{technique3|}}}|, <abbr title="{{techniquetodescr|{{{technique3}}}}}">{{uc:{{{technique3}}}}}</abbr>|}}{{#if:{{{technique4|}}}|, <abbr title="{{techniquetodescr|{{{technique4}}}}}">{{uc:{{{technique4}}}}}</abbr>|}}{{#if:{{{technique5|}}}|, <abbr title="{{techniquetodescr|{{{technique5}}}}}">{{uc:{{{technique5}}}}}</abbr>|}}{{#if:{{{technique6|}}}|, <abbr title="{{techniquetodescr|{{{technique6}}}}}">{{uc:{{{technique6}}}}}</abbr>|}}
|data10={{Movesperattack|{{{volume|0}}}|{{{weight|0}}}}}


|label9=Moves per attack<!-- See item.cpp attack_time for the calculation -->
|label11=Base damage / 100 move
|data9={{#expr:floor (65 + {{formatnum:{{{volume|0}}}|R}} * 4 + {{formatnum:{{{weight|0}}}|R}} / 60)}}
|data11={{#ifexpr:{{DP100moves|{{{volume|0}}}|{{{weight|0}}}|{{#expr:{{{bash|0}}}+{{{cut|0}}}+{{{pierce|0}}}}}}} != 0 |{{DP100moves|{{{volume|0}}}|{{{weight|0}}}|{{#expr:{{{bash|0}}}+{{{cut|0}}}+{{{pierce|0}}}}}}}|}}


|header10=Other
|header12=Other


|label10[[Qualities]]
|label12[[Qualities]]
|data10{{#if:{{{qlt1|}}}|<abbr title="{{qualities|{{{qlt1}}}}}">{{uc:{{{qlt1}}}}}</abbr>|}}
|data12{{#if:{{{qlt1|}}}|<abbr title="{{qualities|{{{qlt1}}}}}">{{uc:{{{qlt1}}}}}</abbr>|}}
{{#if:{{{qlt2|}}}|<abbr title="{{qualities|{{{qlt2}}}}}">{{uc:{{{qlt2}}}}}</abbr>|}}
{{#if:{{{qlt2|}}}|<abbr title="{{qualities|{{{qlt2}}}}}">{{uc:{{{qlt2}}}}}</abbr>|}}
{{#if:{{{qlt3|}}}|<abbr title="{{qualities|{{{qlt3}}}}}">{{uc:{{{qlt3}}}}}</abbr>|}}
{{#if:{{{qlt3|}}}|<abbr title="{{qualities|{{{qlt3}}}}}">{{uc:{{{qlt3}}}}}</abbr>|}}
Line 54: Line 57:
{{#if:{{{qlt11|}}}|<abbr title="{{qualities|{{{qlt11}}}}}">{{uc:{{{qlt11}}}}}</abbr>|}}
{{#if:{{{qlt11|}}}|<abbr title="{{qualities|{{{qlt11}}}}}">{{uc:{{{qlt11}}}}}</abbr>|}}


|label11=Price
|label13=Price
|data11={{#expr:{{{price|0}}}/100}} $
|data13={{#expr:{{{price|0}}}/100}} $


|label12=Flags
|label14=Flags
|data12={{#if:{{{flag1|}}}|<abbr title="{{meleeflags|{{{flag1}}}}}">{{uc:{{{flag1}}}}}</abbr>|}}{{#if:{{{flag2|}}}|, <abbr title="{{meleeflags|{{{flag2}}}}}">{{uc:{{{flag2}}}}}</abbr>|}}{{#if:{{{flag3|}}}|, <abbr title="{{meleeflags|{{{flag3}}}}}">{{uc:{{{flag3}}}}}</abbr>|}}{{#if:{{{flag4|}}}|, <abbr title="{{meleeflags|{{{flag4}}}}}">{{uc:{{{flag4}}}}}</abbr>|}}{{#if:{{{flag5|}}}|, <abbr title="{{meleeflags|{{{flag5}}}}}">{{uc:{{{flag5}}}}}</abbr>|}}{{#if:{{{flag6|}}}|, <abbr title="{{meleeflags|{{{flag6}}}}}">{{uc:{{{flag6}}}}}</abbr>|}}
|data14={{#if:{{{flag1|}}}|<abbr title="{{meleeflags|{{{flag1}}}}}">{{uc:{{{flag1}}}}}</abbr>|}}{{#if:{{{flag2|}}}|, <abbr title="{{meleeflags|{{{flag2}}}}}">{{uc:{{{flag2}}}}}</abbr>|}}{{#if:{{{flag3|}}}|, <abbr title="{{meleeflags|{{{flag3}}}}}">{{uc:{{{flag3}}}}}</abbr>|}}{{#if:{{{flag4|}}}|, <abbr title="{{meleeflags|{{{flag4}}}}}">{{uc:{{{flag4}}}}}</abbr>|}}{{#if:{{{flag5|}}}|, <abbr title="{{meleeflags|{{{flag5}}}}}">{{uc:{{{flag5}}}}}</abbr>|}}{{#if:{{{flag6|}}}|, <abbr title="{{meleeflags|{{{flag6}}}}}">{{uc:{{{flag6}}}}}</abbr>|}}


}}
}}
__NOTOC__
__NOTOC__
{{quote|{{{description|A melee weapon}}}}}


<noinclude>
<noinclude>
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 18:54, 13 July 2021

/ Melee weapon
General
Materials unknown
Volume 0 liters
Weight 0 lbs or 0 g
As a Melee Weapon
Bash Dmg 0
Cut Dmg 0
To Hit +0
Moves per attack 65
Other
Price 0 $