Difference between revisions of "Template:Weapon Iterated DPS Chart"
(Removed redirect to Template:Weapon DPS Iterator) Tag: Removed redirect |
|||
Line 1: | Line 1: | ||
− | <includeonly>{{GraphChart|width=400 | + | <includeonly>{{#vardefine:range | {{Q|{{{1|{{PAGENAME}} }}}| Range}} }}<!-- |
+ | -->{{GraphChart|width=400 | ||
|height=200 | |height=200 | ||
|type=area | |type=area | ||
Line 8: | Line 9: | ||
|yAxisMax = 30 | |yAxisMax = 30 | ||
|yAxisTitle=DPS | |yAxisTitle=DPS | ||
− | |x= {{#var: | + | |x= 2{{#ifexpr: {{#var:range}} >= 3| ,3 }}<!-- |
+ | -->{{#ifexpr: {{#var:range}} >= 4| ,4 }}<!-- | ||
+ | -->{{#ifexpr: {{#var:range}} >= 5| ,5 }}<!-- | ||
+ | -->{{#ifexpr: {{#var:range}} >= 6| ,6 }}<!-- | ||
+ | -->{{#ifexpr: {{#var:range}} >= 7| ,7 }}<!-- | ||
+ | -->{{#ifexpr: {{#var:range}} >= 8| ,8 }}<!-- | ||
+ | -->{{#ifexpr: {{#var:range}} >= 9| ,9 }}<!-- | ||
+ | -->{{#ifexpr: {{#var:range}} >= 10| ,10 }}<!-- | ||
+ | -->{{#ifexpr: {{#var:range}} >= 11| ,11 }}<!-- | ||
+ | -->{{#ifexpr: {{#var:range}} >= 12| ,12 }}<!-- | ||
+ | -->{{#ifexpr: {{#var:range}} >= 13| ,13 }}<!-- | ||
+ | -->{{#ifexpr: {{#var:range}} >= 14| ,14 }}<!-- | ||
+ | -->{{#ifexpr: {{#var:range}} >= 15| ,15 }}<!-- | ||
+ | -->{{#ifexpr: {{#var:range}} >= 16| ,16 }}<!-- | ||
+ | -->{{#ifexpr: {{#var:range}} >= 17| ,17 }}<!-- | ||
+ | -->{{#ifexpr: {{#var:range}} >= 18| ,18 }}<!-- | ||
+ | -->{{#ifexpr: {{#var:range}} >= 19| ,19 }}<!-- | ||
+ | -->{{#ifexpr: {{#var:range}} >= 20| ,20 }}<!-- | ||
+ | -->{{#ifexpr: {{#var:range}} >= 21| ,21 }}<!-- | ||
+ | -->{{#ifexpr: {{#var:range}} >= 22| ,22 }}<!-- | ||
+ | -->{{#ifexpr: {{#var:range}} >= 23| ,23 }}<!-- | ||
+ | -->{{#ifexpr: {{#var:range}} >= 24| ,24 }}<!-- | ||
+ | -->{{#ifexpr: {{#var:range}} >= 25| ,25 }}<!-- | ||
+ | -->{{#ifexpr: {{#var:range}} >= 26| ,26 }}<!-- | ||
+ | -->{{#ifexpr: {{#var:range}} >= 27| ,27 }}<!-- | ||
+ | -->{{#ifexpr: {{#var:range}} >= 28| ,28 }}<!-- | ||
+ | -->{{#ifexpr: {{#var:range}} >= 29| ,29 }}<!-- | ||
+ | -->{{#ifexpr: {{#var:range}} >= 30| ,30 }}<!-- | ||
+ | -->{{#ifexpr: {{#var:range}} >= 31| ,31 }}<!-- | ||
+ | -->{{#ifexpr: {{#var:range}} >= 32| ,32 }}<!-- | ||
+ | -->{{#ifexpr: {{#var:range}} >= 33| ,33 }}<!-- | ||
+ | -->{{#ifexpr: {{#var:range}} >= 34| ,34 }}<!-- | ||
+ | -->{{#ifexpr: {{#var:range}} >= 35| ,35 }}<!-- | ||
+ | -->{{#ifexpr: {{#var:range}} >= 36| ,36 }}<!-- | ||
+ | -->{{#ifexpr: {{#var:range}} >= 37| ,37 }}<!-- | ||
+ | -->{{#ifexpr: {{#var:range}} >= 38| ,38 }}<!-- | ||
+ | -->{{#ifexpr: {{#var:range}} >= 39| ,39 }}<!-- | ||
+ | -->{{#ifexpr: {{#var:range}} >= 40| ,40 }}<!-- | ||
+ | -->{{#ifexpr: {{#var:range}} >= 41| ,41 }}<!-- | ||
+ | -->{{#ifexpr: {{#var:range}} >= 42| ,42 }}<!-- | ||
+ | -->{{#ifexpr: {{#var:range}} >= 43| ,43 }}<!-- | ||
+ | -->{{#ifexpr: {{#var:range}} >= 44| ,44 }}<!-- | ||
+ | -->{{#ifexpr: {{#var:range}} >= 45| ,45 }}<!-- | ||
+ | -->{{#ifexpr: {{#var:range}} >= 46| ,46 }} | ||
|y1= {{Weapon DPS Iterator|{{{1|{{PAGENAME}} }}}|{{lc:{{{2|Normal}}}}}|{{{3|1}}}}} | |y1= {{Weapon DPS Iterator|{{{1|{{PAGENAME}} }}}|{{lc:{{{2|Normal}}}}}|{{{3|1}}}}} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 14:41, 6 February 2021
Summary
Creates a graph showing the DPS that a ranged weapon is capable of at each range, including parameters for accounting for quality and the shooting accuracy of the wielder.
The dimensions and display are standardized to offer ease of comparison.
This template is dependent on Template: Weapon DPS Iterator, which in turn is dependent on Template:Weapon Iterated DPS Chart Segment
Usage
Without parameters, the template will display the chart for the current PAGENAME, assuming normal quality. For example, if the following was used on the assault rifle page:
{{Weapon Iterated DPS Chart}}
it would produce:
The first parameter, if present, allows the weapon to be chosen if it is not used on the page of the weapon in question. The template will display the chart for the chosen weapon, assuming normal quality. For example, if the following was used on any page:
{{Weapon Iterated DPS Chart|Sniper rifle}}
it would produce:
The second parameter, if present, allows the quality of the weapon to be chosen. It can be used with or without first parameter. The template will display the chart for the chosen weapon and quality. For example, if the following was used on the minigun page
{{Weapon Iterated DPS Chart||Legendary}}
it would produce:
The third parameter, if present, allows the Shooting Accuracy of the shooter to be chosen, expressed as a value from 0 to 1. It can be used with or without first and second parameter. The template will display the chart for the chosen weapon, quality and shooting accuracy. For example, if the following was used on the Charge rifle page
{{Weapon Iterated DPS Chart|||0.95}}
it would produce:
The above documentation is transcluded from Template:Weapon Iterated DPS Chart/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. |