Difference between revisions of "Template:Ranged Weapon Table Row"

From RimWorld Wiki
Jump to navigation Jump to search
(Created page with "{{#vardefine: name | {{{?Name|Pistol}}} }}{{#vardefine: DPS | {{Q| {{#var:name}} | Maximum DPS}} }}<noinclude> {| {{STDT|sortable c_06 text-center}} ! colspan=...")
 
(fixed for grenades who have no accuracy given)
Line 1: Line 1:
{{#vardefine: name        | {{{?Name|Pistol}}}
+
{{#vardefine: name        | {{{?Name|}}}
 
}}{{#vardefine: DPS        | {{Q| {{#var:name}} | Maximum DPS}}
 
}}{{#vardefine: DPS        | {{Q| {{#var:name}} | Maximum DPS}}
 
}}<noinclude>
 
}}<noinclude>
Line 8: Line 8:
 
! {{Icon Small|{{#var:name}}}}
 
! {{Icon Small|{{#var:name}}}}
 
! style='text-align: left !important; width: 10em' | [[{{#var:name}}]]
 
! style='text-align: left !important; width: 10em' | [[{{#var:name}}]]
| {{Q| {{#var:name}} | Damage Base}}
+
| {{Q| {{#var:name}} | Damage Base| ? }}
| {{Q| {{#var:name}} | Aiming Time Base}}
+
| {{Q| {{#var:name}} | Aiming Time Base| ? }}
| {{Q| {{#var:name}} | Ranged Cooldown Base}}
+
| {{Q| {{#var:name}} | Ranged Cooldown Base| - }}
| {{Q| {{#var:name}} | Range}}
+
| {{Q| {{#var:name}} | Range| ? }}
 
| {{Q| {{#var:name}} | Burst Count|1}}
 
| {{Q| {{#var:name}} | Burst Count|1}}
 
| {{Q| {{#var:name}} | Burst Ticks| - }}
 
| {{Q| {{#var:name}} | Burst Ticks| - }}
| {{Q| {{#var:name}} | Velocity}}
+
| {{Q| {{#var:name}} | Velocity| - }}
| {{Q| {{#var:name}} | Accuracy (Touch) Base}}
+
| {{Q| {{#var:name}} | Accuracy (Touch) Base| - }}
| {{Q| {{#var:name}} | Accuracy (Short) Base}}
+
| {{Q| {{#var:name}} | Accuracy (Short) Base| - }}
| {{Q| {{#var:name}} | Accuracy (Medium) Base}}
+
| {{Q| {{#var:name}} | Accuracy (Medium) Base| - }}
| {{Q| {{#var:name}} | Accuracy (Long) Base}}
+
| {{Q| {{#var:name}} | Accuracy (Long) Base| - }}
 
| {{Q| {{#var:name}} | Minimum Range| - }}
 
| {{Q| {{#var:name}} | Minimum Range| - }}
 
| {{Q| {{#var:name}} | Miss Radius| - }}
 
| {{Q| {{#var:name}} | Miss Radius| - }}
 
| {{Q| {{#var:name}} | Blast Radius| - }}
 
| {{Q| {{#var:name}} | Blast Radius| - }}
 
| {{#var:DPS}}
 
| {{#var:DPS}}
| {{#expr:{{Q| {{#var:name}} | Accuracy (Touch) Base}}*{{#var:DPS}} }}
+
{{#if:{{Q| {{#var:name}} | Accuracy (Touch) Base}}|
| {{#expr:{{Q| {{#var:name}} | Accuracy (Short) Base}}*{{#var:DPS}} }}
+
{{!}} {{#expr:{{Q| {{#var:name}} | Accuracy (Touch) Base}}/100*{{#var:DPS}} }}
| {{#expr:{{Q| {{#var:name}} | Accuracy (Medium) Base}}*{{#var:DPS}} }}
+
{{!}} {{#expr:{{Q| {{#var:name}} | Accuracy (Short) Base}}/100*{{#var:DPS}} }}
| {{#expr:{{Q| {{#var:name}} | Accuracy (Long) Base}}*{{#var:DPS}} }}
+
{{!}} {{#expr:{{Q| {{#var:name}} | Accuracy (Medium) Base}}/100*{{#var:DPS}} }}
| {{Q| {{#var:name}} | Market Value}}<noinclude>
+
{{!}} {{#expr:{{Q| {{#var:name}} | Accuracy (Long) Base}}/100*{{#var:DPS}} }} |
 +
{{!}}{{!}} - {{!}}{{!}} - {{!}}{{!}} - {{!}}{{!}} -
 +
}}
 +
| {{Q| {{#var:name}} | Market Value|?}}<noinclude>
 
|}
 
|}
 
</noinclude>
 
</noinclude>
 +
 +
|-
 +
{{#ask:[[Frag Grenades||Molotov Cocktails||EMP Grenade||Minigun||Incendiary Launcher||R4 Charge Rifle||Charge Lance||Inferno Cannon||Heavy Charge Blaster||Improvised Turret Gun ]]
 +
| ?# = Name|| named args = yes|| format    = template|| template = Weapon/Row/Ranged}}

Revision as of 20:58, 19 January 2017

Name Damage Warm-Up
(ticks*)
Cooldown
(ticks*)
Range
(tiles)
Burst Count Burst (ticks*) Bullet Speed Accuracy
(Touch)
Accuracy
(Short)
Accuracy
(Medium)
Accuracy
(Long)
Minimum Range Miss Radius Blast Radius DPS
(Optimal)
DPS
(Touch)
DPS
(Short)
DPS
(Medium)
DPS
(Long)
Value Silver
[[]] (Error: Page does not exist) [[]] ? ? - ? 1 - - - - - - - - - - - - - ?


|-

|- ! [[]] (Error: Page does not exist) ! style='text-align: left !important; width: 10em' | [[]] | ? | ? | - | ? | 1 | - | - | - | - | - | - | - | - | - | || - || - || - || - | ?

|-

|- ! [[]] (Error: Page does not exist) ! style='text-align: left !important; width: 10em' | [[]] | ? | ? | - | ? | 1 | - | - | - | - | - | - | - | - | - | || - || - || - || - | ?

|-

|- ! [[]] (Error: Page does not exist) ! style='text-align: left !important; width: 10em' | [[]] | ? | ? | - | ? | 1 | - | - | - | - | - | - | - | - | - | || - || - || - || - | ?

|-

|- ! [[]] (Error: Page does not exist) ! style='text-align: left !important; width: 10em' | [[]] | ? | ? | - | ? | 1 | - | - | - | - | - | - | - | - | - | || - || - || - || - | ?

|-

|- ! [[]] (Error: Page does not exist) ! style='text-align: left !important; width: 10em' | [[]] | ? | ? | - | ? | 1 | - | - | - | - | - | - | - | - | - | || - || - || - || - | ?

|-

|- ! [[]] (Error: Page does not exist) ! style='text-align: left !important; width: 10em' | [[]] | ? | ? | - | ? | 1 | - | - | - | - | - | - | - | - | - | || - || - || - || - | ?

|-

|- ! [[]] (Error: Page does not exist) ! style='text-align: left !important; width: 10em' | [[]] | ? | ? | - | ? | 1 | - | - | - | - | - | - | - | - | - | || - || - || - || - | ?

|-

|- ! [[]] (Error: Page does not exist) ! style='text-align: left !important; width: 10em' | [[]] | ? | ? | - | ? | 1 | - | - | - | - | - | - | - | - | - | || - || - || - || - | ?

|-

|- ! [[]] (Error: Page does not exist) ! style='text-align: left !important; width: 10em' | [[]] | ? | ? | - | ? | 1 | - | - | - | - | - | - | - | - | - | || - || - || - || - | ?

|-

|- ! [[]] (Error: Page does not exist) ! style='text-align: left !important; width: 10em' | [[]] | ? | ? | - | ? | 1 | - | - | - | - | - | - | - | - | - | || - || - || - || - | ?

|-

|- ! [[]] (Error: Page does not exist) ! style='text-align: left !important; width: 10em' | [[]] | ? | ? | - | ? | 1 | - | - | - | - | - | - | - | - | - | || - || - || - || - | ?

|-

|- ! [[]] (Error: Page does not exist) ! style='text-align: left !important; width: 10em' | [[]] | ? | ? | - | ? | 1 | - | - | - | - | - | - | - | - | - | || - || - || - || - | ?

|-

|- ! [[]] (Error: Page does not exist) ! style='text-align: left !important; width: 10em' | [[]] | ? | ? | - | ? | 1 | - | - | - | - | - | - | - | - | - | || - || - || - || - | ?

|-

|- ! [[]] (Error: Page does not exist) ! style='text-align: left !important; width: 10em' | [[]] | ? | ? | - | ? | 1 | - | - | - | - | - | - | - | - | - | || - || - || - || - | ?

|-

|- ! [[]] (Error: Page does not exist) ! style='text-align: left !important; width: 10em' | [[]] | ? | ? | - | ? | 1 | - | - | - | - | - | - | - | - | - | || - || - || - || - | ?

|-

|- ! [[]] (Error: Page does not exist) ! style='text-align: left !important; width: 10em' | [[]] | ? | ? | - | ? | 1 | - | - | - | - | - | - | - | - | - | || - || - || - || - | ?

|-