Difference between revisions of "Template:Tag/Health"

From RimWorld Wiki
Jump to navigation Jump to search
Line 5: Line 5:
 
}}{| {{STDT| c_06 right }} style='float: right; font-size: 85%; margin-right: 1em'
 
}}{| {{STDT| c_06 right }} style='float: right; font-size: 85%; margin-right: 1em'
 
! colspan='0' | Health
 
! colspan='0' | Health
|- {{#if: {{#var:hp}} |
+
|-  
 
! style='text-align: left' | Hitpoints
 
! style='text-align: left' | Hitpoints
 
|
 
|
| {{#var:hp}}&nbsp;HP<span style='visibility: hidden'>/1</span>
+
| {{#if: {{#var:hp}} | {{Format/Value| {{#var: hp }}}}&nbsp;HP{{H|/1}} | ''None'' }}
 
|-
 
|-
 
! style='text-align: left' | Flammability
 
! style='text-align: left' | Flammability
| '''{{Format/Percentage| {{#var:flammability}}}}'''
+
| '''{{Format/Percentage| {{#var:flammability | 0 }}}}'''
 
| ??&nbsp;HP/s
 
| ??&nbsp;HP/s
 
|-
 
|-
 
! style='text-align: left' | Deterioration
 
! style='text-align: left' | Deterioration
| '''{{Format/Percentage| {{#var:deterioration}}}}'''
+
| '''{{Format/Percentage| {{#var:deterioration | 0 }}}}'''
|    {{Format/Value    | {{#var:deterioration}}}}&nbsp;HP/d
+
|    {{Format/Value    | {{#var:deterioration | 0 }}}}&nbsp;HP/d
}}
 
 
|}
 
|}

Revision as of 16:20, 16 March 2015

Health
Hitpoints None
Flammability 0% ?? HP/s
Deterioration 50% 0.5

 HP/d