Difference between revisions of "Template:Weapon Iterated DPS Chart/doc"

From RimWorld Wiki
Jump to navigation Jump to search
(Created page with "Creates a graph showing the optimum DPS that a ranged weapon is capable of at each range, assuming perfect Pawn accuracy. The dimensions and display are standardized...")
 
m (category)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
Creates a graph showing the optimum [[DPS]] that a ranged [[weapon]] is capable of at each range, assuming perfect Pawn accuracy.  
+
== 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.  
 
The dimensions and display are standardized to offer ease of comparison.  
  
==Usage==
+
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:
 
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:
 
  <nowiki>{{Weapon Iterated DPS Chart}}</nowiki>
 
  <nowiki>{{Weapon Iterated DPS Chart}}</nowiki>
Line 17: Line 21:
 
it would produce:
 
it would produce:
 
{{Weapon Iterated DPS Chart|minigun|Legendary}}
 
{{Weapon Iterated DPS Chart|minigun|Legendary}}
 +
 +
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
 +
<nowiki>{{Weapon Iterated DPS Chart|||0.95}}</nowiki>
 +
it would produce:
 +
{{Weapon Iterated DPS Chart|Charge rifle||0.95}}
 +
 +
<includeonly>[[Category:Graph templates]]</includeonly>
 +
<noinclude>[[Category:Template documentation]]</noinclude>

Latest revision as of 09:23, 23 October 2022

Summary[edit]

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[edit]

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: