Editing Template:Weapon Stats Table/Melee

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
<includeonly><!--
+
<includeonly><div><li style="display: inline-table;"><!--
 
--><!-- VARIABLES --><!--
 
--><!-- VARIABLES --><!--
 
-->{{#vardefine:name      | {{{1|{{PAGENAME}} }}} }}<!-- Name of the weapon
 
-->{{#vardefine:name      | {{{1|{{PAGENAME}} }}} }}<!-- Name of the weapon
Line 7: Line 7:
 
-->
 
-->
 
<!-- CONTROL PANEL -->
 
<!-- CONTROL PANEL -->
{| {{STDT|any}}
+
{| class="wikitable"
 +
|+ <!--Select which features you'd like to compare-->
 +
|-
 
! Feature !! Toggle
 
! Feature !! Toggle
 
|-
 
|-
Line 25: Line 27:
 
|}
 
|}
 
<!-- MAIN TABLE -->
 
<!-- MAIN TABLE -->
<div><li style="display: inline-table;">
 
 
{| {{STDT|sortable c_03 text-center}}
 
{| {{STDT|sortable c_03 text-center}}
 
! colspan="{{#expr: 2 {{#if:{{#var:stufftags}}|+1}} {{#if:{{#var:hasQuality}}|+1}} }}" style="vertical-align: middle; text-align: left;" | {{Icon Small|{{#var:name}}|32}} {{#var:name}}
 
! colspan="{{#expr: 2 {{#if:{{#var:stufftags}}|+1}} {{#if:{{#var:hasQuality}}|+1}} }}" style="vertical-align: middle; text-align: left;" | {{Icon Small|{{#var:name}}|32}} {{#var:name}}
Line 36: Line 37:
 
<th {{#var:collapseA}} style="border-style: none;" colspan="5"> {{ucfirst:{{Q|{{#var:name}}|Attack 4 Part}} }} ([[Damage types#{{Q|{{#var:name}}|Attack 4 Type}}|{{Q|{{#var:name}}|Attack 4 Type}}]]) </th>
 
<th {{#var:collapseA}} style="border-style: none;" colspan="5"> {{ucfirst:{{Q|{{#var:name}}|Attack 4 Part}} }} ([[Damage types#{{Q|{{#var:name}}|Attack 4 Type}}|{{Q|{{#var:name}}|Attack 4 Type}}]]) </th>
 
}} }} }}
 
}} }} }}
! {{#var:collapseA}} style="border-style: none;" colspan="5" | [[Human]]: Left & rigth fist ([[Damage types#{{Q|Human|Attack 1 Type}}|{{Q|Human|Attack 1 Type}}]])
+
! {{#var:collapseA}} style="border-style: none;" colspan="5" | [[Human]]: {{ucfirst:{{Q|Human|Attack 1 Part}} }} ([[Damage types#{{Q|Human|Attack 1 Type}}|{{Q|Human|Attack 1 Type}}]])
<!-- Human left & right fist attack merged sind for a baseline human they are identical. The human head and teeth attacks are irrelevant in all cases -->
+
! {{#var:collapseA}} style="border-style: none;" colspan="5" | [[Human]]: {{ucfirst:{{Q|Human|Attack 2 Part}} }} ([[Damage types#{{Q|Human|Attack 2 Type}}|{{Q|Human|Attack 2 Type}}]])
 +
! {{#var:collapseA}} style="border-style: none;" colspan="5" | [[Human]]: {{ucfirst:{{Q|Human|Attack 3 Part}} }} ([[Damage types#{{Q|Human|Attack 3 Type}}|{{Q|Human|Attack 3 Type}}]])
 +
! {{#var:collapseA}} style="border-style: none;" colspan="5" | [[Human]]: {{ucfirst:{{Q|Human|Attack 4 Part}} }} ([[Damage types#{{Q|Human|Attack 4 Type}}|{{Q|Human|Attack 4 Type}}]])
 
! rowspan="2" style="vertical-align: middle;" data-sort-type="number" style="border:#a67d47 1px; border-style: none none solid none;" | {{HP}}
 
! rowspan="2" style="vertical-align: middle;" data-sort-type="number" style="border:#a67d47 1px; border-style: none none solid none;" | {{HP}}
 
! rowspan="2" style="vertical-align: middle;" data-sort-type="number" style="border:#a67d47 1px; border-style: none solid solid none;" | Value
 
! rowspan="2" style="vertical-align: middle;" data-sort-type="number" style="border:#a67d47 1px; border-style: none solid solid none;" | Value
<tr>
+
|-
 
{{#if:{{#var:hasQuality}}|<th style="background-color:#d09c59; border:#a67d47 1px; border-style: none none solid solid;"> Quality<br/> </th>}}<!--
 
{{#if:{{#var:hasQuality}}|<th style="background-color:#d09c59; border:#a67d47 1px; border-style: none none solid solid;"> Quality<br/> </th>}}<!--
 
-->{{#if: {{#var:stufftags}} |
 
-->{{#if: {{#var:stufftags}} |
 
<th style="background-color:#d09c59; border:#a67d47 1px; border-style: none none solid {{#if:{{#var:hasQuality}}|none|solid}};"> Material </th> }}
 
<th style="background-color:#d09c59; border:#a67d47 1px; border-style: none none solid {{#if:{{#var:hasQuality}}|none|solid}};"> Material </th> }}
<th data-sort-type="number" style="background-color:#d09c59; border:#a67d47 1px; border-style: none none solid {{#if:{{#var:stufftags}}{{#var:hasQuality}}|none|solid}};"> DPS<ref name="Actual">Note: This is the actual base average derived from the [[Weapons#Listed DPS on pawns|melee verb system]] updated in [[Version/1.1.2610|1.1.2610]], it may sometimes disagree with the listed value in the in-game infobox.<br/>It may also change depending on the stats and the melee verbs available to the wielder if the weapon is wielded by some other than a baseline [[human]].</ref> </th>
+
<th data-sort-type="number" style="background-color:#d09c59; border:#a67d47 1px; border-style: none none solid {{#if:{{#var:stufftags}}{{#var:hasQuality}}|none|solid}};"> DPS<ref name="Actual">Note: This is the actual base average derived from the [[Weapons#Listed DPS on pawns|melee verb system]] updated in [[Version/1.1.2610|1.1.2610]], it may sometimes disagree with the listed value in the in-game infobox.<br/>It may also change depending on the stats and the melee verbs available to the wielder</ref> </th>
 
<th data-sort-type="number" style="background-color:#d09c59; border:#a67d47 1px; border-style: none none solid none;"> AP<ref name="Actual"/> </th>
 
<th data-sort-type="number" style="background-color:#d09c59; border:#a67d47 1px; border-style: none none solid none;"> AP<ref name="Actual"/> </th>
 
{{#vardefineecho:attackHeaders|<th {{#var:collapseA}} data-sort-type="number" style="background-color:#d09c59; border:#a67d47 1px; border-style: none none solid none;"> Dam. </th>
 
{{#vardefineecho:attackHeaders|<th {{#var:collapseA}} data-sort-type="number" style="background-color:#d09c59; border:#a67d47 1px; border-style: none none solid none;"> Dam. </th>
Line 50: Line 53:
 
<th {{#var:collapseA}} data-sort-type="number" style="background-color:#d09c59; border:#a67d47 1px; border-style: none none solid none;"> AP </th>
 
<th {{#var:collapseA}} data-sort-type="number" style="background-color:#d09c59; border:#a67d47 1px; border-style: none none solid none;"> AP </th>
 
<th {{#var:collapseA}} data-sort-type="number" style="background-color:#d09c59; border:#a67d47 1px; border-style: none none solid none;"> DPS </th>
 
<th {{#var:collapseA}} data-sort-type="number" style="background-color:#d09c59; border:#a67d47 1px; border-style: none none solid none;"> DPS </th>
<th {{#var:collapseA}} data-sort-type="number" style="background-color:#d09c59; border:#a67d47 1px; border-style: none none solid none;"> Chance<ref name="Chance">Chance for attack to be selected, assuming the weapon is wielded by a baseline [[human]]. It may change depending on the melee verbs available to the wielder</ref> </th>}}<!--
+
<th {{#var:collapseA}} data-sort-type="number" style="background-color:#d09c59; border:#a67d47 1px; border-style: none none solid none;"> Chance<ref name="Chance">Chance for attack to be selected, assuming only the weapon's attack verbs are considered. It may change depending on the melee verbs available to the wielder</ref> </th>}}<!--
 
-->{{#if: {{Q|{{#var:name}}|Attack 2 Damage}} | {{#var:attackHeaders}} }}<!--
 
-->{{#if: {{Q|{{#var:name}}|Attack 2 Damage}} | {{#var:attackHeaders}} }}<!--
 
-->{{#if: {{Q|{{#var:name}}|Attack 3 Damage}} | {{#var:attackHeaders}} }}<!--
 
-->{{#if: {{Q|{{#var:name}}|Attack 3 Damage}} | {{#var:attackHeaders}} }}<!--
 
-->{{#if: {{Q|{{#var:name}}|Attack 4 Damage}} | {{#var:attackHeaders}} }}<!--
 
-->{{#if: {{Q|{{#var:name}}|Attack 4 Damage}} | {{#var:attackHeaders}} }}<!--
-->{{#var:attackHeaders}}
+
-->{{#if: {{Q|{{#var:name}}|Attack 5 Damage}} | {{#var:attackHeaders}} }}<!--
</tr>
+
-->{{#if: {{Q|{{#var:name}}|Attack 6 Damage}} | {{#var:attackHeaders}} }}<!--
{{#if:{{#var:hasQuality}} |
+
-->{{#if:{{#var:hasQuality}} |
 
   {{#vardefine:qualitySort|0}}{{#vardefine:quality|Awful}}
 
   {{#vardefine:qualitySort|0}}{{#vardefine:quality|Awful}}
 
   {{#if: {{#var:stufftags}}
 
   {{#if: {{#var:stufftags}}
     | {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery}}   || [[Stuff Category::Leathery]]   OR}}
+
     | {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery}} || [[Stuff Category::Leathery]] OR}}
               {{#ifeq: | {{#pos:{{#var:stufftags}}|fabric}}     || [[Stuff Category::Fabric]]     OR}}
+
               {{#ifeq: | {{#pos:{{#var:stufftags}}|fabric}}   || [[Stuff Category::Fabric]]   OR}}
               {{#ifeq: | {{#pos:{{#var:stufftags}}|woody}}     || [[Stuff Category::Woody]]     OR}}
+
               {{#ifeq: | {{#pos:{{#var:stufftags}}|woody}}   || [[Stuff Category::Woody]]   OR}}
               {{#ifeq: | {{#pos:{{#var:stufftags}}|stony}}     || [[Stuff Category::Stony]]     OR}}
+
               {{#ifeq: | {{#pos:{{#var:stufftags}}|stony}}   || [[Stuff Category::Stony]]   OR}}
               {{#ifeq: | {{#pos:{{#var:stufftags}}|metallic}}   || [[Stuff Category::Metallic]]  OR}}
+
               {{#ifeq: | {{#pos:{{#var:stufftags}}|metallic}} || [[Stuff Category::Metallic]] OR}} [[Stuff Category::PLACEHOLDER]]
              {{#ifeq: | {{#pos:{{#var:stufftags}}|bioferrite}} || [[Stuff Category::Bioferrite]] OR}}[[Stuff Category::PLACEHOLDER]]
 
 
       | format = template
 
       | format = template
 
       | template = Weapon Stats Table/Melee/Row
 
       | template = Weapon Stats Table/Melee/Row
Line 72: Line 74:
 
   {{#vardefine:qualitySort|1}}{{#vardefine:quality|Poor}}
 
   {{#vardefine:qualitySort|1}}{{#vardefine:quality|Poor}}
 
   {{#if: {{#var:stufftags}}
 
   {{#if: {{#var:stufftags}}
     | {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery}}   || [[Stuff Category::Leathery]]   OR}}
+
     | {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery}} || [[Stuff Category::Leathery]] OR}}
               {{#ifeq: | {{#pos:{{#var:stufftags}}|fabric}}     || [[Stuff Category::Fabric]]     OR}}
+
               {{#ifeq: | {{#pos:{{#var:stufftags}}|fabric}}   || [[Stuff Category::Fabric]]   OR}}
               {{#ifeq: | {{#pos:{{#var:stufftags}}|woody}}     || [[Stuff Category::Woody]]     OR}}
+
               {{#ifeq: | {{#pos:{{#var:stufftags}}|woody}}   || [[Stuff Category::Woody]]   OR}}
               {{#ifeq: | {{#pos:{{#var:stufftags}}|stony}}     || [[Stuff Category::Stony]]     OR}}
+
               {{#ifeq: | {{#pos:{{#var:stufftags}}|stony}}   || [[Stuff Category::Stony]]   OR}}
               {{#ifeq: | {{#pos:{{#var:stufftags}}|metallic}}   || [[Stuff Category::Metallic]]  OR}}
+
               {{#ifeq: | {{#pos:{{#var:stufftags}}|metallic}} || [[Stuff Category::Metallic]] OR}} [[Stuff Category::PLACEHOLDER]]
              {{#ifeq: | {{#pos:{{#var:stufftags}}|bioferrite}} || [[Stuff Category::Bioferrite]] OR}}[[Stuff Category::PLACEHOLDER]]
 
 
       | format = template
 
       | format = template
 
       | template = Weapon Stats Table/Melee/Row
 
       | template = Weapon Stats Table/Melee/Row
Line 85: Line 86:
 
}}
 
}}
 
{{#vardefine:qualitySort|2}}{{#vardefine:quality|Normal}}
 
{{#vardefine:qualitySort|2}}{{#vardefine:quality|Normal}}
{{#if:{{#var:stufftags}}
+
{{#if:{{#var:stufftags}} |
   | {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery}}   || [[Stuff Category::Leathery]]   OR}}
+
   {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery}} || [[Stuff Category::Leathery]] OR}}
            {{#ifeq: | {{#pos:{{#var:stufftags}}|fabric}}     || [[Stuff Category::Fabric]]     OR}}
+
          {{#ifeq: | {{#pos:{{#var:stufftags}}|fabric}}   || [[Stuff Category::Fabric]]   OR}}
            {{#ifeq: | {{#pos:{{#var:stufftags}}|woody}}     || [[Stuff Category::Woody]]     OR}}
+
          {{#ifeq: | {{#pos:{{#var:stufftags}}|woody}}   || [[Stuff Category::Woody]]   OR}}
            {{#ifeq: | {{#pos:{{#var:stufftags}}|stony}}     || [[Stuff Category::Stony]]     OR}}
+
          {{#ifeq: | {{#pos:{{#var:stufftags}}|stony}}   || [[Stuff Category::Stony]]   OR}}
            {{#ifeq: | {{#pos:{{#var:stufftags}}|metallic}}   || [[Stuff Category::Metallic]]  OR}}
+
          {{#ifeq: | {{#pos:{{#var:stufftags}}|metallic}} || [[Stuff Category::Metallic]] OR}} [[Stuff Category::PLACEHOLDER]]
            {{#ifeq: | {{#pos:{{#var:stufftags}}|bioferrite}} || [[Stuff Category::Bioferrite]] OR}}[[Stuff Category::PLACEHOLDER]]
 
 
     | format = template
 
     | format = template
 
     | template = Weapon Stats Table/Melee/Row
 
     | template = Weapon Stats Table/Melee/Row
Line 101: Line 101:
 
   {{#vardefine:qualitySort|3}}{{#vardefine:quality|Good}}
 
   {{#vardefine:qualitySort|3}}{{#vardefine:quality|Good}}
 
   {{#if: {{#var:stufftags}}
 
   {{#if: {{#var:stufftags}}
     | {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery}}   || [[Stuff Category::Leathery]]   OR}}
+
     | {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery}} || [[Stuff Category::Leathery]] OR}}
               {{#ifeq: | {{#pos:{{#var:stufftags}}|fabric}}     || [[Stuff Category::Fabric]]     OR}}
+
               {{#ifeq: | {{#pos:{{#var:stufftags}}|fabric}}   || [[Stuff Category::Fabric]]   OR}}
               {{#ifeq: | {{#pos:{{#var:stufftags}}|woody}}     || [[Stuff Category::Woody]]     OR}}
+
               {{#ifeq: | {{#pos:{{#var:stufftags}}|woody}}   || [[Stuff Category::Woody]]   OR}}
               {{#ifeq: | {{#pos:{{#var:stufftags}}|stony}}     || [[Stuff Category::Stony]]     OR}}
+
               {{#ifeq: | {{#pos:{{#var:stufftags}}|stony}}   || [[Stuff Category::Stony]]   OR}}
               {{#ifeq: | {{#pos:{{#var:stufftags}}|metallic}}   || [[Stuff Category::Metallic]]  OR}}
+
               {{#ifeq: | {{#pos:{{#var:stufftags}}|metallic}} || [[Stuff Category::Metallic]] OR}} [[Stuff Category::PLACEHOLDER]]
              {{#ifeq: | {{#pos:{{#var:stufftags}}|bioferrite}} || [[Stuff Category::Bioferrite]] OR}}[[Stuff Category::PLACEHOLDER]]
 
 
       | format = template
 
       | format = template
 
       | template = Weapon Stats Table/Melee/Row
 
       | template = Weapon Stats Table/Melee/Row
Line 114: Line 113:
 
   {{#vardefine:qualitySort|4}}{{#vardefine:quality|Excellent}}
 
   {{#vardefine:qualitySort|4}}{{#vardefine:quality|Excellent}}
 
   {{#if: {{#var:stufftags}}
 
   {{#if: {{#var:stufftags}}
     | {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery}}   || [[Stuff Category::Leathery]]   OR}}
+
     | {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery}} || [[Stuff Category::Leathery]] OR}}
               {{#ifeq: | {{#pos:{{#var:stufftags}}|fabric}}     || [[Stuff Category::Fabric]]     OR}}
+
               {{#ifeq: | {{#pos:{{#var:stufftags}}|fabric}}   || [[Stuff Category::Fabric]]   OR}}
               {{#ifeq: | {{#pos:{{#var:stufftags}}|woody}}     || [[Stuff Category::Woody]]     OR}}
+
               {{#ifeq: | {{#pos:{{#var:stufftags}}|woody}}   || [[Stuff Category::Woody]]   OR}}
               {{#ifeq: | {{#pos:{{#var:stufftags}}|stony}}     || [[Stuff Category::Stony]]     OR}}
+
               {{#ifeq: | {{#pos:{{#var:stufftags}}|stony}}   || [[Stuff Category::Stony]]   OR}}
               {{#ifeq: | {{#pos:{{#var:stufftags}}|metallic}}   || [[Stuff Category::Metallic]]  OR}}
+
               {{#ifeq: | {{#pos:{{#var:stufftags}}|metallic}} || [[Stuff Category::Metallic]] OR}} [[Stuff Category::PLACEHOLDER]]
              {{#ifeq: | {{#pos:{{#var:stufftags}}|bioferrite}} || [[Stuff Category::Bioferrite]] OR}}[[Stuff Category::PLACEHOLDER]]
 
 
       | format = template
 
       | format = template
 
       | template = Weapon Stats Table/Melee/Row
 
       | template = Weapon Stats Table/Melee/Row
Line 127: Line 125:
 
   {{#vardefine:qualitySort|5}}{{#vardefine:quality|Masterwork}}
 
   {{#vardefine:qualitySort|5}}{{#vardefine:quality|Masterwork}}
 
   {{#if: {{#var:stufftags}}
 
   {{#if: {{#var:stufftags}}
     | {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery}}   || [[Stuff Category::Leathery]]   OR}}
+
     | {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery}} || [[Stuff Category::Leathery]] OR}}
               {{#ifeq: | {{#pos:{{#var:stufftags}}|fabric}}     || [[Stuff Category::Fabric]]     OR}}
+
               {{#ifeq: | {{#pos:{{#var:stufftags}}|fabric}}   || [[Stuff Category::Fabric]]   OR}}
               {{#ifeq: | {{#pos:{{#var:stufftags}}|woody}}     || [[Stuff Category::Woody]]     OR}}
+
               {{#ifeq: | {{#pos:{{#var:stufftags}}|woody}}   || [[Stuff Category::Woody]]   OR}}
               {{#ifeq: | {{#pos:{{#var:stufftags}}|stony}}     || [[Stuff Category::Stony]]     OR}}
+
               {{#ifeq: | {{#pos:{{#var:stufftags}}|stony}}   || [[Stuff Category::Stony]]   OR}}
               {{#ifeq: | {{#pos:{{#var:stufftags}}|metallic}}   || [[Stuff Category::Metallic]]  OR}}
+
               {{#ifeq: | {{#pos:{{#var:stufftags}}|metallic}} || [[Stuff Category::Metallic]] OR}} [[Stuff Category::PLACEHOLDER]]
              {{#ifeq: | {{#pos:{{#var:stufftags}}|bioferrite}} || [[Stuff Category::Bioferrite]] OR}}[[Stuff Category::PLACEHOLDER]]
 
 
       | format = template
 
       | format = template
 
       | template = Weapon Stats Table/Melee/Row
 
       | template = Weapon Stats Table/Melee/Row
Line 140: Line 137:
 
   {{#vardefine:qualitySort|6}}{{#vardefine:quality|Legendary}}
 
   {{#vardefine:qualitySort|6}}{{#vardefine:quality|Legendary}}
 
   {{#if: {{#var:stufftags}}
 
   {{#if: {{#var:stufftags}}
     | {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery}}   || [[Stuff Category::Leathery]]   OR}}
+
     | {{#ask: {{#ifeq: | {{#pos:{{#var:stufftags}}|leathery}} || [[Stuff Category::Leathery]] OR}}
               {{#ifeq: | {{#pos:{{#var:stufftags}}|fabric}}     || [[Stuff Category::Fabric]]     OR}}
+
               {{#ifeq: | {{#pos:{{#var:stufftags}}|fabric}}   || [[Stuff Category::Fabric]]   OR}}
               {{#ifeq: | {{#pos:{{#var:stufftags}}|woody}}     || [[Stuff Category::Woody]]     OR}}
+
               {{#ifeq: | {{#pos:{{#var:stufftags}}|woody}}   || [[Stuff Category::Woody]]   OR}}
               {{#ifeq: | {{#pos:{{#var:stufftags}}|stony}}     || [[Stuff Category::Stony]]     OR}}
+
               {{#ifeq: | {{#pos:{{#var:stufftags}}|stony}}   || [[Stuff Category::Stony]]   OR}}
               {{#ifeq: | {{#pos:{{#var:stufftags}}|metallic}}   || [[Stuff Category::Metallic]]  OR}}
+
               {{#ifeq: | {{#pos:{{#var:stufftags}}|metallic}} || [[Stuff Category::Metallic]] OR}} [[Stuff Category::PLACEHOLDER]]
              {{#ifeq: | {{#pos:{{#var:stufftags}}|bioferrite}} || [[Stuff Category::Bioferrite]] OR}}[[Stuff Category::PLACEHOLDER]]
 
 
       | format = template
 
       | format = template
 
       | template = Weapon Stats Table/Melee/Row
 
       | template = Weapon Stats Table/Melee/Row

Please note that all contributions to RimWorld Wiki are considered to be released under the CC BY-SA 3.0 (see RimWorld Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)