Difference between revisions of "Template:Melee Weapons Table Row"

From RimWorld Wiki
Jump to navigation Jump to search
m
m
Line 6: Line 6:
 
| {{#if: {{#switch: Cut | {{Q|{{{?Name}}}|Attack 1 Type}} | {{Q|{{{?Name}}}|Attack 2 Type}} | {{Q|{{{?Name}}}|Attack 3 Type}} | {{Q|{{{?Name}}}|Attack 4 Type}} = Sharp}} | Sharp | {{#if: {{#switch: Stab | {{Q|{{{?Name}}}|Attack 1 Type}} | {{Q|{{{?Name}}}|Attack 2 Type}} | {{Q|{{{?Name}}}|Attack 3 Type}} | {{Q|{{{?Name}}}|Attack 4 Type}} = Sharp}} | Sharp | {{#if: {{#switch: Scratch | {{Q|Club|Attack 1 Type}} | {{Q|{{{?Name}}}|Attack 2 Type}} | {{Q|{{{?Name}}}|Attack 3 Type}} | {{Q|{{{?Name}}}|Attack 4 Type}} = Sharp}} | Sharp | Blunt}} }}
 
| {{#if: {{#switch: Cut | {{Q|{{{?Name}}}|Attack 1 Type}} | {{Q|{{{?Name}}}|Attack 2 Type}} | {{Q|{{{?Name}}}|Attack 3 Type}} | {{Q|{{{?Name}}}|Attack 4 Type}} = Sharp}} | Sharp | {{#if: {{#switch: Stab | {{Q|{{{?Name}}}|Attack 1 Type}} | {{Q|{{{?Name}}}|Attack 2 Type}} | {{Q|{{{?Name}}}|Attack 3 Type}} | {{Q|{{{?Name}}}|Attack 4 Type}} = Sharp}} | Sharp | {{#if: {{#switch: Scratch | {{Q|Club|Attack 1 Type}} | {{Q|{{{?Name}}}|Attack 2 Type}} | {{Q|{{{?Name}}}|Attack 3 Type}} | {{Q|{{{?Name}}}|Attack 4 Type}} = Sharp}} | Sharp | Blunt}} }}
 
}}{{#switch: {{{?Name}}}
 
}}{{#switch: {{{?Name}}}
  | Plasmasword || Persona Plasmasword = + Burn
+
  | Plasmasword || Persona Plasmasword =  + Burn
  | Zeushammer || Persona Zeushammer = + EMP
+
  | Zeushammer || Persona Zeushammer =  + EMP
 
}}
 
}}
 
| {{Q|{{{?Name}}}|MeleeAP}}
 
| {{Q|{{{?Name}}}|MeleeAP}}
 
| {{Market Value Calculator|{{{?Name}}}|Steel}}
 
| {{Market Value Calculator|{{{?Name}}}|Steel}}
 
|-</includeonly><noinclude>{{Documentation}}</noinclude>
 
|-</includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 22:18, 7 March 2022

Documentation icon Template documentation[view] [edit] [history] [purge]

Overview

This template is used by Template:Melee Weapons Table to generate rows for an automated comparison table of all melee weapons. It was made for the weapons page.

Example

{{Melee Weapons Table}}

