Template:Weapon: Difference between revisions

From MCM Combat Operations
Jump to: navigation, search
No edit summary
No edit summary
 
(21 intermediate revisions by 2 users not shown)
Line 20: Line 20:
|-
|-
!Damage || {{{damage}}}
!Damage || {{{damage}}}
|-
{{#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}}}
{{#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
}}
}}
|-
|-
Line 56: Line 76:
                               }}*{{formatnum:{{{damage}}}|R
                               }}*{{formatnum:{{{damage}}}|R
                                 }}/{{formatnum:{{{rate}}}|R'
                                 }}/{{formatnum:{{{rate}}}|R'
                              }} round2
                                    }} 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  
  | ---  
                                        | ---
  | {{#expr:{{formatnum:{{{projectiles}}}|R}}*{{formatnum:{{{damage}}}|R}}/{{formatnum:{{{heat}}}|R}} round2}}
                                        | {{#expr:{{formatnum:{{{projectiles}}}|R
|-
                                                  }}*{{formatnum:{{{damage}}}|R
!Damage per Cost || {{#expr:{{formatnum:{{{projectiles}}}|R}}*{{formatnum:{{{damage}}}|R}}/{{formatnum:{{{cost}}}|R}} round2 }}
                                                    }}/{{formatnum:{{{heat}}}|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
                    }}
|-
|-
{{#if: {{{creator|}}}|
!DPS per Cost || {{#expr:{{formatnum:{{{projectiles}}}|R
| style="line-height:1.2em" | Creator | style="line-height:1.2em" | [[:Category:{{{creator}}}|{{{creator}}}]] [[Category {{{creator}}}]]}}
                        }}*{{formatnum:{{{damage}}}|R
                            }}/{{formatnum:{{{rate}}}|R
                        }}/{{formatnum:{{{cost}}}|R
                            }} round2
                }}
 
|}
|}
</div>
</div>
<includeonly>[[Category:Weaponry]]</includeonly>
<includeonly>[[Category:Weaponry]]</includeonly>
<noinclude>[[Category:Templates]]</noinclude>
<noinclude>[[Category:Templates]]</noinclude>

Latest revision as of 06:01, 14 October 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 "{".