Template:Weapon Iterated DPS Chart

From RimWorld Wiki
Revision as of 14:12, 6 February 2021 by Harakoni (talk | contribs) (Removed redirect to Template:Weapon DPS Iterator)
Jump to navigation Jump to search
Documentation icon Template documentation[view] [edit] [history] [purge]

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: