Difference between revisions of "Template:Tag/Health/Content"

From RimWorld Wiki
Jump to navigation Jump to search
(Created page with " {{#vardefine: name | {{{1|Wood}}} }}{{#vardefine: hp | {{Q| {{#var:name}} | Max Health Base }} }}{{#vardefine: deterioration | {{Q| {{#var:name}}...")
 
(Marked as obsolete)
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
  {{#vardefine: name          | {{{1|Wood}}}
+
<noinclude>{{Obsolete|reason=This template isn't used at all.}}</noinclude>{{#vardefine: name          | {{{1|Wood}}}
}}{{#vardefine: hp            | {{Q| {{#var:name}} | Max Health Base         }}
+
}}{{#vardefine: hp            | {{Q| {{#var:name}} | Max Hit Points Base     }}
 
}}{{#vardefine: deterioration | {{Q| {{#var:name}} | Deterioration Rate Base }}
 
}}{{#vardefine: deterioration | {{Q| {{#var:name}} | Deterioration Rate Base }}
 
}}{{#vardefine: flammability  | {{Q| {{#var:name}} | Flammability Base      }}
 
}}{{#vardefine: flammability  | {{Q| {{#var:name}} | Flammability Base      }}
 
}}
 
}}
{| {{STDT| c_06 right }} style='float: right; font-size: 85%; margin: 1em'
+
{| {{Tag/ST| c_06 | 15em }}
! colspan='0' | Health
+
{{Tag/H1}} Hit Points
|-  
+
{{Tag/HN}}
! style='text-align: left' | Hitpoints
+
{{Tag/HN}} {{Format/Value    | {{#var: hp          | 0 }} |HP}}
 +
|-
 +
{{Tag/HR}} Flammability
 +
|        {{Format/Percentage| {{#var:flammability  | 0 }} |HP/sec}}
 
|
 
|
| {{#if: {{#var:hp}} | {{Format/Value| {{#var: hp }}}}&nbsp;HP{{H|/1}} | ''None'' }}
 
|-
 
! style='text-align: left' | Flammability
 
| '''{{Format/Percentage| {{#var:flammability  | 0 }}}}'''
 
| ??&nbsp;HP/s
 
 
|-
 
|-
! style='text-align: left' | Deterioration
+
{{Tag/HR}} Deterioration
| '''{{Format/Percentage| {{#var:deterioration | 0 }}}}'''
+
|         {{Format/Percentage| {{#var:deterioration | 0 }}}}
|   {{Format/Value    | {{#var:deterioration | 0 }}}}&nbsp;HP/d
+
|         {{Format/Value    | {{#var:deterioration | 0 }} |HP/day}}
 
|}
 
|}

Latest revision as of 11:56, 24 April 2022

Hit Points 150  HP
Flammability 0%
Deterioration 50% 0.5  HP/day