Template:WeaponStats: Difference between revisions

From MCM Combat Operations
Jump to: navigation, search
No edit summary
(Undo revision 26692 by Captaincosette resident (talk))
Tag: Undo
 
Line 1: Line 1:
<div style="float: right">
<div style="wikitable">
{| class="infobox" style=" width: 257.8px; text-align: left; font-size: 90%;" cellspacing="2" align=right
{| class="wikitable" style=" font-size: 90%;" cellspacing="2" align=center
|+ style="font-size: 110%; background: inherit;" align="center" colspan="2" | '''Mech Weapon'''
! class="header" align="center" colspan="2" | '''{{{name}}}'''
|-
{{#if: {{{image|}}}|
{{!}} style= "font-size: 100%;" colspan="2" {{!}} {{{image}}}}}
|-
!Type || {{{type}}}
|-
!Damage Type || {{{damagetype}}}
|-
!Heat || {{{heat}}}
|-
!Ammo || {{{ammo}}}
|-
!Refire Delay|| {{{rate}}} Seconds
|-
! Firing Delay || {{#expr: {{{base_projectiles|0}}} * 0.1 }} Seconds
|-
! Rate of Fire || {{#expr: {{{rate|0}}} + ({{{base_projectiles|0}}} * 0.1) }}s cycle time
|-
!Burst Length || {{{projectiles}}}
|-
!Damage || {{{damage}}}
{{#ifexpr:{{{splashdamage|0}}}!=0|
{{!}}-
! Splash Damage {{!}}{{!}} {{{splashdamage}}}
}}
|-
{{#switch: {{{trigger}}}
  | semi = !Trigger Type {{!}}{{!}} Semi-Automatic
  |loco = !Trigger Type {{!}}{{!}} Locomotion
  | auto = !Trigger Type {{!}}{{!}} Automatic
  | lockon = !Trigger Type {{!}}{{!}} Lock-On
  | seeking = !Trigger Type {{!}}{{!}} Auto Acquisition Seeking
  | wire = !Trigger Type {{!}}{{!}} Wire Guided
  | detonate = !Trigger Type {{!}}{{!}} Manual Detonation
  |arty = !Trigger Type {{!}}{{!}} Artillery
  |fuse =!Trigger Type {{!}}{{!}} Timed Fuse
  | charge = !Trigger Type {{!}}{{!}} Charge
  {{!}}-
  !Charge Time {{!}}{{!}} {{{chargetime}}}s
  | vcharge =  !Max Charge Damage {{!}}{{!}} {{{chargedamage}}}
{{!}}-
  !Trigger Type {{!}}{{!}} Variable Charge
  {{!}}-
  !Charge Levels {{!}}{{!}} {{{chargelevels}}}
  {{!}}-
  !Max Charge Time {{!}}{{!}} {{{chargetime}}}s
|-
}}
|-
{{#switch: {{{table_type}}}
    | projectile = !Range {{!}}{{!}} {{{range}}}m
                    {{!}}-
                    !Projectile Velocity {{!}}{{!}} {{{velocity}}}m/s
    | laser = !Range {{!}}{{!}} {{{range}}}
              {{!}}-
              !Beam Duration {{!}}{{!}} {{{timetolive}}}
    | melee = !Range {{!}}{{!}} {{{range}}}m
}}
|-
{{#switch: {{{AOE}}}
  | splash = !Splash {{!}}{{!}} {{{aoe}}}m
  | arty = !100% Splash {{!}}{{!}} {{{range1}}}m
          {{!}}-
          !75% Splash {{!}}{{!}} {{{range2}}}m
          {{!}}-
          !50% Splash {{!}}{{!}} {{{range3}}}m
          {{!}}-
          !25% Splash {{!}}{{!}} {{{range4}}}m
}}
|-
!Hard-mount || {{#if: {{{hard}}} | {{{hard}}} | none}}
|-
!Included with || {{{included}}}
|-
!Mount Points || {{{mount}}}
|-
!Cost || {{{cost}}}
|-
!Approximate Damage per Second ||
{{#expr:
({{{projectiles|0}}} * {{{damage|0}}})
/
({{{rate|1}}} + ({{{projectiles|0}}} * 0.1))
round 2
}}
|-
!Heat per Second ||
{{#expr:
{{{heat|0}}}
/
({{{rate|1}}} + ({{{projectiles|0}}} * 0.1))
round 2
}}
|-
!Damage per Heat ||
{{#ifeq: {{{heat|0}}} | 0
| ---
| {{#expr:
    ({{{projectiles|0}}} * {{{damage|0}}})
    /
    {{{heat}}}
    round 2
  }}
}}
|-
!Damage per Cost ||
{{#expr:
({{{projectiles|0}}} * {{{damage|0}}})
/
{{{cost|1}}}
round 2
}}
|-
!DPS per Cost ||
{{#expr:
(
  ({{{projectiles|0}}} * {{{damage|0}}})
  /
  ({{{rate|1}}} + ({{{projectiles|0}}} * 0.1))
)
/
{{{cost|1}}}
round 2
}}


| style="line-height:1.2em" | '''{{{name}}}'''
| style="background: #c1c1c1; color: #2a2a2a; line-height:1.2em" | {{{type}}}
| style="line-height:1.2em" | {{{damagetype}}}
| style="background: #c1c1c1; color: #2a2a2a; line-height:1.2em" | {{{heat}}}
| style="line-height:1.2em" | {{{ammo}}}
| style="background: #c1c1c1; color: #2a2a2a; line-height:1.2em" | {{{rate}}}s cycle time
| style="line-height:1.2em" | {{{projectiles}}}
| style="background: #c1c1c1; color: #2a2a2a; line-height:1.2em" | {{{damage}}}
| style="line-height:1.2em" | {{{range}}}
| style="background: #c1c1c1; color: #2a2a2a; line-height:1.2em" | {{#if: {{{Hard}}} | {{{hard}}} | none}}
| style="line-height:1.2em" | {{{mount}}}
| style="background: #c1c1c1; color: #2a2a2a; line-height:1.2em" | {{{cost}}}
|}
|}
</div>
</div>
<includeonly>[[Category:Weaponry]]</includeonly>
<noinclude>[[Category:Templates]]</noinclude>

Latest revision as of 05:27, 1 March 2026

{{{name}}} {{{type}}} {{{damagetype}}} {{{heat}}} {{{ammo}}} {{{rate}}}s cycle time {{{projectiles}}} {{{damage}}} {{{range}}} {{{hard}}} {{{mount}}} {{{cost}}}