Template:Weapon: Difference between revisions

From MCM Combat Operations
Jump to: navigation, search
No edit summary
No edit summary
Line 7: Line 7:
{{!}} style= "font-size: 100%;" colspan="2" {{!}} {{{image}}}}}
{{!}} style= "font-size: 100%;" colspan="2" {{!}} {{{image}}}}}
|-  
|-  
|-
!Type || {{{type}}}
!Type || {{{type}}}
|-
|-
|-
!Damage Type || {{{damagetype}}}
!Damage Type || {{{damagetype}}}
|-
|-
|-
!Heat || {{{heat}}}
!Heat || {{{heat}}}
|-  
|-  
|-
!Ammo || {{{ammo}}}
!Ammo || {{{ammo}}}
|-
|-
|-
!Rate of Fire || {{{rate}}}s cycle time
!Rate of Fire || {{{rate}}}s cycle time
|-  
|-  
|-
!Burst Length || {{{projectiles}}}
!Burst Length || {{{projectiles}}}
|-  
|-  
|-
!Damage || {{{damage}}}
!Damage || {{{damage}}}
{{#switch: {{{table_type}}}
{{#switch: {{{table_type}}}
   | projectile = {{!}}-  
   | projectile = {{!}}-  
                {{!}}-         
                 !Range {{!}}{{!}} {{{range}}}m
                 !Range {{!}}{{!}} {{{range}}}m
                {{!}}-
                 {{!}}-
                 {{!}}-
                 !Projectile Velocity {{!}}{{!}}{{{velocity}}}m/s
                 !Projectile Velocity {{!}}{{!}}{{{velocity}}}m/s
   | laser = {{!}}-
   | laser = {{!}}-
            {{!}}-
             !Range {{!}}{{!}} {{{range}}}
             !Range {{!}}{{!}} {{{range}}}
            {{!}}-
             {{!}}-
             {{!}}-
             !Beam Duration {{!}}{{!}} {{{timetolive}}}
             !Beam Duration {{!}}{{!}} {{{timetolive}}}
   | melee = {{!}}-
   | melee = {{!}}-
            {{!}}-
             !Range {{!}}{{!}} {{{range}}}m
             !Range {{!}}{{!}} {{{range}}}m
}}
}}
|-
|-
|-
{{#switch: {{{AOE}}}
{{#switch: {{{AOE}}}
   | splash = {{!}}-  
   | splash = {{!}}-  
            {{!}}-
             !Splash {{!}}{{!}} {{{aoe}}}m
             !Splash {{!}}{{!}} {{{aoe}}}m
   | arty = {{!}}-  
   | arty = {{!}}-  
Line 62: Line 48:
           {{!}}-  
           {{!}}-  
}}
}}
|-
|-
|-
!Hard-mount || {{#if: {{{hard}}} | {{{hard}}} | none}}
!Hard-mount || {{#if: {{{hard}}} | {{{hard}}} | none}}
|-
|-
|-
!Included with || {{{included}}}
!Included with || {{{included}}}
|-  
|-  
|-
!Mount Points || {{{mount}}}
!Mount Points || {{{mount}}}
|-
|-
|-
!Cost || {{{cost}}}
!Cost || {{{cost}}}
|-  
|-  
|-
!Damage per Second || {{#expr:{{formatnum:{{{projectiles}}}|R}}*{{formatnum:{{{damage}}}|R}}/{{formatnum:{{{rate}}}|R}} round2}}
!Damage per Second || {{#expr:{{formatnum:{{{projectiles}}}|R}}*{{formatnum:{{{damage}}}|R}}/{{formatnum:{{{rate}}}|R}} round2}}
|-
|-
|-
!Heat per Second || {{#expr:{{formatnum:{{{heat}}}|R}}/{{formatnum:{{{rate}}}|R}} round2 }}
!Heat per Second || {{#expr:{{formatnum:{{{heat}}}|R}}/{{formatnum:{{{rate}}}|R}} round2 }}
|-
|-
|-
!Damage per Heat || {{#ifeq: {{{heat}}} | 0
!Damage per Heat || {{#ifeq: {{{heat}}} | 0
Line 86: Line 65:
   | {{#expr:{{formatnum:{{{projectiles}}}|R}}*{{formatnum:{{{damage}}}|R}}/{{formatnum:{{{heat}}}|R}} round2}}
   | {{#expr:{{formatnum:{{{projectiles}}}|R}}*{{formatnum:{{{damage}}}|R}}/{{formatnum:{{{heat}}}|R}} round2}}
}}
}}
|-
|-
|-
!Damage per Cost || {{#expr:{{formatnum:{{{projectiles}}}|R}}*{{formatnum:{{{damage}}}|R}}/{{formatnum:{{{cost}}}|R}} round2 }}
!Damage per Cost || {{#expr:{{formatnum:{{{projectiles}}}|R}}*{{formatnum:{{{damage}}}|R}}/{{formatnum:{{{cost}}}|R}} round2 }}
|-
|-
|-
!DPS per Cost || {{#expr:{{formatnum:{{{projectiles}}}|R}}*{{formatnum:{{{damage}}}|R}}/{{formatnum:{{{rate}}}|R}}/{{formatnum:{{{cost}}}|R}} round2 }}
!DPS per Cost || {{#expr:{{formatnum:{{{projectiles}}}|R}}*{{formatnum:{{{damage}}}|R}}/{{formatnum:{{{rate}}}|R}}/{{formatnum:{{{cost}}}|R}} round2 }}
|-
|-
|-
! style="line-height:1.2em"  |Creator
! style="line-height:1.2em"  |Creator

Revision as of 03:32, 28 August 2023

Mech Weapon
{{{name}}}
Type {{{type}}}
Damage Type {{{damagetype}}}
Heat {{{heat}}}
Ammo {{{ammo}}}
Rate of Fire {{{rate}}}s cycle time
Burst Length {{{projectiles}}}
Damage {{{damage}}}
Hard-mount {{{hard}}}
Included with {{{included}}}
Mount Points {{{mount}}}
Cost {{{cost}}}
Damage per Second Expression error: Unrecognized punctuation character "{".
Heat per Second Expression error: Unrecognized punctuation character "{".
Damage per Heat Expression error: Unrecognized punctuation character "{".
Damage per Cost Expression error: Unrecognized punctuation character "{".
DPS per Cost Expression error: Unrecognized punctuation character "{".
Creator [[:Category:{{{creator}}}|{{{creator}}}]] [[Category: {{{creator}}}]]