Template:Infobox item: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 64: Line 64:
   {{!}} class="infobox-detail" {{!}} {{{attackspeed|}}} ms {{#set:Attackspeed={{{attackspeed}}}}}<!--
   {{!}} class="infobox-detail" {{!}} {{{attackspeed|}}} ms {{#set:Attackspeed={{{attackspeed}}}}}<!--
// If we have set attack speed and damage, set the DPS too
// If we have set attack speed and damage, set the DPS too
-->{{#if:{{#show:{{FULLPAGENAME}}|?Damage=}}|{{#set:DPS={{#expr:{{#show:{{FULLPAGENAME}}|?Damage}} / ({{{attackspeed}}} / 100)}}}}}}<nowiki />
-->{{#if:{{#show:{{FULLPAGENAME}}|?Damage=}}|{{#set:DPS={{#expr:{{#show:{{FULLPAGENAME}}|?Damage=}} / ({{{attackspeed}}} / 1000)}}}}}}<nowiki />
}}<nowiki />
}}<nowiki />
{{#if:{{{attackcooldown|}}} |<nowiki />
{{#if:{{{attackcooldown|}}} |<nowiki />

Navigation menu