Editing Template:Infobox weapon

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 111: Line 111:
 
| weapontags        = {{{weapontags|}}}
 
| weapontags        = {{{weapontags|}}}
 
| tradetags          = {{{tradetags|}}}
 
| tradetags          = {{{tradetags|}}}
<!-- Technical -->
 
| graphicaltexpath  = {{{graphicaltexpath|}}}
 
| soundeffect        = {{{soundeffect|}}}
 
 
}}<!-- }}don't forget me! --><!--
 
}}<!-- }}don't forget me! --><!--
 
     ===  #vardefine to use variables outside the infobox  ===
 
     ===  #vardefine to use variables outside the infobox  ===
Line 145: Line 142:
 
{{#if: {{{maxhitpoints|}}} | {{!}} <div>Hit points</div> {{!!}} {{{maxhitpoints}}} HP }}
 
{{#if: {{{maxhitpoints|}}} | {{!}} <div>Hit points</div> {{!!}} {{{maxhitpoints}}} HP }}
 
|-
 
|-
{{#if: {{{deteriorationrate|}}} | {{!}} <div>Deterioration</div> {{!!}} {{{deteriorationrate}}} HP/day}}
+
{{#if: {{{deteriorationrate|}}} | {{!}} <div>Deterioration</div> {{!!}} {{{deteriorationrate}}}/day}}
 
|-
 
|-
 
{{#if: {{{flammability|}}} | {{!}} <div>Flammability</div> {{!!}} {{#expr:{{{flammability}}}*100}}% }}
 
{{#if: {{{flammability|}}} | {{!}} <div>Flammability</div> {{!!}} {{#expr:{{{flammability}}}*100}}% }}
Line 168: Line 165:
 
{{#if: {{{burstshotcount|}}} | {{!}} <div>Projectiles</div> {{!!}} {{{burstshotcount}}} per burst }}
 
{{#if: {{{burstshotcount|}}} | {{!}} <div>Projectiles</div> {{!!}} {{{burstshotcount}}} per burst }}
 
|-
 
|-
{{#if: {{{burstshotinterval|}}} | {{!}} <div>Interval</div> {{!!}} {{#expr:{{{burstshotinterval}}}/60 round 2}} seconds ({{#expr:3600/{{{burstshotinterval}}} round 0 }} rpm) }}
+
{{#if: {{{burstshotinterval|}}} | {{!}} <div>Interval</div> {{!!}} {{#expr:{{{burstshotinterval}}}/60 round 3}} secs between projectiles }}
 
|-
 
|-
{{#if: {{{movespeedoffset|}}} | {{!}} <div>Move speed</div> {{!!}} {{{movespeedoffset}}} tiles/second }}
+
{{#if: {{{movespeedoffset|}}} | {{!}} <div>Move speed</div> {{!!}} {{{movespeedoffset}}} tiles/sec }}
 
|-
 
|-
 
{{#if: {{{forcedmissradius|}}} | {{!}} <div>Miss radius</div> {{!!}} {{{forcedmissradius}}} tiles }}
 
{{#if: {{{forcedmissradius|}}} | {{!}} <div>Miss radius</div> {{!!}} {{{forcedmissradius}}} tiles }}
Line 185: Line 182:
 
{{#if: {{{armorpenetration|}}} | {{!}} <div>Armor penetration</div> {{!!}} {{#expr:{{{armorpenetration}}}*100}}% }}
 
{{#if: {{{armorpenetration|}}} | {{!}} <div>Armor penetration</div> {{!!}} {{#expr:{{{armorpenetration}}}*100}}% }}
 
|-
 
|-
{{#if: {{{speed|}}} | {{!}} <div>Speed</div> {{!!}} {{{speed}}} tiles/second}}
+
{{#if: {{{speed|}}} | {{!}} <div>Speed</div> {{!!}} {{{speed}}} tiles/sec}}
 
|-
 
|-
 
{{#if: {{{explosionradius|}}} | {{!}} <div>Explosion radius</div> {{!!}} {{{explosionradius}}} tiles }}
 
{{#if: {{{explosionradius|}}} | {{!}} <div>Explosion radius</div> {{!!}} {{{explosionradius}}} tiles }}
Line 200: Line 197:
 
{{#if: {{{workspeedstat|}}} | {{!}} <div>Workspeed stat</div> {{!!}} {{{workspeedstat}}} }}
 
{{#if: {{{workspeedstat|}}} | {{!}} <div>Workspeed stat</div> {{!!}} {{{workspeedstat}}} }}
 
|-
 
|-
{{#if: {{{crafting_req|}}} | {{!}} <div>Crafting skill</div> {{!!}} Level {{{crafting_req}}} required }}
+
{{#if: {{{crafting_req|}}} | {{!}} <div>Crafting skill</div> {{!!}} {{{crafting_req}}} required }}
 
|-
 
|-
{{#if: {{{stuffcategories|}}} | {{!}} <div>Allowed materials</div> {{!!}} {{#if:{{#pos: {{{stuffcategories}}} |,}} | {{#arraymap:{{{stuffcategories|}}}|,|x|* x|\n}} | {{{stuffcategories}}} }} }}
+
{{#if: {{{stuffcategories|}}} | {{!}} <div>Allowed material</div> {{!!}} {{#if:{{#pos: {{{stuffcategories}}} |,}} | {{#arraymap:{{{stuffcategories|}}}|,|x|* x|\n}} | {{{stuffcategories}}} }} }}
 
|-
 
|-
{{#if: {{{disallowedmaterial|}}} | {{!}} <div>Disallowed materials</div> {{!!}} {{#if:{{#pos: {{{disallowedmaterial}}} |,}} | {{#arraymap:{{{disallowedmaterial|}}}|,|x|* x|\n}} | {{{disallowedmaterial}}} }} }}
+
{{#if: {{{disallowedmaterial|}}} | {{!}} <div>Disallowed material</div> {{!!}} {{#if:{{#pos: {{{disallowedmaterial}}} |,}} | {{#arraymap:{{{disallowedmaterial|}}}|,|x|* x|\n}} | {{{disallowedmaterial}}} }} }}
 
|-
 
|-
 
{{#if: {{{recipeusers|}}} | {{!}} <div>Craft with</div> {{!!}} {{#if:{{#pos: {{{recipeusers}}} |,}} | {{#arraymap:{{{recipeusers|}}}|,|x|* x|\n}} | {{{recipeusers}}} }} }}
 
{{#if: {{{recipeusers|}}} | {{!}} <div>Craft with</div> {{!!}} {{#if:{{#pos: {{{recipeusers}}} |,}} | {{#arraymap:{{{recipeusers|}}}|,|x|* x|\n}} | {{{recipeusers}}} }} }}

Please note that all contributions to RimWorld Wiki are considered to be released under the CC BY-SA 3.0 (see RimWorld Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)