Difference between revisions of "Template:Weapon Stats Table/Ranged"
Jump to navigation
Jump to search
Quality.
Quality.
Quality.
Quality.
Quality.
(simplified; it's probably best if calculations are always done with absolute values, not percentages) |
|||
Line 1: | Line 1: | ||
− | <includeonly | + | <includeonly><div><li style="display: inline-table;"> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{| {{STDT|sortable c_03 text-center}} | {| {{STDT|sortable c_03 text-center}} | ||
|- | |- | ||
Line 14: | Line 5: | ||
! Dam. | ! Dam. | ||
! {{AP}} | ! {{AP}} | ||
− | {{#if: {{Q|{{# | + | {{#if: {{#vardefineecho:missRadius| {{Q|{{#vardefineecho:name| {{{ 1 | {{PAGENAME}} }}} }}|Miss Radius}} }} || |
− | < | + | ! <abbr title="Base weapon accuracy at Touch Range (3 tiles)">Accuracy<br/>(Touch)</abbr> |
− | < | + | ! <abbr title="Base weapon accuracy at Short Range (12 tiles)">Accuracy<br/>(Short)</abbr> |
− | < | + | ! <abbr title="Base weapon accuracy at Medium Range (25 tiles)">Accuracy<br/>(Medium)</abbr> |
− | < | + | ! <abbr title="Base weapon accuracy at Long Range (40 tiles)">Accuracy<br/>(Long)</abbr> |
}} | }} | ||
− | < | + | ! <abbr title="Damage Per Second assuming all shots hit">DPS<br/>(Optimal)</abbr> |
− | {{#if: | + | {{#if: {{#var:missRadius}} || |
− | < | + | ! <abbr title="DPS x Accuracy at Touch Range (3 tiles) assuming perfect shooter accuracy">DPS<br/>(Touch)</abbr> |
− | < | + | ! <abbr title="DPS x Accuracy at Short Range (12 tiles) assuming perfect shooter accuracy">DPS<br/>(Short)</abbr> |
− | < | + | ! <abbr title="DPS x Accuracy at Medium Range (25 tiles) assuming perfect shooter accuracy">DPS<br/>(Medium)</abbr> |
− | < | + | ! <abbr title="DPS x Accuracy at Long Range (40 tiles) assuming perfect shooter accuracy">DPS<br/>(Long)</abbr> |
}} | }} | ||
! Market Value | ! Market Value | ||
|- | |- | ||
− | !style="text-align:right;" |'''Awful {{#var:name}}''' | + | ! style="text-align:right;" | '''Awful {{#var:name}}''' |
− | | {{ #expr: 0.9*{{#var: | + | | {{#expr: 0.9*{{#vardefineecho:damage| {{formatnum:{{Q|{{#var:name}}|Damage Base}}|R}} }} round 2}} |
− | | {{#if: {{Q|{{#var:name}}|Armor Penetration}} | {{ | + | | {{#if: {{#vardefineecho:avgAP| {{formatnum:{{Q|{{#var:name}}|Armor Penetration}}|R}}/100 }} | {{%|0.9*{{#var:avgAP}} round 4}} | -}} |
− | {{#if: | + | {{#if: {{#var:missRadius}} || |
− | + | {{!}} {{#if: {{#vardefineecho:accTouch| {{formatnum:{{Q|{{#var:name}}|Accuracy (Touch) Base}}|R}} /100|}} | {{#ifexpr: 0.8*{{#var:accTouch}} > 1 | 100% | {{%| 0.8*{{#var:accTouch}} round 2}} }} | -}} | |
− | + | {{!}} {{#if: {{#vardefineecho:accShort| {{formatnum:{{Q|{{#var:name}}|Accuracy (Short) Base}}|R}} /100|}} | {{#ifexpr: 0.8*{{#var:accShort}} > 1 | 100% | {{%| 0.8*{{#var:accShort}} round 2}} }} | -}} | |
− | + | {{!}} {{#if: {{#vardefineecho:accMedium| {{formatnum:{{Q|{{#var:name}}|Accuracy (Medium) Base}}|R}}/100|}} | {{#ifexpr: 0.8*{{#var:accMedium}} > 1 | 100% | {{%| 0.8*{{#var:accMedium}} round 2}} }} | -}} | |
− | + | {{!}} {{#if: {{#vardefineecho:accLong| {{formatnum:{{Q|{{#var:name}}|Accuracy (Long) Base}}|R}} /100|}} | {{#ifexpr: 0.8*{{#var:accLong}} > 1 | 100% | {{%| 0.8*{{#var:accLong}} round 2}} }} | -}} | |
}} | }} | ||
− | + | | {{#expr: 0.9*{{#vardefineecho:avgDPS | {{formatnum:{{Q|{{#var:name}}|Maximum DPS}}|R}} }} round 2}} | |
− | {{#if: | + | {{#if: {{#var:missRadius}} || |
− | {{#if:{{Q| {{#var:name}} | Accuracy (Touch) Base}}| | + | {{#if:{{Q| {{#var:name}} | Accuracy (Touch) Base}} | |
− | {{!}} {{#expr: {{#ifexpr | + | {{!}} {{#expr: {{#ifexpr: 0.8*{{#var:accTouch}} > 1 | 1 | {{#expr: 0.8*{{#var:accTouch}} round 2}} }} * {{#var:avgDPS}}*0.9 round 2}} |
− | {{!}} {{#expr: {{#ifexpr | + | {{!}} {{#expr: {{#ifexpr: 0.8*{{#var:accShort}} > 1 | 1 | {{#expr: 0.8*{{#var:accShort}} round 2}} }} * {{#var:avgDPS}}*0.9 round 2}} |
− | {{!}} {{#expr: {{#ifexpr | + | {{!}} {{#expr: {{#ifexpr: 0.8*{{#var:accMedium}} > 1 | 1 | {{#expr: 0.8*{{#var:accMedium}} round 2}} }} * {{#var:avgDPS}}*0.9 round 2}} |
− | {{!}} {{#expr: {{#ifexpr | + | {{!}} {{#expr: {{#ifexpr: 0.8*{{#var:accLong}} > 1 | 1 | {{#expr: 0.8*{{#var:accLong}} round 2}} }} * {{#var:avgDPS}}*0.9 round 2}} |
− | {{! | + | | {{!!}} - {{!!}} - {{!!}} - {{!!}} - |
− | }} | + | }} }} |
− | + | | {{Market Value Calculator|{{#var:name}}||Awful}} {{Icon Small|silver}} | |
− | | {{Market Value Calculator|{{#var:name}}||Awful}} {{ | ||
|- | |- | ||
− | + | ! style="text-align:right;" | '''Poor {{#var:name}}''' | |
− | !style="text-align:right;"|'''Poor {{#var:name}}''' | + | | {{#var:damage}} |
− | | | + | | {{#if: {{#var:avgAP}} | {{%|{{#var:avgAP}} round 4}} | -}} |
− | | {{#if: | + | {{#if: {{#var:missRadius}} || |
− | {{#if: | + | {{!}} {{#if: {{#var:accTouch}} | {{#ifexpr: 0.9*{{#var:accTouch}} > 1 | 100% | {{%| 0.9*{{#var:accTouch}} round 2}} }} | -}} |
− | + | {{!}} {{#if: {{#var:accShort}} | {{#ifexpr: 0.9*{{#var:accShort}} > 1 | 100% | {{%| 0.9*{{#var:accShort}} round 2}} }} | -}} | |
− | + | {{!}} {{#if: {{#var:accMedium}} | {{#ifexpr: 0.9*{{#var:accMedium}} > 1 | 100% | {{%| 0.9*{{#var:accMedium}} round 2}} }} | -}} | |
− | + | {{!}} {{#if: {{#var:accLong}} | {{#ifexpr: 0.9*{{#var:accLong}} > 1 | 100% | {{%| 0.9*{{#var:accLong}} round 2}} }} | -}} | |
− | |||
}} | }} | ||
− | + | | {{#var:avgDPS}} | |
− | {{#if: | + | {{#if: {{#var:missRadius}} || |
− | {{#if: | + | {{#if: {{#var:accTouch}} | |
− | {{!}} {{#expr: {{#ifexpr | + | {{!}} {{#expr: {{#ifexpr: 0.9*{{#var:accTouch}} > 1 | 1 | {{#expr: 0.9*{{#var:accTouch}} round 2}} }} * {{#var:avgDPS}} round 2}} |
− | {{!}} {{#expr: {{#ifexpr | + | {{!}} {{#expr: {{#ifexpr: 0.9*{{#var:accShort}} > 1 | 1 | {{#expr: 0.9*{{#var:accShort}} round 2}} }} * {{#var:avgDPS}} round 2}} |
− | {{!}} {{#expr: {{#ifexpr | + | {{!}} {{#expr: {{#ifexpr: 0.9*{{#var:accMedium}} > 1 | 1 | {{#expr: 0.9*{{#var:accMedium}} round 2}} }} * {{#var:avgDPS}} round 2}} |
− | {{!}} {{#expr: {{#ifexpr | + | {{!}} {{#expr: {{#ifexpr: 0.9*{{#var:accLong}} > 1 | 1 | {{#expr: 0.9*{{#var:accLong}} round 2}} }} * {{#var:avgDPS}} round 2}} |
− | {{! | + | | {{!!}} - {{!!}} - {{!!}} - {{!!}} - |
− | }} | + | }} }} |
− | + | | {{Market Value Calculator|{{#var:name}}||Poor}} {{Icon Small|silver}} | |
− | | {{Market Value Calculator|{{#var:name}}||Poor}} {{ | ||
|- | |- | ||
− | ! style="text-align:right;" |'''Normal {{#var:name}}''' | + | ! style="text-align:right;" | '''Normal {{#var:name}}''' |
− | | | + | | {{#var:damage}} |
− | | {{#if: | + | | {{#if: {{#var:avgAP}} | {{%|{{#var:avgAP}} round 4}} | -}} |
− | {{#if: | + | {{#if: {{#var:missRadius}} || |
− | + | {{!}} {{#if: {{#var:accTouch}} | {{#ifexpr: {{#var:accTouch}} > 1 | 100% | {{%| {{#var:accTouch}} }} }} | -}} | |
− | + | {{!}} {{#if: {{#var:accShort}} | {{#ifexpr: {{#var:accShort}} > 1 | 100% | {{%| {{#var:accShort}} }} }} | -}} | |
− | + | {{!}} {{#if: {{#var:accMedium}} | {{#ifexpr: {{#var:accMedium}} > 1 | 100% | {{%| {{#var:accMedium}} }} }} | -}} | |
− | + | {{!}} {{#if: {{#var:accLong}} | {{#ifexpr: {{#var:accLong}} > 1 | 100% | {{%| {{#var:accLong}} }} }} | -}} | |
}} | }} | ||
− | + | | {{#var:avgDPS}} | |
− | {{#if: | + | {{#if: {{#var:missRadius}} || |
− | {{#if: | + | {{#if: {{#var:accTouch}} | |
− | {{!}} {{#expr: {{#ifexpr: | + | {{!}} {{#expr: {{#ifexpr: {{#var:accTouch}} > 1 | 1 | {{#var:accTouch}} }} * {{#var:avgDPS}} round 2}} |
− | {{!}} {{#expr: {{#ifexpr: | + | {{!}} {{#expr: {{#ifexpr: {{#var:accShort}} > 1 | 1 | {{#var:accShort}} }} * {{#var:avgDPS}} round 2}} |
− | {{!}} {{#expr: {{#ifexpr: | + | {{!}} {{#expr: {{#ifexpr: {{#var:accMedium}} > 1 | 1 | {{#var:accMedium}} }} * {{#var:avgDPS}} round 2}} |
− | {{!}} {{#expr: {{#ifexpr: | + | {{!}} {{#expr: {{#ifexpr: {{#var:accLong}} > 1 | 1 | {{#var:accLong}} }} * {{#var:avgDPS}} round 2}} |
− | {{! | + | | {{!!}} - {{!!}} - {{!!}} - {{!!}} - |
− | }} | + | }} }} |
− | + | | {{Market Value Calculator|{{#var:name}}||Normal}} {{Icon Small|silver}} | |
− | | {{Market Value Calculator|{{#var:name}}||Normal}} {{ | ||
|- | |- | ||
− | ! style="text-align:right;" |'''Good {{#var:name}}''' | + | ! style="text-align:right;" | '''Good {{#var:name}}''' |
− | | | + | | {{#var:damage}} |
− | | {{#if: | + | | {{#if: {{#var:avgAP}} | {{%|{{#var:avgAP}} round 4}} | -}} |
− | {{#if: | + | {{#if: {{#var:missRadius}} || |
− | + | {{!}} {{#if: {{#var:accTouch}} | {{#ifexpr: 1.1*{{#var:accTouch}} > 1 | 100% | {{%| 1.1*{{#var:accTouch}} round 2}} }} | -}} | |
− | + | {{!}} {{#if: {{#var:accShort}} | {{#ifexpr: 1.1*{{#var:accShort}} > 1 | 100% | {{%| 1.1*{{#var:accShort}} round 2}} }} | -}} | |
− | + | {{!}} {{#if: {{#var:accMedium}} | {{#ifexpr: 1.1*{{#var:accMedium}} > 1 | 100% | {{%| 1.1*{{#var:accMedium}} round 2}} }} | -}} | |
− | + | {{!}} {{#if: {{#var:accLong}} | {{#ifexpr: 1.1*{{#var:accLong}} > 1 | 100% | {{%| 1.1*{{#var:accLong}} round 2}} }} | -}} | |
− | |||
− | |||
− | {{#if: | ||
− | |||
− | |||
− | |||
− | {{!}} {{# | ||
− | |||
− | |||
}} | }} | ||
− | |}} | + | | {{#var:avgDPS}} |
− | | {{Market Value Calculator|{{#var:name}}||Good}} {{ | + | {{#if: {{#var:missRadius}} || |
+ | {{#if: {{#var:accTouch}} | | ||
+ | {{!}} {{#expr: {{#ifexpr: 1.1*{{#var:accTouch}} > 1 | 1 | {{#expr: 1.1*{{#var:accTouch}} round 2}} }} * {{#var:avgDPS}} round 2}} | ||
+ | {{!}} {{#expr: {{#ifexpr: 1.1*{{#var:accShort}} > 1 | 1 | {{#expr: 1.1*{{#var:accShort}} round 2}} }} * {{#var:avgDPS}} round 2}} | ||
+ | {{!}} {{#expr: {{#ifexpr: 1.1*{{#var:accMedium}} > 1 | 1 | {{#expr: 1.1*{{#var:accMedium}} round 2}} }} * {{#var:avgDPS}} round 2}} | ||
+ | {{!}} {{#expr: {{#ifexpr: 1.1*{{#var:accLong}} > 1 | 1 | {{#expr: 1.1*{{#var:accLong}} round 2}} }} * {{#var:avgDPS}} round 2}} | ||
+ | | {{!!}} - {{!!}} - {{!!}} - {{!!}} - | ||
+ | }} }} | ||
+ | | {{Market Value Calculator|{{#var:name}}||Good}} {{Icon Small|silver}} | ||
|- | |- | ||
− | ! style="text-align:right;" |'''Excellent {{#var:name}}''' | + | ! style="text-align:right;" | '''Excellent {{#var:name}}''' |
− | | | + | | {{#var:damage}} |
− | | {{#if: | + | | {{#if: {{#var:avgAP}} | {{%|{{#var:avgAP}} round 4}} | -}} |
− | {{#if: | + | {{#if: {{#var:missRadius}} || |
− | + | {{!}} {{#if: {{#var:accTouch}} | {{#ifexpr: 1.2*{{#var:accTouch}} > 1 | 100% | {{%| 1.2*{{#var:accTouch}} round 2}} }} | -}} | |
− | + | {{!}} {{#if: {{#var:accShort}} | {{#ifexpr: 1.2*{{#var:accShort}} > 1 | 100% | {{%| 1.2*{{#var:accShort}} round 2}} }} | -}} | |
− | + | {{!}} {{#if: {{#var:accMedium}} | {{#ifexpr: 1.2*{{#var:accMedium}} > 1 | 100% | {{%| 1.2*{{#var:accMedium}} round 2}} }} | -}} | |
− | + | {{!}} {{#if: {{#var:accLong}} | {{#ifexpr: 1.2*{{#var:accLong}} > 1 | 100% | {{%| 1.2*{{#var:accLong}} round 2}} }} | -}} | |
− | |||
− | |||
− | {{#if: | ||
− | |||
− | |||
− | |||
− | {{!}} {{# | ||
− | |||
− | |||
}} | }} | ||
− | |}} | + | | {{#var:avgDPS}} |
− | | {{Market Value Calculator|{{#var:name}}||Excellent}} {{ | + | {{#if: {{#var:missRadius}} || |
+ | {{#if: {{#var:accTouch}} | | ||
+ | {{!}} {{#expr: {{#ifexpr: 1.2*{{#var:accTouch}} > 1 | 1 | {{#expr: 1.2*{{#var:accTouch}} round 2}} }} * {{#var:avgDPS}} round 2}} | ||
+ | {{!}} {{#expr: {{#ifexpr: 1.2*{{#var:accShort}} > 1 | 1 | {{#expr: 1.2*{{#var:accShort}} round 2}} }} * {{#var:avgDPS}} round 2}} | ||
+ | {{!}} {{#expr: {{#ifexpr: 1.2*{{#var:accMedium}} > 1 | 1 | {{#expr: 1.2*{{#var:accMedium}} round 2}} }} * {{#var:avgDPS}} round 2}} | ||
+ | {{!}} {{#expr: {{#ifexpr: 1.2*{{#var:accLong}} > 1 | 1 | {{#expr: 1.2*{{#var:accLong}} round 2}} }} * {{#var:avgDPS}} round 2}} | ||
+ | | {{!!}} - {{!!}} - {{!!}} - {{!!}} - | ||
+ | }} }} | ||
+ | | {{Market Value Calculator|{{#var:name}}||Excellent}} {{Icon Small|silver}} | ||
|- | |- | ||
− | ! style="text-align:right;" |'''Masterwork {{#var:name}}''' | + | ! style="text-align:right;" | '''Masterwork {{#var:name}}''' |
− | | {{ #expr: 1.25*{{#var:damage | + | | {{#expr: 1.25*{{#var:damage}} round 2}} |
− | | {{#if: | + | | {{#if: {{#var:avgAP}} | {{%|1.25*{{#var:avgAP}} round 4}} | -}} |
− | {{#if: | + | {{#if: {{#var:missRadius}} || |
− | + | {{!}} {{#if: {{#var:accTouch}} | {{#ifexpr: 1.35*{{#var:accTouch}} > 1 | 100% | {{%| 1.35*{{#var:accTouch}} round 2}} }} | -}} | |
− | + | {{!}} {{#if: {{#var:accShort}} | {{#ifexpr: 1.35*{{#var:accShort}} > 1 | 100% | {{%| 1.35*{{#var:accShort}} round 2}} }} | -}} | |
− | + | {{!}} {{#if: {{#var:accMedium}} | {{#ifexpr: 1.35*{{#var:accMedium}} > 1 | 100% | {{%| 1.35*{{#var:accMedium}} round 2}} }} | -}} | |
− | + | {{!}} {{#if: {{#var:accLong}} | {{#ifexpr: 1.35*{{#var:accLong}} > 1 | 100% | {{%| 1.35*{{#var:accLong}} round 2}} }} | -}} | |
}} | }} | ||
− | + | | {{#expr: 1.25*{{#var:avgDPS}} round 2}} | |
− | {{#if: | + | {{#if: {{#var:missRadius}} || |
− | {{#if: | + | {{#if: {{#var:accTouch}} | |
− | {{!}} {{#expr: | + | {{!}} {{#expr: {{#ifexpr: 1.35*{{#var:accTouch}} > 1 | 1 | {{#expr: 1.35*{{#var:accTouch}} round 2}} }} * {{#var:avgDPS}}*1.25 round 2}} |
− | {{!}} {{#expr: | + | {{!}} {{#expr: {{#ifexpr: 1.35*{{#var:accShort}} > 1 | 1 | {{#expr: 1.35*{{#var:accShort}} round 2}} }} * {{#var:avgDPS}}*1.25 round 2}} |
− | {{!}} {{#expr: | + | {{!}} {{#expr: {{#ifexpr: 1.35*{{#var:accMedium}} > 1 | 1 | {{#expr: 1.35*{{#var:accMedium}} round 2}} }} * {{#var:avgDPS}}*1.25 round 2}} |
− | {{!}} {{#expr: | + | {{!}} {{#expr: {{#ifexpr: 1.35*{{#var:accLong}} > 1 | 1 | {{#expr: 1.35*{{#var:accLong}} round 2}} }} * {{#var:avgDPS}}*1.25 round 2}} |
− | {{! | + | | {{!!}} - {{!!}} - {{!!}} - {{!!}} - |
− | }} | + | }} }} |
− | + | | {{Market Value Calculator|{{#var:name}}||Masterwork}} {{Icon Small|silver}} | |
− | | {{Market Value Calculator|{{#var:name}}||Masterwork}} {{ | ||
|- | |- | ||
− | ! style="text-align:right;" |'''Legendary {{#var:name}}''' | + | ! style="text-align:right;" | '''Legendary {{#var:name}}''' |
− | | {{ #expr: 1.5*{{#var:damage | + | | {{#expr: 1.5*{{#var:damage}} round 2}} |
− | | {{#if: | + | | {{#if: {{#var:avgAP}} | {{%|1.5*{{#var:avgAP}} round 4}} | -}} |
− | {{#if: | + | {{#if: {{#var:missRadius}} || |
− | + | {{!}} {{#if: {{#var:accTouch}} | {{#ifexpr: 1.5*{{#var:accTouch}} > 1 | 100% | {{%| 1.5*{{#var:accTouch}} round 2}} }} | -}} | |
− | + | {{!}} {{#if: {{#var:accShort}} | {{#ifexpr: 1.5*{{#var:accShort}} > 1 | 100% | {{%| 1.5*{{#var:accShort}} round 2}} }} | -}} | |
− | + | {{!}} {{#if: {{#var:accMedium}} | {{#ifexpr: 1.5*{{#var:accMedium}} > 1 | 100% | {{%| 1.5*{{#var:accMedium}} round 2}} }} | -}} | |
− | + | {{!}} {{#if: {{#var:accLong}} | {{#ifexpr: 1.5*{{#var:accLong}} > 1 | 100% | {{%| 1.5*{{#var:accLong}} round 2}} }} | -}} | |
}} | }} | ||
− | + | | {{#expr: 1.5*{{#var:avgDPS}} round 2}} | |
− | {{#if: | + | {{#if: {{#var:missRadius}} || |
− | {{#if: | + | {{#if: {{#var:accTouch}} | |
− | {{!}} {{#expr: | + | {{!}} {{#expr: {{#ifexpr: 1.5*{{#var:accTouch}} > 1 | 1 | {{#expr: 1.5*{{#var:accTouch}} round 2}} }} * {{#var:avgDPS}}*1.5 round 2}} |
− | {{!}} {{#expr: | + | {{!}} {{#expr: {{#ifexpr: 1.5*{{#var:accShort}} > 1 | 1 | {{#expr: 1.5*{{#var:accShort}} round 2}} }} * {{#var:avgDPS}}*1.5 round 2}} |
− | {{!}} {{#expr: | + | {{!}} {{#expr: {{#ifexpr: 1.5*{{#var:accMedium}} > 1 | 1 | {{#expr: 1.5*{{#var:accMedium}} round 2}} }} * {{#var:avgDPS}}*1.5 round 2}} |
− | {{!}} {{#expr: | + | {{!}} {{#expr: {{#ifexpr: 1.5*{{#var:accLong}} > 1 | 1 | {{#expr: 1.5*{{#var:accLong}} round 2}} }} * {{#var:avgDPS}}*1.5 round 2}} |
− | {{! | + | | {{!!}} - {{!!}} - {{!!}} - {{!!}} - |
− | }} | + | }} }} |
− | + | | {{Market Value Calculator|{{#var:name}}||Legendary}} {{Icon Small|silver}} | |
− | | {{Market Value Calculator|{{#var:name}}||Legendary}} {{ | ||
− | |||
|} | |} | ||
− | <sup>For the full effects of qualities, see [[Quality]].</sup></li></div></includeonly> <noinclude>{{Weapon Quality Table/Ranged|Incendiary launcher}} | + | <sup>For the full effects of qualities, see [[Quality]].</sup></li></div></includeonly><noinclude> |
− | + | {{Documentation wanted}} | |
− | {{Weapon Quality Table/Ranged|Assault rifle}}</noinclude> | + | {{Documentation}} |
+ | {{Weapon Quality Table/Ranged|Incendiary launcher}} | ||
+ | {{Weapon Quality Table/Ranged|Assault rifle}} | ||
+ | [[Category:Customized tabletemplates]] | ||
+ | </noinclude> |
Revision as of 00:00, 6 October 2022
This page has been marked as needing documentation of its function and purpose. You can help RimWorld Wiki by creating it here |
Summary
This template is part of the following system generating tables for all weapons:
- Template:Weapon Stats Table - Usually the template that should be called on normal pages. Creates the headers.
- Template:Weapon Stats Table/Ranged - Creates the table for ranged combat.
- Template:Weapon Stats Table/Ranged/Row - Creates the rows for the ranged combat table.
- Template:Weapon Stats Table/Melee - Creates the table for melee attacks.
- Template:Weapon Stats Table/Melee/Row - Creates the rows for the melee attacks table.
- Template:True Melee DPS Calculator - Does a lot of the calculations and defines essential variables for the /Melee/Row template.
- Template:Weapon Stats Table/Melee/Row - Creates the rows for the melee attacks table.
- Template:Weapon Stats Table/Ranged - Creates the table for ranged combat.
Parameters
If you want to use this template specifically you can specify the weapon as the first parameter:
{{Weapon Stats Table/Ranged|Sniper rifle}}
Otherwise it will use the name of the page it's placed on:
{{Weapon Stats Table/Ranged}}
Examples
Sniper rifle
A weapon with quality, no AOE, and range greater than long
{{Weapon Stats Table/Ranged|Sniper rifle}}
Chain shotgun
A weapon with quality, no AOE, and range below long
{{Weapon Stats Table/Ranged|Chain shotgun}}
Incendiary launcher
A weapon with quality and AOE
{{Weapon Stats Table/Ranged|Incendiary launcher}}
Frag grenades
A weapon with no quality and AOE
{{Weapon Stats Table/Ranged|Frag grenades}}
Charge blaster turret
A weapon with no quality and no AOE
{{Weapon Stats Table/Ranged|Charge blaster turret}}
The above documentation is transcluded from Template:Weapon Stats Table/Ranged/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
Template:Weapon Quality Table/Ranged Template:Weapon Quality Table/Ranged