Difference between revisions of "Template:Other Weapon Attack Table"

From RimWorld Wiki
Jump to navigation Jump to search
(moved collapse links into appropriate columns)
(Right hand corner matches the implementation of the basic collapsible table format, its placed there for consistency's sake. ALso avoids reduplication.)
Tag: Undo
Line 11: Line 11:
 
{| {{STDT|sortable c_03 text-center}}
 
{| {{STDT|sortable c_03 text-center}}
 
! rowspan="2" style="vertical-align: middle;" | Name
 
! rowspan="2" style="vertical-align: middle;" | Name
! rowspan="2" style="vertical-align: middle;" | 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. It may also change depending on the stats and the melee verbs available to the wielder</ref><br/>[<span style="color:#0645ad;" class="mw-collapsible mw-customtoggle-collapseMeleeTable" id="mw-customcollapsible-collapseMeleeTable">Expand</span><span style="color:#0645ad;" class="mw-collapsible mw-collapsed mw-customtoggle-collapseMeleeTable" id="mw-customcollapsible-collapseMeleeTable">Collapse</span>]
+
! rowspan="2" style="vertical-align: middle;" | 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. It may also change depending on the stats and the melee verbs available to the wielder</ref>
! rowspan="2" style="vertical-align: middle;" | AP<ref name="Actual"/><br/>[<span style="color:#0645ad;" class="mw-collapsible mw-customtoggle-collapseMeleeTable" id="mw-customcollapsible-collapseMeleeTable">Expand</span><span style="color:#0645ad;" class="mw-collapsible mw-collapsed mw-customtoggle-collapseMeleeTable" id="mw-customcollapsible-collapseMeleeTable">Collapse</span>]
+
! rowspan="2" style="vertical-align: middle;" | AP<ref name="Actual"/>
 
<th class="mw-collapsible mw-collapsed" id="mw-customcollapsible-collapseMeleeTable" style="border-style: none;" colspan="5"> {{ucfirst:{{Q|{{#var:name}}|Attack 1 Part}}}} ([[Damage types#{{Q|{{#var:name}}|Attack 1 Type}}|{{Q|{{#var:name}}|Attack 1 Type}}]])</th>
 
<th class="mw-collapsible mw-collapsed" id="mw-customcollapsible-collapseMeleeTable" style="border-style: none;" colspan="5"> {{ucfirst:{{Q|{{#var:name}}|Attack 1 Part}}}} ([[Damage types#{{Q|{{#var:name}}|Attack 1 Type}}|{{Q|{{#var:name}}|Attack 1 Type}}]])</th>
 
{{#if: {{Q|{{#var:name}}|Attack 2 Damage}}|
 
{{#if: {{Q|{{#var:name}}|Attack 2 Damage}}|
Line 21: Line 21:
 
<th class="mw-collapsible mw-collapsed" id="mw-customcollapsible-collapseMeleeTable" 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 class="mw-collapsible mw-collapsed" id="mw-customcollapsible-collapseMeleeTable" 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>
 
}}
 
}}
! rowspan="2" style="vertical-align: middle;" data-sort-type="number" | Value
+
! rowspan="2" style="vertical-align: middle;" data-sort-type="number" | Value [<span style="color:#0645ad;" class="mw-collapsible mw-customtoggle-collapseMeleeTable" id="mw-customcollapsible-collapseMeleeTable">Expand</span><span style="color:#0645ad;" class="mw-collapsible mw-collapsed mw-customtoggle-collapseMeleeTable" id="mw-customcollapsible-collapseMeleeTable">Collapse</span>]
 
<tr>
 
<tr>
 
<th class="mw-collapsible mw-collapsed" id="mw-customcollapsible-collapseMeleeTable" data-sort-type="number" style="background-color:#d09c59; border:#a67d47 2px; border-style: none none solid none;"> Dam.</th>
 
<th class="mw-collapsible mw-collapsed" id="mw-customcollapsible-collapseMeleeTable" data-sort-type="number" style="background-color:#d09c59; border:#a67d47 2px; border-style: none none solid none;"> Dam.</th>

Revision as of 22:04, 31 October 2022

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


Description

This template generates a table summarizing stats for an given melee weapon, including average damage per second, armor piercing and Market Value.

This template is intended exclusively for weapons that are not stuffable, for that see Template:Weapon Material Table, and do not have quality, for that see Template:Weapon Stats Table. This template exists to give an equivalent comparison method to those tables.

Parameters

The first parameter (if present) will specify which weapon to generate the template for. If absent, {{PAGENAME}} will be used.

The second parameter (if present) suppresses the heading.

Example usage

{{Other Weapon Attack Table | Thrumbo horn}}

Produces:

Attack table

  • Name DPS[1] AP[1] Point (Stab) Point (Scratch) Base (Blunt) Value [ExpandCollapse]
    Dam. Cool. AP DPS Chance[2] Dam. Cool. AP DPS Chance[2] Dam. Cool. AP DPS Chance[2]
    Thrumbo horn 9.49 34.88% 28 2.6s 42% 10.77 38% 28 2.6s 42% 10.77 38% 9 2s 13.5% 4.5 25% 800 Silver
    1. 1.0 1.1 Note: This is the actual base average derived from the melee verb system updated in 1.1.2610, it may sometimes disagree with the listed value in the in-game infobox. It may also change depending on the stats and the melee verbs available to the wielder
    2. 2.0 2.1 2.2 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