Difference between revisions of "Template:HealthBarCharacter"

From Official Wiki for the Rapture Universe from Gravity Bay
Jump to: navigation, search
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{{Name}}} has a total {{{AmountHealth}}} {{HealthPoint}}s.<br/>
+
{{{Name}}} has a total of {{{AmountHealth}}} [[{{HealthPoint}}]].<br/>
In the following table are shown all buffs/debuffs that {{{Name}}} receives, depending on his amount of remaining {{HealthPoint}}s:
+
In the following table are shown all buffs/debuffs that {{{Name}}} receives, depending on his amount of remaining [[{{HealthPoint}}]]:
  
{| class="wikitable"
+
{| border="2" style="border-collapse: collapse; width: 55px"
{{#if:{{{Life1|}}}|
+
{{#ifexpr:{{{AmountHealth}}} > 0|
{{#ifeq:{{{Life1}}}|-||{{!}} {{{Life1}}}
+
{{#if:{{{Health1|}}}|
 +
{{!}}- style="background-color: #FE0000"
 +
!{{{Health1}}}|
 +
{{!}}- style="background-color: #FE0000; color: #FE0000;"
 +
!X
 +
}}|
 +
{{!}}- style="background-color: #AABBCC; color: #AABBCC;"
 +
!X
 
}}
 
}}
 +
{{#ifexpr:{{{AmountHealth}}} > 1|
 +
{{#if:{{{Health2|}}}|
 +
{{!}}- style="background-color: #FE0000"
 +
!{{{Health2}}}|
 +
{{!}}- style="background-color: #FE0000; color: #FE0000;"
 +
!X
 +
}}|
 +
{{!}}- style="background-color: #AABBCC; color: #AABBCC;"
 +
!X
 
}}
 
}}
{{#if:{{{Life2|}}}|
+
{{#ifexpr:{{{AmountHealth}}} > 2|
{{#ifeq:{{{Life2}}}|-||{{!}} {{{Life2}}}
+
{{#if:{{{Health3|}}}|
 +
{{!}}- style="background-color: #FE0000"
 +
!{{{Health3}}}|
 +
{{!}}- style="background-color: #FE0000; color: #FE0000;"
 +
!X
 +
}}|
 +
{{!}}- style="background-color: #AABBCC; color: #AABBCC;"
 +
!X
 
}}
 
}}
 +
{{#ifexpr:{{{AmountHealth}}} > 3|
 +
{{#if:{{{Health4|}}}|
 +
{{!}}- style="background-color: #FE0000"
 +
!{{{Health4}}}|
 +
{{!}}- style="background-color: #FE0000; color: #FE0000;"
 +
!X
 +
}}|
 +
{{!}}- style="background-color: #AABBCC; color: #AABBCC;"
 +
!X
 
}}
 
}}
{{#if:{{{Life3|}}}|
+
{{#ifexpr:{{{AmountHealth}}} > 4|
{{#ifeq:{{{Life3}}}|-||{{!}} {{{Life3}}}
+
{{#if:{{{Health5|}}}|
 +
{{!}}- style="background-color: #FE0000"
 +
!{{{Health5}}}|
 +
{{!}}- style="background-color: #FE0000; color: #FE0000;"
 +
!X
 +
}}|
 +
{{!}}- style="background-color: #AABBCC; color: #AABBCC;"
 +
!X
 
}}
 
}}
 +
{{#ifexpr:{{{AmountHealth}}} > 5|
 +
{{#if:{{{Health6|}}}|
 +
{{!}}- style="background-color: #FE0000"
 +
!{{{Health6}}}|
 +
{{!}}- style="background-color: #FE0000; color: #FE0000;"
 +
!X
 +
}}|
 +
{{!}}- style="background-color: #AABBCC; color: #AABBCC;"
 +
!X
 +
}}
 +
{{#ifexpr:{{{AmountHealth}}} > 6|
 +
{{#if:{{{Health7|}}}|
 +
{{!}}- style="background-color: #FE0000"
 +
!{{{Health7}}}|
 +
{{!}}- style="background-color: #FE0000; color: #FE0000;"
 +
!X
 +
}}|
 +
{{!}}- style="background-color: #AABBCC; color: #AABBCC;"
 +
!X
 +
}}
 +
{{#ifexpr:{{{AmountHealth}}} > 7|
 +
{{#if:{{{Health8|}}}|
 +
{{!}}- style="background-color: #FE0000"
 +
!{{{Health8}}}|
 +
{{!}}- style="background-color: #FE0000; color: #FE0000;"
 +
!X
 +
}}|
 +
{{!}}- style="background-color: #AABBCC; color: #AABBCC;"
 +
!X
 +
}}
 +
{{#ifexpr:{{{AmountHealth}}} > 8|
 +
{{#if:{{{Health9|}}}|
 +
{{!}}- style="background-color: #FE0000"
 +
!{{{Health9}}}|
 +
{{!}}- style="background-color: #FE0000; color: #FE0000;"
 +
!X
 +
}}|
 +
{{!}}- style="background-color: #AABBCC; color: #AABBCC;"
 +
!X
 +
}}
 +
{{#ifexpr:{{{AmountHealth}}} > 9|
 +
{{#if:{{{Health10|}}}|
 +
{{!}}- style="background-color: #FE0000"
 +
!{{{Health10}}}|
 +
{{!}}- style="background-color: #FE0000; color: #FE0000;"
 +
!X
 +
}}|
 +
{{!}}- style="background-color: #AABBCC; color: #AABBCC;"
 +
!X
 
}}
 
}}
 
|}
 
|}

Latest revision as of 11:58, 30 April 2019

{{{Name}}} has a total of {{{AmountHealth}}} LEB.
In the following table are shown all buffs/debuffs that {{{Name}}} receives, depending on his amount of remaining LEB:

Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".