Template:Weapon: Difference between revisions

From MCM Combat Operations
Jump to: navigation, search
No edit summary
No edit summary
Line 6: Line 6:
{{#if: {{{image|}}}|
{{#if: {{{image|}}}|
{{!}} style= "font-size: 100%;" colspan="2" {{!}} {{{image}}}}}
{{!}} style= "font-size: 100%;" colspan="2" {{!}} {{{image}}}}}
|- !Type || {{{type}}}
|-
|- !Damage Type || {{{damagetype}}}
!Type || {{{type}}}
|- !Heat || {{{heat}}}
|-
|- !Ammo || {{{ammo}}}
!Damage Type || {{{damagetype}}}
|- !Rate of Fire || {{{rate}}}s cycle time
|-
|- !Burst Length || {{{projectiles}}}
!Heat || {{{heat}}}
|- !Damage || {{{damage}}}
|-
|- {{#switch: {{{table_type}}}
!Ammo || {{{ammo}}}
      | projectile = {{!}}-  
|-
                    !Range {{!}} {{!}} {{{range}}}m
!Rate of Fire || {{{rate}}}s cycle time
                    {{!}}-
|-
                    !Projectile Velocity {{!}}{{!}}{{{velocity}}}m/s
!Burst Length || {{{projectiles}}}
      | laser = {{!}}-
|-
                !Range {{!}}{{!}} {{{range}}}
!Damage || {{{damage}}}
                {{!}}-
|-
                !Beam Duration {{!}}{{!}} {{{timetolive}}}
{{#switch: {{{table_type}}}
      | melee = {{!}}-
    | projectile = {{!}}-  
                !Range {{!}}{{!}} {{{range}}}m
                    !Range {{!}} {{!}} {{{range}}}m
  }}
                    {{!}}-
                    !Projectile Velocity {{!}}{{!}}{{{velocity}}}m/s
    | laser = {{!}}-
              !Range {{!}}{{!}} {{{range}}}
              {{!}}-
              !Beam Duration {{!}}{{!}} {{{timetolive}}}
    | melee = {{!}}-
              !Range {{!}}{{!}} {{{range}}}m
}}
|-
|-
{|
{|
Line 38: Line 46:


|}
|}
|- !Hard-mount || {{#if: {{{hard}}} | {{{hard}}} | none}}
|-
|- !Included with || {{{included}}}
!Hard-mount || {{#if: {{{hard}}} | {{{hard}}} | none}}
|- !Mount Points || {{{mount}}}
|-
|- !Cost || {{{cost}}}
!Included with || {{{included}}}
|- !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 }}
!Mount Points || {{{mount}}}
|- !Damage per Heat || {{#ifeq: {{{heat}}} | 0
|-
!Cost || {{{cost}}}
|-
!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 }}
|-
!Damage per Heat || {{#ifeq: {{{heat}}} | 0
   | ---  
   | ---  
   | {{#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 }}
|-
|- !DPS per Cost || {{#expr:{{formatnum:{{{projectiles}}}|R}}*{{formatnum:{{{damage}}}|R}}/{{formatnum:{{{rate}}}|R}}/{{formatnum:{{{cost}}}|R}} round2 }}
!Damage per Cost || {{#expr:{{formatnum:{{{projectiles}}}|R}}*{{formatnum:{{{damage}}}|R}}/{{formatnum:{{{cost}}}|R}} round2 }}
|- | style="line-height:1.2em" | Creator | style="line-height:1.2em" | [[:Category:{{{creator}}}|{{{creator}}}]] [[Category {{{creator}}}]]
|-
!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" | [[:Category:{{{creator}}}|{{{creator}}}]] [[Category {{{creator}}}]]
|}
|}
</div>
</div>
<includeonly>[[Category:Weaponry]]</includeonly>
<includeonly>[[Category:Weaponry]]</includeonly>
<noinclude>[[Category:Templates]]</noinclude>
<noinclude>[[Category:Templates]]</noinclude>

Revision as of 04:03, 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}}}
Splash
100% Splash {{{range1}}}m
75% Splash {{{range2}}}m
50% Splash {{{range3}}}m
25% Splash {{{range4}}}m
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 0 --- Expression error: Unrecognized punctuation character "{". Damage per Cost Expression error: Unrecognized punctuation character "{". DPS per Cost Expression error: Unrecognized punctuation character "{". Creator | style="line-height:1.2em" | [[:Category:{{{creator}}}|{{{creator}}}]] [[Category {{{creator}}}]]