Preview

  • Name Material Awful Poor Normal Good Excellent Masterwork Legendary Average
    cooldown
    Damage
    type [A]
    Value
    in Silver
    DPS AP DPS AP DPS AP DPS AP DPS AP DPS AP DPS AP
    Human Unarmed human 4.1 12% 2 s Blunt
    [[{{{?Name}}}]] (Error: Page does not exist) [[{{{?Name}}}]] s Blunt Expression error: Unexpected < operator.
    [[{{{?Name}}}]] (Error: Page does not exist) [[{{{?Name}}}]] s Blunt Expression error: Unexpected < operator.
    [[{{{?Name}}}]] (Error: Page does not exist) [[{{{?Name}}}]] s Blunt Expression error: Unexpected < operator.
    [[{{{?Name}}}]] (Error: Page does not exist) [[{{{?Name}}}]] s Blunt Expression error: Unexpected < operator.
    [[{{{?Name}}}]] (Error: Page does not exist) [[{{{?Name}}}]] s Blunt Expression error: Unexpected < operator.
    [[{{{?Name}}}]] (Error: Page does not exist) [[{{{?Name}}}]] s Blunt Expression error: Unexpected < operator.
    [[{{{?Name}}}]] (Error: Page does not exist) [[{{{?Name}}}]] s Blunt Expression error: Unexpected < operator.
    [[{{{?Name}}}]] (Error: Page does not exist) [[{{{?Name}}}]] s Blunt Expression error: Unexpected < operator.
    [[{{{?Name}}}]] (Error: Page does not exist) [[{{{?Name}}}]] s Blunt Expression error: Unexpected < operator.
    [[{{{?Name}}}]] (Error: Page does not exist) [[{{{?Name}}}]] s Blunt Expression error: Unexpected < operator.
    [[{{{?Name}}}]] (Error: Page does not exist) [[{{{?Name}}}]] s Blunt Expression error: Unexpected < operator.
    [[{{{?Name}}}]] (Error: Page does not exist) [[{{{?Name}}}]] s Blunt Expression error: Unexpected < operator.
    [[{{{?Name}}}]] (Error: Page does not exist) [[{{{?Name}}}]] s Blunt Expression error: Unexpected < operator.
    [[{{{?Name}}}]] (Error: Page does not exist) [[{{{?Name}}}]] s Blunt Expression error: Unexpected < operator.
    [[{{{?Name}}}]] (Error: Page does not exist) [[{{{?Name}}}]] s Blunt Expression error: Unexpected < operator.
    [[{{{?Name}}}]] (Error: Page does not exist) [[{{{?Name}}}]] s Blunt Expression error: Unexpected < operator.
    [[{{{?Name}}}]] (Error: Page does not exist) [[{{{?Name}}}]] s Blunt Expression error: Unexpected < operator.
    [[{{{?Name}}}]] (Error: Page does not exist) [[{{{?Name}}}]] s Blunt Expression error: Unexpected < operator.
    [[{{{?Name}}}]] (Error: Page does not exist) [[{{{?Name}}}]] s Blunt Expression error: Unexpected < operator.
    [[{{{?Name}}}]] (Error: Page does not exist) [[{{{?Name}}}]] s Blunt Expression error: Unexpected < operator.
    [[{{{?Name}}}]] (Error: Page does not exist) [[{{{?Name}}}]] s Blunt Expression error: Unexpected < operator.
    [[{{{?Name}}}]] (Error: Page does not exist) [[{{{?Name}}}]] s Blunt Expression error: Unexpected < operator.
    [[{{{?Name}}}]] (Error: Page does not exist) [[{{{?Name}}}]] s Blunt Expression error: Unexpected < operator.
    [[{{{?Name}}}]] (Error: Page does not exist) [[{{{?Name}}}]] s Blunt Expression error: Unexpected < operator.
    [[{{{?Name}}}]] (Error: Page does not exist) [[{{{?Name}}}]] s Blunt Expression error: Unexpected < operator.
    [[{{{?Name}}}]] (Error: Page does not exist) [[{{{?Name}}}]] s Blunt Expression error: Unexpected < operator.
    [[{{{?Name}}}]] (Error: Page does not exist) [[{{{?Name}}}]] s Blunt Expression error: Unexpected < operator.
    [[{{{?Name}}}]] (Error: Page does not exist) [[{{{?Name}}}]] s Blunt Expression error: Unexpected < operator.
    [[{{{?Name}}}]] (Error: Page does not exist) [[{{{?Name}}}]] s Blunt Expression error: Unexpected < operator.
    [[{{{?Name}}}]] (Error: Page does not exist) [[{{{?Name}}}]] s Blunt Expression error: Unexpected < operator.
    [[{{{?Name}}}]] (Error: Page does not exist) [[{{{?Name}}}]] s Blunt Expression error: Unexpected < operator.
    [[{{{?Name}}}]] (Error: Page does not exist) [[{{{?Name}}}]] s Blunt Expression error: Unexpected < operator.
    [[{{{?Name}}}]] (Error: Page does not exist) [[{{{?Name}}}]] s Blunt Expression error: Unexpected < operator.
    [[{{{?Name}}}]] (Error: Page does not exist) [[{{{?Name}}}]] s Blunt Expression error: Unexpected < operator.
    A All sharp melee weapons come also with (weak) blunt attacks.
    B A jade knife can only be obtained via the Lost tribe scenario; they cannot be crafted nor purchased.
    C These weapons cannot be created by the player, they are able to be obtained through quests and purchasing them from Merchants. All but the eltex staff come in "persona" variants that cannot be wielded by anyone other than the bonded pawn unless it has the "freewielder" trait, so make sure you choose a good pawn to use them.
    D These weapons also have a 75% chance to set a pawn on fire. This damage is included in the DPS.