Template:Infobox hero: Difference between revisionsGive feedback
Gammaton32 (talk | contribs) added class=notpageimage to the name image |
Updated to use new names for Crit Damage Bonus and Crit Damage Received. |
||
| Line 54: | Line 54: | ||
{{!}}style="font-size: 16px;text-shadow: 1.5px 1.5px 0.8px rgba(0, 0, 0, 0.8);text-align:left"{{!}}{{Icon/Brown||{{{max_range|}}}m}}}} | {{!}}style="font-size: 16px;text-shadow: 1.5px 1.5px 0.8px rgba(0, 0, 0, 0.8);text-align:left"{{!}}{{Icon/Brown||{{{max_range|}}}m}}}} | ||
|-style="vertical-align:middle;" | |-style="vertical-align:middle;" | ||
{{# | {{#ifexpr: {{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|CritDamageBonusPercent|3}} != 0 | | ||
{{!}} | {{!}} style="font-size: 16px;text-shadow: 1.5px 1.5px 0.8px rgba(0, 0, 0, 0.8);text-align:right;color: #afafaf; background-color: #2F2F2F;height:29.5px" {{!}} [[Weapon Damage{{If_lang}}|<span style="color:#afafaf">{{#invoke:Lang|get_string|StatDesc_CritDamageBonusScale}}</span>]]: | ||
{{!}}style="font-size: 16px;text-shadow: 1.5px 1.5px 0.8px rgba(0, 0, 0, 0.8);text-align:left"{{!}}{{Icon/Grey|[[File:Crit reduction.png|20px|link=Weapon Damage#Headshots]]| | {{!}}style="font-size: 16px;text-shadow: 1.5px 1.5px 0.8px rgba(0, 0, 0, 0.8);text-align:left"{{!}}{{Icon/Grey|[[File:Crit reduction.png|20px|link=Weapon Damage#Headshots]]|{{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|CritDamageBonusPercent|3}}%}}}} | ||
{{!}}-style="vertical-align:middle;" | {{!}}-style="vertical-align:middle;" | ||
! colspan="2" style="position:relative; border-radius:7px; background-color: #74b01c; font-weight: bold; font-size: 16px; font-family:'Retail Demo','Open Sans','PT Serif','Palatino','FreeSerif','Liberation Serif',serif; font-weight: bold; text-shadow: 1.5px 1.5px 2px rgba(0, 0, 0, 0.7); color:#FFEFD7; text-align:center" | [[Stats#Vitality|<span style="font-weight: bold; text-shadow: 0px 2px 4px black,1.2px 1.2px rgba(0, 0, 0, 0.7); color:#FFEFD7; border-bottom: none">{{#invoke:Lang|get_string|CitadelHeroStats_Vitality}}</span>]] | ! colspan="2" style="position:relative; border-radius:7px; background-color: #74b01c; font-weight: bold; font-size: 16px; font-family:'Retail Demo','Open Sans','PT Serif','Palatino','FreeSerif','Liberation Serif',serif; font-weight: bold; text-shadow: 1.5px 1.5px 2px rgba(0, 0, 0, 0.7); color:#FFEFD7; text-align:center" | [[Stats#Vitality|<span style="font-weight: bold; text-shadow: 0px 2px 4px black,1.2px 1.2px rgba(0, 0, 0, 0.7); color:#FFEFD7; border-bottom: none">{{#invoke:Lang|get_string|CitadelHeroStats_Vitality}}</span>]] | ||
| Line 66: | Line 66: | ||
|style="font-size: 16px;text-shadow: 1.5px 1.5px 0.8px rgba(0, 0, 0, 0.8);text-align:left;"| {{Icon/Grey|[[File:Health regen.png|20px|link=Health Regen]]|{{{health_regen|{{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|BaseHealthRegen|2}}}}}}} | |style="font-size: 16px;text-shadow: 1.5px 1.5px 0.8px rgba(0, 0, 0, 0.8);text-align:left;"| {{Icon/Grey|[[File:Health regen.png|20px|link=Health Regen]]|{{{health_regen|{{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|BaseHealthRegen|2}}}}}}} | ||
|-style="vertical-align:middle;" | |-style="vertical-align:middle;" | ||
{{#ifexpr: {{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}| | {{#ifexpr: {{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|CritDamageReceivedPercent|3}} != 0 | | ||
{{!}}-style="vertical-align:middle;" | {{!}}-style="vertical-align:middle;" | ||
{{!}} style="font-size: 16px;text-shadow: 1.5px 1.5px 0.8px rgba(0, 0, 0, 0.8);text-align:right;color: #afafaf; background-color: #2F2F2F;height:29.5px" {{!}} [[Damage Resistance{{If_lang}}|<span style="color:#afafaf">{{#invoke:Lang|get_string|StatDesc_CritDamageReceivedScale}}:</span>]] | {{!}} style="font-size: 16px;text-shadow: 1.5px 1.5px 0.8px rgba(0, 0, 0, 0.8);text-align:right;color: #afafaf; background-color: #2F2F2F;height:29.5px" {{!}} [[Damage Resistance{{If_lang}}|<span style="color:#afafaf">{{#invoke:Lang|get_string|StatDesc_CritDamageReceivedScale}}:</span>]] | ||
{{!}}style="font-size: 16px;text-shadow: 1.5px 1.5px 0.8px rgba(0, 0, 0, 0.8);text-align:left"{{!}}{{Icon/Grey|[[File:Crit reduction.png|20px|link=Damage Resistance]]|{{{crit_reduction|{{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}| | {{!}}style="font-size: 16px;text-shadow: 1.5px 1.5px 0.8px rgba(0, 0, 0, 0.8);text-align:left"{{!}}{{Icon/Grey|[[File:Crit reduction.png|20px|link=Damage Resistance]]|{{{crit_reduction|{{#invoke:HeroData|get_hero_var|{{#var:hero_key_or_en}}|CritDamageReceivedPercent|3}}}}}%}}}} | ||
|-style="vertical-align:middle;" | |-style="vertical-align:middle;" | ||
{{#ifeq: {{{no_bullet_resist|}}}|true| | {{#ifeq: {{{no_bullet_resist|}}}|true| | ||