Difference between revisions of "Template:Weapon Stats Table/doc"
(moved) |
|||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
== Description == | == Description == | ||
− | This template generates a table summarizing stats for an given [[weapon]], including average damage per second, armor piercing and Market Value, for each [[quality]] tier. | + | This template generates a table summarizing stats for an given [[weapon]], including average damage per second, armor piercing and Market Value, for each [[quality]] tier (if applicable) and every [[stuff]] option (if applicable). |
− | Note that | + | Note that at the time of writing, weapons with no quality are hardcoded into the template, rather than pulled from the page properties. New no-quality weapons must be manually excepted from the template. |
[[Property:Mode]] must be set to properly display melee weapons, otherwise it will default to the ranged format. | [[Property:Mode]] must be set to properly display melee weapons, otherwise it will default to the ranged format. | ||
− | This template is | + | 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. | ||
== Parameters == | == Parameters == | ||
The first parameter (if present) will specify which weapon to generate the template for. | The first parameter (if present) will specify which weapon to generate the template for. | ||
If absent, <code><nowiki>{{PAGENAME}}</nowiki></code> will be used. | If absent, <code><nowiki>{{PAGENAME}}</nowiki></code> will be used. | ||
+ | |||
+ | The <code><nowiki>no header</nowiki></code> parameter will disable the top heading, but not the subheadings for ranged and melee attacks, when set to true. | ||
+ | |||
+ | The <code><nowiki>header level</nowiki></code> parameter takes numbers and sets the size of the headings - note that top heading is sized by the number directly, with subheading one size smaller. Default value is 2. It can be used with or without <code><nowiki>no header</nowiki></code>. | ||
== Example usage == | == Example usage == | ||
− | <nowiki>{{Weapon | + | <nowiki>{{Weapon Stats Table | Persona monosword}}</nowiki> |
Produces: | Produces: | ||
− | {{Weapon | + | {{Weapon Stats Table | Persona monosword|}} |
− | <nowiki>{{Weapon | + | <nowiki>{{Weapon Stats Table | Assault rifle|}}</nowiki> |
Produces: | Produces: | ||
− | {{Weapon | + | {{Weapon Stats Table | Assault rifle|}} |
− | <nowiki>{{Weapon | + | <nowiki>{{Weapon Stats Table | Incendiary launcher|}}</nowiki> |
Produces: | Produces: | ||
− | {{Weapon | + | {{Weapon Stats Table | Incendiary launcher|}} |
<includeonly>[[Category:Customized table templates]]</includeonly> | <includeonly>[[Category:Customized table templates]]</includeonly> | ||
<noinclude>[[Category:Template documentation]]</noinclude> | <noinclude>[[Category:Template documentation]]</noinclude> |
Latest revision as of 10:20, 25 April 2023
Description[edit]
This template generates a table summarizing stats for an given weapon, including average damage per second, armor piercing and Market Value, for each quality tier (if applicable) and every stuff option (if applicable).
Note that at the time of writing, weapons with no quality are hardcoded into the template, rather than pulled from the page properties. New no-quality weapons must be manually excepted from the template.
Property:Mode must be set to properly display melee weapons, otherwise it will default to the ranged format.
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[edit]
The first parameter (if present) will specify which weapon to generate the template for.
If absent, {{PAGENAME}}
will be used.
The no header
parameter will disable the top heading, but not the subheadings for ranged and melee attacks, when set to true.
The header level
parameter takes numbers and sets the size of the headings - note that top heading is sized by the number directly, with subheading one size smaller. Default value is 2. It can be used with or without no header
.
Example usage[edit]
{{Weapon Stats Table | Persona monosword}}
Produces:
Attack table
Feature | Toggle |
---|---|
Attacks |
Persona monosword | Handle (Blunt) | Point (Stab) | Edge (Cut) | Human: Left & right fist (Blunt) | HP | Value | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Quality |
DPS[1] | AP[1] | Dam. | Cool. | AP | DPS | Chance[2] | Dam. | Cool. | AP | DPS | Chance[2] | Dam. | Cool. | AP | DPS | Chance[2] | Dam. | Cool. | AP | DPS | Chance[2] | ||
Awful | 11.63 | 57.6% | 9.6 | 1.6s | 14.4% | 6 | 25% | 21.6 | 1.6s | 72% | 13.5 | 37.5% | 21.6 | 1.6s | 72% | 13.5 | 37.5% | 8.2 | 2s | 12% | 4.1 | 2× 0% | 100 | 1500 |
Poor | 13.08 | 64.8% | 10.8 | 1.6s | 16.2% | 6.75 | 25% | 24.3 | 1.6s | 81% | 15.19 | 37.5% | 24.3 | 1.6s | 81% | 15.19 | 37.5% | 8.2 | 2s | 12% | 4.1 | 2× 0% | 100 | 2250 |
Normal | 14.53 | 72% | 12 | 1.6s | 18% | 7.5 | 25% | 27 | 1.6s | 90% | 16.88 | 37.5% | 27 | 1.6s | 90% | 16.88 | 37.5% | 8.2 | 2s | 12% | 4.1 | 2× 0% | 100 | 3000 |
Good | 15.98 | 79.2% | 13.2 | 1.6s | 19.8% | 8.25 | 25% | 29.7 | 1.6s | 99% | 18.56 | 37.5% | 29.7 | 1.6s | 99% | 18.56 | 37.5% | 8.2 | 2s | 12% | 4.1 | 2× 0% | 100 | 3500 |
Excellent | 17.44 | 86.4% | 14.4 | 1.6s | 21.6% | 9 | 25% | 32.4 | 1.6s | 108% | 20.25 | 37.5% | 32.4 | 1.6s | 108% | 20.25 | 37.5% | 8.2 | 2s | 12% | 4.1 | 2× 0% | 100 | 4000 |
Masterwork | 24.47 | 130.5% | 17.4 | 1.6s | 26.1% | 10.88 | 0% | 39.15 | 1.6s | 130.5% | 24.47 | 50% | 39.15 | 1.6s | 130.5% | 24.47 | 50% | 8.2 | 2s | 12% | 4.1 | 2× 0% | 100 | 5000 |
Legendary | 27.84 | 148.5% | 19.8 | 1.6s | 29.7% | 12.38 | 0% | 44.55 | 1.6s | 148.5% | 27.84 | 50% | 44.55 | 1.6s | 148.5% | 27.84 | 50% | 8.2 | 2s | 12% | 4.1 | 2× 0% | 100 | 6000 |
For the full effects of qualities, see Quality.
- ↑ 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 if the weapon is wielded by some other than a baseline human. - ↑ 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
{{Weapon Stats Table | Assault rifle|}}
Produces:
Attack table
Ranged
For the full effects of qualities, see Quality. Values shown in Red indicate the weapon is out of range at the reference point for this range band.
The value is provided due to the interpolated nature of accuracy between range points.
Melee
Feature | Toggle |
---|---|
Attacks |
Assault rifle | Stock (Blunt) | Barrel (Blunt) | Barrel (Poke) | Human: Left & right fist (Blunt) | HP | Value | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Quality |
DPS[1] | AP[1] | Dam. | Cool. | AP | DPS | Chance[2] | Dam. | Cool. | AP | DPS | Chance[2] | Dam. | Cool. | AP | DPS | Chance[2] | Dam. | Cool. | AP | DPS | Chance[2] | ||
Awful | 3.98 | 11.6% | 7.2 | 2s | 10.4% | 3.6 | 8.33% | 7.2 | 2s | 10.4% | 3.6 | 8.33% | 7.2 | 2s | 10.4% | 3.6 | 8.33% | 8.2 | 2s | 12% | 4.1 | 2× 37.5% | 100 | 240 |
Poor | 4.07 | 11.82% | 8.1 | 2s | 11.7% | 4.05 | 20% | 8.1 | 2s | 11.7% | 4.05 | 20% | 8.1 | 2s | 11.7% | 4.05 | 20% | 8.2 | 2s | 12% | 4.1 | 2× 20% | 100 | 360 |
Normal | 4.4 | 12.75% | 9 | 2s | 13% | 4.5 | 25% | 9 | 2s | 13% | 4.5 | 25% | 9 | 2s | 13% | 4.5 | 25% | 8.2 | 2s | 12% | 4.1 | 2× 12.5% | 100 | 480 |
Good | 4.74 | 13.73% | 9.9 | 2s | 14.3% | 4.95 | 25% | 9.9 | 2s | 14.3% | 4.95 | 25% | 9.9 | 2s | 14.3% | 4.95 | 25% | 8.2 | 2s | 12% | 4.1 | 2× 12.5% | 100 | 600 |
Excellent | 5.08 | 14.7% | 10.8 | 2s | 15.6% | 5.4 | 25% | 10.8 | 2s | 15.6% | 5.4 | 25% | 10.8 | 2s | 15.6% | 5.4 | 25% | 8.2 | 2s | 12% | 4.1 | 2× 12.5% | 100 | 720 |
Masterwork | 5.92 | 17.14% | 13.05 | 2s | 18.85% | 6.53 | 25% | 13.05 | 2s | 18.85% | 6.53 | 25% | 13.05 | 2s | 18.85% | 6.53 | 25% | 8.2 | 2s | 12% | 4.1 | 2× 12.5% | 100 | 1200 |
Legendary | 6.59 | 19.09% | 14.85 | 2s | 21.45% | 7.43 | 25% | 14.85 | 2s | 21.45% | 7.43 | 25% | 14.85 | 2s | 21.45% | 7.43 | 25% | 8.2 | 2s | 12% | 4.1 | 2× 12.5% | 100 | 2400 |
For the full effects of qualities, see Quality.
- ↑ 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 if the weapon is wielded by some other than a baseline human. - ↑ 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
{{Weapon Stats Table | Incendiary launcher|}}
Produces:
Attack table
Ranged
For the full effects of qualities, see Quality.
Melee
Feature | Toggle |
---|---|
Attacks |
Incendiary launcher | Stock (Blunt) | Barrel (Blunt) | Barrel (Poke) | Human: Left & right fist (Blunt) | HP | Value | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Quality |
DPS[1] | AP[1] | Dam. | Cool. | AP | DPS | Chance[2] | Dam. | Cool. | AP | DPS | Chance[2] | Dam. | Cool. | AP | DPS | Chance[2] | Dam. | Cool. | AP | DPS | Chance[2] | ||
Awful | 3.98 | 11.6% | 7.2 | 2s | 10.4% | 3.6 | 8.33% | 7.2 | 2s | 10.4% | 3.6 | 8.33% | 7.2 | 2s | 10.4% | 3.6 | 8.33% | 8.2 | 2s | 12% | 4.1 | 2× 37.5% | 100 | 170 |
Poor | 4.07 | 11.82% | 8.1 | 2s | 11.7% | 4.05 | 20% | 8.1 | 2s | 11.7% | 4.05 | 20% | 8.1 | 2s | 11.7% | 4.05 | 20% | 8.2 | 2s | 12% | 4.1 | 2× 20% | 100 | 255 |
Normal | 4.4 | 12.75% | 9 | 2s | 13% | 4.5 | 25% | 9 | 2s | 13% | 4.5 | 25% | 9 | 2s | 13% | 4.5 | 25% | 8.2 | 2s | 12% | 4.1 | 2× 12.5% | 100 | 340 |
Good | 4.74 | 13.73% | 9.9 | 2s | 14.3% | 4.95 | 25% | 9.9 | 2s | 14.3% | 4.95 | 25% | 9.9 | 2s | 14.3% | 4.95 | 25% | 8.2 | 2s | 12% | 4.1 | 2× 12.5% | 100 | 425 |
Excellent | 5.08 | 14.7% | 10.8 | 2s | 15.6% | 5.4 | 25% | 10.8 | 2s | 15.6% | 5.4 | 25% | 10.8 | 2s | 15.6% | 5.4 | 25% | 8.2 | 2s | 12% | 4.1 | 2× 12.5% | 100 | 510 |
Masterwork | 5.92 | 17.14% | 13.05 | 2s | 18.85% | 6.53 | 25% | 13.05 | 2s | 18.85% | 6.53 | 25% | 13.05 | 2s | 18.85% | 6.53 | 25% | 8.2 | 2s | 12% | 4.1 | 2× 12.5% | 100 | 850 |
Legendary | 6.59 | 19.09% | 14.85 | 2s | 21.45% | 7.43 | 25% | 14.85 | 2s | 21.45% | 7.43 | 25% | 14.85 | 2s | 21.45% | 7.43 | 25% | 8.2 | 2s | 12% | 4.1 | 2× 12.5% | 100 | 1700 |
For the full effects of qualities, see Quality.
- ↑ 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 if the weapon is wielded by some other than a baseline human. - ↑ 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