Template:Melee weapon: Difference between revisions
Jump to navigation
Jump to search
m (test adding qualities) |
(Removed footer, but can still add the footer manually to the melee weapons pages) |
||
(16 intermediate revisions by 5 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 | ||
| | |label2=[[Materials]] | ||
| | |data2={{lc:{{mtn|{{{mat1|null}}}}}}} {{#if: {{{mat2|}}} | {{#switch:{{lc:{{{mat2}}}}}|mnull=|null=|#default=/ {{lc:{{mtn|{{{mat2}}}}}}}}} }} | ||
| | |label3=[[Volume]] | ||
| | |data3={{Volume|{{{volume|0}}}}} | ||
| | |label4=[[Weight]] | ||
| | |data4={{Weight|{{{weight|0}}}}} | ||
|header5=As a Melee Weapon | |||
| | |label5=Bash Dmg | ||
|data5={{{bash|0}}} | |||
| | |label6=Cut Dmg | ||
| | |data6={{{cut|0}}} | ||
| | |label7=Pierce Dmg | ||
| | |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>|}} | ||
|label10=Moves per attack | |||
|data10={{Movesperattack|{{{volume|0}}}|{{{weight|0}}}}} | |||
| | |label11=Base damage / 100 move | ||
|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}}}}}}}|}} | |||
| | |header12=Other | ||
| | |label12[[Qualities]] | ||
| | |data12{{#if:{{{qlt1|}}}|<abbr title="{{qualities|{{{qlt1}}}}}">{{uc:{{{qlt1}}}}}</abbr>|}} | ||
{{#if:{{{qlt2|}}}|<abbr title="{{qualities|{{{qlt2}}}}}">{{uc:{{{qlt2}}}}}</abbr>|}} | |||
{{#if:{{{qlt3|}}}|<abbr title="{{qualities|{{{qlt3}}}}}">{{uc:{{{qlt3}}}}}</abbr>|}} | |||
{{#if:{{{qlt4|}}}|<abbr title="{{qualities|{{{qlt4}}}}}">{{uc:{{{qlt4}}}}}</abbr>|}} | |||
{{#if:{{{qlt5|}}}|<abbr title="{{qualities|{{{qlt5}}}}}">{{uc:{{{qlt5}}}}}</abbr>|}} | |||
{{#if:{{{qlt6|}}}|<abbr title="{{qualities|{{{qlt6}}}}}">{{uc:{{{qlt6}}}}}</abbr>|}} | |||
{{#if:{{{qlt7|}}}|<abbr title="{{qualities|{{{qlt7}}}}}">{{uc:{{{qlt7}}}}}</abbr>|}} | |||
{{#if:{{{qlt8|}}}|<abbr title="{{qualities|{{{qlt8}}}}}">{{uc:{{{qlt8}}}}}</abbr>|}} | |||
{{#if:{{{qlt9|}}}|<abbr title="{{qualities|{{{qlt9}}}}}">{{uc:{{{qlt9}}}}}</abbr>|}} | |||
{{#if:{{{qlt10|}}}|<abbr title="{{qualities|{{{qlt10}}}}}">{{uc:{{{qlt10}}}}}</abbr>|}} | |||
{{#if:{{{qlt11|}}}|<abbr title="{{qualities|{{{qlt11}}}}}">{{uc:{{{qlt11}}}}}</abbr>|}} | |||
| | |label13=Price | ||
| | |data13={{#expr:{{{price|0}}}/100}} $ | ||
|label14=Flags | |||
|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__ | ||
<noinclude> | <noinclude> | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |