Editing User:Samlovesmath/Template:Infobox heroGive feedback
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 1: | Line 1: | ||
<onlyinclude> | <onlyinclude> | ||
<templatestyles src=" | <templatestyles src="Samlovesmath/Infobox_hero/styles.css" /> | ||
<templatestyles src=" | <templatestyles src="Samlovesmath/Infobox_hero/themes.css" /><!-- | ||
-->{{#vardefine:provided_key|{{{key|}}}}}<!-- | -->{{#vardefine:provided_key|{{{key|}}}}}<!-- | ||
If key provided is an accepted hero_[name] key, use it; | If key provided is an accepted hero_[name] key, use it; | ||
-->{{#ifeq: {{#invoke: | -->{{#ifeq: {{#invoke:Samlovesmath/Infobox_hero|is_hero_key|{{#var:provided_key}}}}|true|{{#vardefine:hero_key|{{#var:provided_key}}}}|<!-- | ||
Else, if key provided is actually the string *English* name, get the key from it to use it; | Else, if key provided is actually the string *English* name, get the key from it to use it; | ||
-->{{#ifeq:{{#invoke: | -->{{#ifeq:{{#invoke:Samlovesmath/Infobox_hero|en_is_hero_key|{{#var:provided_key}}}}|true| {{#vardefine:hero_key|{{#invoke:HeroData|get_hero_key|{{#var:provided_key}}}}}}|<!-- | ||
Else, fall back on "hero_targetdummy" | Else, fall back on "hero_targetdummy" | ||
-->{{#vardefine:hero_key|hero_targetdummy}}<!-- | -->{{#vardefine:hero_key|hero_targetdummy}}<!-- | ||
| Line 19: | Line 19: | ||
THEME VARIABLES: | THEME VARIABLES: | ||
-->{{#vardefine:theme-logo-height| {{#invoke: | -->{{#vardefine:theme-logo-height| {{#invoke:Samlovesmath/Infobox_hero|get_theme_var|{{#var:hero_key}}|logo-height}} }}<!-- | ||
-->{{#vardefine:theme-bg-image| {{#invoke: | -->{{#vardefine:theme-bg-image| {{#invoke:Samlovesmath/Infobox_hero|get_theme_var|{{#var:hero_key}}|bg-image}} }}<!--<!-- | ||
-->{{#vardefine:theme-bg-height| {{#invoke: | -->{{#vardefine:theme-bg-height| {{#invoke:Samlovesmath/Infobox_hero|get_theme_var|{{#var:hero_key}}|bg-height}} }}<!-- | ||
DEPRECATED PARAM VARIABLES: (at least until its all moved over) | DEPRECATED PARAM VARIABLES: (at least until its all moved over) | ||
| Line 32: | Line 32: | ||
--- Overridden Variable Styles --- | --- Overridden Variable Styles --- | ||
--><div class={{#var:quotemark}}infobox | --><div class={{#var:quotemark}}infobox {{#var:hero_key}}{{#var:quotemark}}><!-- | ||
--- Box Background --- | --- Box Background --- | ||
--><div class="infobox | --><div class="infobox-background">[[File:{{#var:theme-bg-image}}|{{#var:theme-bg-height}}|right|link=]]</div><!-- | ||
--> | --> | ||
{| class="infobox | {| class="infobox-content" | ||
! colspan="2" class="infobox | ! colspan="2" class="infobox-title" {{#if:{{{name_font_size|}}}|style{{=}}"font-size: {{{name_font_size|25px}}};"}} |<!-- | ||
---- Title + Name Image + Hero Thumbnail ----> | ---- Title + Name Image + Hero Thumbnail ----> | ||
<div class="infobox | <div class="infobox-title-hero"> | ||
<div class="infobox | <div class="infobox-title-hero-left"></div> | ||
<div class="infobox | <div class="infobox-title-hero-middle {{If lang|{{#ifeq:{{#var:show_logo}}|true|{{#ifexist:File:{{#var:hero_en}}_name.png|">{{Template:Icon/White|[[File:{{#var:hero_en}}_name.png|{{#var:theme-logo-height}}|class=notpageimage]]}}|infobox-title-hero-middle-text">{{{name|{{#var:hero_lang}}}}}}}|infobox-title-hero-middle-text">{{{name|{{#var:hero_lang}}}}}}}}}</div> | ||
|{{#ifeq:{{#var:show_logo}}|true|{{#ifexist:File: | <div class="infobox-title-hero-right"><div> | ||
{{#ifeq:{{#var:show_icon}}|true|{{#ifexist:File:{{{icon|{{#var:hero_en}}.png}}}|<div class="infobox-title-hero-tornbox"></div> | |||
<div class="infobox-title-hero-icon">[[File:{{{icon|{{#var:hero_en}}.png}}}|center|35px]]</div></div> | |||
<div class="infobox | |||
{{#ifeq:{{#var:show_icon}}|true|{{#ifexist:File:{{{icon|{{#var:hero_en}}}}} | |||
<div class="infobox | |||
</div>|}}}}<!-- | </div>|}}}}<!-- | ||
---- Hero Image Card ----> | ---- Hero Image Card ----> | ||
|- | |- | ||
! colspan="2" class="infobox | ! colspan="2" class="infobox-image" |<div>{{#ifexist: File:{{{card|{{#var:hero_en_herodata}} card.png}}}|[[File:{{{card|{{#var:hero_en_herodata}} card.png}}}|190px|alt={{{BASEPAGENAME}}}]]|[[File:Dummy card.png|190px|alt={{{BASEPAGENAME}}}]]}}</div><!-- | ||
---- Weapon Name ----> | ---- Weapon Name ----> | ||
|- | |- | ||
!colspan="2" class="infobox | !colspan="2" class="infobox-text-weapon infotext-bold" | {{#if: {{{weapon_name|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|NameKey|true}}}}}|<span class="infotext-title">{{#invoke:Lang|get_string|CitadelCategoryWeapon}}:</span><br><span class="infotext-bold infotext-bigger">''"{{{weapon_name|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|NameKey|true}}}}}"''</span>|}}<!-- | ||
---- "Base Statistics" ----> | ---- "Base Statistics" ----> | ||
|- | |- | ||
!colspan="2" class="infobox | !colspan="2" class="infobox-text-stat-subtitle-border"| | ||
<span class="infotext | <span class="infotext-bold infotext-title infotext-big">{{#invoke:Lang|get_string|Citadel_HeroPage_BaseStats}}</span><!-- | ||
---- Weapon Dropdown ----> | ---- Weapon Dropdown ----> | ||
|- | |- | ||
! colspan="2" class="infobox | ! colspan="2" class="infobox-subsection infobox-dropdown infobox-dropdown-weapon" | | ||
{| class="mw-collapsible mw-collapsed infobox | {| class="mw-collapsible mw-collapsed infobox-subsection-child" | ||
|+ class="infobox | |+ class="infobox-dropdown-header" | [[Stats{{If_lang}}#Weapon|<span class="infotext-bold infobox-dropdown-title">{{#invoke:Lang|get_string|CitadelHeroStats_Weapon}}</span>]] | ||
|-<!-- | |-<!-- | ||
---- Damage per second ----> | ---- Damage per second ----> | ||
| Line 77: | Line 74: | ||
---- Bullet Damage ----> | ---- Bullet Damage ----> | ||
| [[Bullet Damage{{If_lang}}|<span>{{#invoke:Lang|get_string|StatDesc_BulletDamage}}</span>]]: | | [[Bullet Damage{{If_lang}}|<span>{{#invoke:Lang|get_string|StatDesc_BulletDamage}}</span>]]: | ||
| style="padding-right: 5px;" | {{Icon/Brown|[[File:Bullet damage.png|20px|link=Bullet Damage{{If_lang}}]]|{{{bullet_damage|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|BulletDamage|3}}}}}<span class{{=}}"infobox | | style="padding-right: 5px;" | {{Icon/Brown|[[File:Bullet damage.png|20px|link=Bullet Damage{{If_lang}}]]|{{{bullet_damage|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|BulletDamage|3}}}}}<span class{{=}}"infobox-spiritboon">{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Level|BulletDamage}}{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Spirit|BulletDamage}}</span>}} | ||
|- | |- | ||
<!---- Ammo ----> | <!---- Ammo ----> | ||
| [[Ammo{{If_lang}}|<span>{{#invoke:Lang|get_string|StatDesc_ClipSizeBonus}}</span>]]: | | [[Ammo{{If_lang}}|<span>{{#invoke:Lang|get_string|StatDesc_ClipSizeBonus}}</span>]]: | ||
| {{Icon/Grey|[[File:Clip size icon.png|20px|link=Ammo{{If_lang}}]]|{{{ammo|{{#ifeq: {{{no_ammo|}}}|true|N/A|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|ClipSize|3}}<span class{{=}}"infobox | | {{Icon/Grey|[[File:Clip size icon.png|20px|link=Ammo{{If_lang}}]]|{{{ammo|{{#ifeq: {{{no_ammo|}}}|true|N/A|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|ClipSize|3}}<span class{{=}}"infobox-spiritboon">{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Level|ClipSize}}{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Spirit|ClipSize}}</span>}}}}}}} | ||
|- | |- | ||
<!---- Bullets per sec ----> | <!---- Bullets per sec ----> | ||
| [[Fire_Rate{{If_lang}}|<span>{{#invoke:Lang|get_string|StatDesc_RoundsPerSecond}}</span>]]: | | [[Fire_Rate{{If_lang}}|<span>{{#invoke:Lang|get_string|StatDesc_RoundsPerSecond}}</span>]]: | ||
| {{Icon/Grey|[[File:Bullets per sec icon.png|20px|link=Fire Rate{{If_lang}}]]|{{{bullets_per_sec|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|RoundsPerSecond|3}}}}}<span class{{=}}"infobox | | {{Icon/Grey|[[File:Bullets per sec icon.png|20px|link=Fire Rate{{If_lang}}]]|{{{bullets_per_sec|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|RoundsPerSecond|3}}}}}<span class{{=}}"infobox-spiritboon">{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Level|RoundsPerSecond}}{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Spirit|RoundsPerSecond}}</span>}} | ||
|- | |- | ||
<!---- Reload Time ----> | <!---- Reload Time ----> | ||
| Line 97: | Line 94: | ||
<!---- Light Melee ----> | <!---- Light Melee ----> | ||
| [[Melee Damage{{If_lang}}|<span>{{#invoke:Lang|get_string|StatDesc_LightMeleeDamage}}</span>]]: | | [[Melee Damage{{If_lang}}|<span>{{#invoke:Lang|get_string|StatDesc_LightMeleeDamage}}</span>]]: | ||
| style="padding-right: 5px;"| {{Icon/Brown|[[File:Melee damage.png|20px|link=Melee Damage{{If_lang}}]]|{{{light_melee|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|LightMeleeDamage|3}}}}}<span class{{=}}"infobox | | style="padding-right: 5px;"| {{Icon/Brown|[[File:Melee damage.png|20px|link=Melee Damage{{If_lang}}]]|{{{light_melee|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|LightMeleeDamage|3}}}}}<span class{{=}}"infobox-spiritboon">{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Level|LightMeleeDamage}}{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Spirit|LightMeleeDamage}}</span>}} | ||
|- | |- | ||
<!---- Heavy Melee ----> | <!---- Heavy Melee ----> | ||
| [[Melee Damage{{If_lang}}|<span>{{#invoke:Lang|get_string|StatDesc_HeavyMeleeDamage}}</span>]]: | | [[Melee Damage{{If_lang}}|<span>{{#invoke:Lang|get_string|StatDesc_HeavyMeleeDamage}}</span>]]: | ||
| style="padding-right: 5px;"| {{Icon/Brown|[[File:Melee damage.png|20px|link=Melee Damage{{If_lang}}]]|{{{heavy_melee|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|HeavyMeleeDamage|3}}}}}<span class{{=}}"infobox | | style="padding-right: 5px;"| {{Icon/Brown|[[File:Melee damage.png|20px|link=Melee Damage{{If_lang}}]]|{{{heavy_melee|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|HeavyMeleeDamage|3}}}}}<span class{{=}}"infobox-spiritboon">{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Level|HeavyMeleeDamage}}{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Spirit|HeavyMeleeDamage}}</span>}} | ||
|- | |- | ||
<!---- Falloff Range ----> | <!---- Falloff Range ----> | ||
| Line 120: | Line 117: | ||
<!---- Vitality Dropdown ----> | <!---- Vitality Dropdown ----> | ||
|- | |- | ||
! colspan="2" class="infobox | ! colspan="2" class="infobox-subsection infobox-dropdown infobox-dropdown-vitality" | | ||
{| class="mw-collapsible mw-collapsed infobox | {| class="mw-collapsible mw-collapsed infobox-subsection-child" | ||
|+ class="infobox | |+ class="infobox-dropdown-header" | [[Stats#Vitality|<span class="infotext-bold infobox-dropdown-title">{{#invoke:Lang|get_string|CitadelHeroStats_Vitality}}</span>]] | ||
|- | |- | ||
<!---- Health ----> | <!---- Health ----> | ||
| {{#ifeq:{{#invoke: | | {{#ifeq:{{#invoke:Samlovesmath/Infobox_hero|hero_has_scalars|{{#var:hero_key}}|MaxHealth}}|true|style{{=}}"padding-top:8px;"{{!}}}}[[Health{{If_lang}}|<span>{{#invoke:Lang|get_string|StatDesc_HealthAttribute}}</span>]]: | ||
| {{Icon/Green|[[File:Health.png|20px|link=Health{{If_lang}}]]|{{{max_health|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|MaxHealth|3}}}}}<span class{{=}}"infobox | | {{Icon/Green|[[File:Health.png|20px|link=Health{{If_lang}}]]|{{{max_health|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|MaxHealth|3}}}}}<span class{{=}}"infobox-spiritboon">{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Level|MaxHealth}}{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Spirit|MaxHealth}}</span>}} | ||
|- | |- | ||
<!---- Health Regen ----> | <!---- Health Regen ----> | ||
| [[Health Regen{{If_lang}}|<span>{{#invoke:Lang|get_string|StatDesc_HealthRegen}}</span>]]: | | [[Health Regen{{If_lang}}|<span>{{#invoke:Lang|get_string|StatDesc_HealthRegen}}</span>]]: | ||
| {{Icon/Grey|[[File:Health regen.png|20px|link=Health Regen{{If_lang}}]]|{{{health_regen|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|BaseHealthRegen|2}}}}}<span class{{=}}"infobox | | {{Icon/Grey|[[File:Health regen.png|20px|link=Health Regen{{If_lang}}]]|{{{health_regen|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|BaseHealthRegen|2}}}}}<span class{{=}}"infobox-spiritboon">{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Level|BaseHealthRegen}}{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Spirit|BaseHealthRegen}}</span>}} | ||
|- | |- | ||
<!---- Crit Resistance ----> | <!---- Crit Resistance ----> | ||
{{#if: {{{crit_reduction|}}}{{#invoke:HeroData|hero_has_stat|{{#var:hero_key}}|CritDamageReceivedPercent}} | | {{#if: {{{crit_reduction|}}}{{#invoke:HeroData|hero_has_stat|{{#var:hero_key}}|CritDamageReceivedPercent}} | | ||
{{!}}[[Damage Resistance{{If_lang}}#Crit_Reduction|<span>{{#invoke:Lang|get_string|StatDesc_CritDamageReceivedScale}}</span>]]: | {{!}}[[Damage Resistance{{If_lang}}#Crit_Reduction|<span>{{#invoke:Lang|get_string|StatDesc_CritDamageReceivedScale}}</span>]]: | ||
{{!}}{{Icon/Grey|[[File:Crit reduction.png|20px|link=Damage Resistance{{If_lang}}#Crit_Reduction]]|{{{crit_reduction|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|CritDamageReceivedPercent|3}}}}}%<span class{{=}}"infobox | {{!}}{{Icon/Grey|[[File:Crit reduction.png|20px|link=Damage Resistance{{If_lang}}#Crit_Reduction]]|{{{crit_reduction|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|CritDamageReceivedPercent|3}}}}}%<span class{{=}}"infobox-spiritboon">{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Level|CritDamageReceivedPercent}}{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Spirit|CritDamageReceivedPercent}}</span>}}}} | ||
|- | |- | ||
<!---- Bullet Resistance ----> | <!---- Bullet Resistance ----> | ||
{{#if: {{{bullet_resist|}}}{{#invoke:HeroData|hero_has_stat|{{#var:hero_key}}|BulletResist}} | | {{#if: {{{bullet_resist|}}}{{#invoke:HeroData|hero_has_stat|{{#var:hero_key}}|BulletResist}} | | ||
{{!}}[[Damage Resistance{{If_lang}}|<span>{{#invoke:Lang|get_string|StatDesc_BulletArmorDamageReduction}}</span>]]: | {{!}}[[Damage Resistance{{If_lang}}|<span>{{#invoke:Lang|get_string|StatDesc_BulletArmorDamageReduction}}</span>]]: | ||
{{!}}{{Icon/Grey|[[File:Bullet Armor.png|20px|link=Bullet Resist{{If_lang}}]]|{{{bullet_resist|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|BulletResist|3}}}}}%<span class{{=}}"infobox | {{!}}{{Icon/Grey|[[File:Bullet Armor.png|20px|link=Bullet Resist{{If_lang}}]]|{{{bullet_resist|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|BulletResist|3}}}}}%<span class{{=}}"infobox-spiritboon">{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Level|BulletResist}}{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Spirit|BulletResist}}</span>}}}} | ||
|- | |- | ||
<!---- Spirit Resistance ----> | <!---- Spirit Resistance ----> | ||
{{#if: {{{spirit_resist|}}}{{#invoke:HeroData|hero_has_stat|{{#var:hero_key}}|TechResist}} | | {{#if: {{{spirit_resist|}}}{{#invoke:HeroData|hero_has_stat|{{#var:hero_key}}|TechResist}} | | ||
{{!}}[[Damage Resistance{{If_lang}}#Spirit_Resist|<span>{{#invoke:Lang|get_string|StatDesc_TechArmorDamageReduction}}</span>]]: | {{!}}[[Damage Resistance{{If_lang}}#Spirit_Resist|<span>{{#invoke:Lang|get_string|StatDesc_TechArmorDamageReduction}}</span>]]: | ||
{{!}}{{Icon/Grey|[[File:Spirit Armor.png|20px|link=Damage Resistance{{If_lang}}#Spirit_Resist]]|{{{spirit_resist|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|TechResist|3}}}}}%<span class{{=}}"infobox | {{!}}{{Icon/Grey|[[File:Spirit Armor.png|20px|link=Damage Resistance{{If_lang}}#Spirit_Resist]]|{{{spirit_resist|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|TechResist|3}}}}}%<span class{{=}}"infobox-spiritboon">{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Level|TechResist}}{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Spirit|TechResist}}</span>}}}} | ||
|- | |- | ||
<!---- Melee Resistance ----> | <!---- Melee Resistance ----> | ||
{{#if: {{{melee_resist|}}}{{#invoke:HeroData|hero_has_stat|{{#var:hero_key}}|MeleeResist}} | | {{#if: {{{melee_resist|}}}{{#invoke:HeroData|hero_has_stat|{{#var:hero_key}}|MeleeResist}} | | ||
{{!}}[[Damage Resistance{{If_lang}}#Melee Resist|<span>{{#invoke:Lang|get_string|StatDesc_MeleeResist}}</span>]]: | {{!}}[[Damage Resistance{{If_lang}}#Melee Resist|<span>{{#invoke:Lang|get_string|StatDesc_MeleeResist}}</span>]]: | ||
{{!}}{{Icon/Grey|[[File:Melee damage.png|20px|link=Damage Resistance{{If_lang}}#Melee Resist]]|{{{melee_resist|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|MeleeResist|3}}}}}%<span class{{=}}"infobox | {{!}}{{Icon/Grey|[[File:Melee damage.png|20px|link=Damage Resistance{{If_lang}}#Melee Resist]]|{{{melee_resist|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|MeleeResist|3}}}}}%<span class{{=}}"infobox-spiritboon">{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Level|MeleeResist}}{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Spirit|MeleeResist}}</span>}}}} | ||
|- | |- | ||
<!---- Bullet Lifesteal ----> | <!---- Bullet Lifesteal ----> | ||
{{#if: {{{bullet_lifesteal|}}}{{#invoke:HeroData|hero_has_stat|{{#var:hero_key}}|BulletLifesteal}} | | {{#if: {{{bullet_lifesteal|}}}{{#invoke:HeroData|hero_has_stat|{{#var:hero_key}}|BulletLifesteal}} | | ||
{{!}}[[Lifesteal{{If_lang}}#Bullet Lifesteal|<span>{{#invoke:Lang|get_string|StatDesc_BulletLifesteal}}</span>]]: | {{!}}[[Lifesteal{{If_lang}}#Bullet Lifesteal|<span>{{#invoke:Lang|get_string|StatDesc_BulletLifesteal}}</span>]]: | ||
{{!}}{{Icon/Grey|[[File:AttributeIconBulletLifesteal.png|20px|link=Lifesteal{{If_lang}}#Bullet Lifesteal]]|{{{bullet_lifesteal|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|BulletLifesteal|3}}}}}%<span class{{=}}"infobox | {{!}}{{Icon/Grey|[[File:AttributeIconBulletLifesteal.png|20px|link=Lifesteal{{If_lang}}#Bullet Lifesteal]]|{{{bullet_lifesteal|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|BulletLifesteal|3}}}}}%<span class{{=}}"infobox-spiritboon">{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Level|BulletLifesteal}}{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Spirit|BulletLifesteal}}</span>}}}} | ||
|- | |- | ||
<!---- Spirit Lifesteal ----> | <!---- Spirit Lifesteal ----> | ||
{{#if: {{{spirit_lifesteal|}}}{{#invoke:HeroData|hero_has_stat|{{#var:hero_key}}|SpiritLifesteal}} | | {{#if: {{{spirit_lifesteal|}}}{{#invoke:HeroData|hero_has_stat|{{#var:hero_key}}|SpiritLifesteal}} | | ||
{{!}}[[Lifesteal{{If_lang}}#Spirit Lifesteal|<span>{{#invoke:Lang|get_string|StatDesc_SpiritLifesteal}}</span>]]: | {{!}}[[Lifesteal{{If_lang}}#Spirit Lifesteal|<span>{{#invoke:Lang|get_string|StatDesc_SpiritLifesteal}}</span>]]: | ||
{{!}}{{Icon/Grey|[[File:AttributeIconBulletLifesteal.png|20px|link=Lifesteal{{If_lang}}#Spirit Lifesteal]]|{{{spirit_lifesteal|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|SpiritLifesteal|3}}}}}%<span class{{=}}"infobox | {{!}}{{Icon/Grey|[[File:AttributeIconBulletLifesteal.png|20px|link=Lifesteal{{If_lang}}#Spirit Lifesteal]]|{{{spirit_lifesteal|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|SpiritLifesteal|3}}}}}%<span class{{=}}"infobox-spiritboon">{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Level|SpiritLifesteal}}{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Spirit|SpiritLifesteal}}</span>}}}} | ||
|- | |- | ||
<!---- Move Speed ----> | <!---- Move Speed ----> | ||
| [[Move Speed{{If_lang}}|<span>{{#invoke:Lang|get_string|StatDesc_RunSpeed}}</span>]]: | | [[Move Speed{{If_lang}}|<span>{{#invoke:Lang|get_string|StatDesc_RunSpeed}}</span>]]: | ||
| {{Icon/Green|[[File:Move speed.png|20px|link=Move Speed]]|{{{move_speed|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|MaxMoveSpeed|2}}}}}m/s<span class{{=}}"infobox | | {{Icon/Green|[[File:Move speed.png|20px|link=Move Speed]]|{{{move_speed|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|MaxMoveSpeed|2}}}}}m/s<span class{{=}}"infobox-spiritboon">{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Level|MaxMoveSpeed}}{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Spirit|MaxMoveSpeed}}</span>}} | ||
|- | |- | ||
<!---- Sprint Speed ----> | <!---- Sprint Speed ----> | ||
| [[Move Speed{{If_lang}}#Sprint|<span>{{#invoke:Lang|get_string|StatDesc_SprintSpeed}}</span>]]: | | [[Move Speed{{If_lang}}#Sprint|<span>{{#invoke:Lang|get_string|StatDesc_SprintSpeed}}</span>]]: | ||
| {{Icon/Green|[[File:Move speed sprint.png|20px|link=Move Speed#Sprint]]|{{{sprint_speed|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|SprintSpeed|2}}}}}m/s<span class{{=}}"infobox | | {{Icon/Green|[[File:Move speed sprint.png|20px|link=Move Speed#Sprint]]|{{{sprint_speed|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|SprintSpeed|2}}}}}m/s<span class{{=}}"infobox-spiritboon">{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Level|SprintSpeed}}{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Spirit|SprintSpeed}}</span>}} | ||
|- | |- | ||
<!---- Dash Speed ----> | <!---- Dash Speed ----> | ||
| [[Stamina{{If_lang}}#Dash_Speed|<span>{{#invoke:Lang|get_string|DashSpeed_label}}</span>]]: | | [[Stamina{{If_lang}}#Dash_Speed|<span>{{#invoke:Lang|get_string|DashSpeed_label}}</span>]]: | ||
| {{Icon/Green|[[File:Springy_boots_icon.png|20px|link=Stamina#Dash_Speed]]|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|GroundDashSpeed|3}}s<span class{{=}}"infobox | | {{Icon/Green|[[File:Springy_boots_icon.png|20px|link=Stamina#Dash_Speed]]|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|GroundDashSpeed|3}}s<span class{{=}}"infobox-spiritboon">{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Level|GroundDashSpeed}}{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Spirit|GroundDashSpeed}}</span>}} | ||
|- | |- | ||
<!---- Stamina ----> | <!---- Stamina ----> | ||
| [[Stamina{{If_lang}}|<span>{{#invoke:Lang|get_string|StatDesc_Stamina}}</span>]]: | | [[Stamina{{If_lang}}|<span>{{#invoke:Lang|get_string|StatDesc_Stamina}}</span>]]: | ||
| {{Icon/Green|[[File:Springy_boots_icon.png|20px|link=Stamina]]|{{{stamina|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|Stamina|2}}}}}<span class{{=}}"infobox | | {{Icon/Green|[[File:Springy_boots_icon.png|20px|link=Stamina]]|{{{stamina|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|Stamina|2}}}}}<span class{{=}}"infobox-spiritboon">{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Level|Stamina}}{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Spirit|Stamina}}</span>}} | ||
|- | |- | ||
<!---- Stamina Cooldown ----> | <!---- Stamina Cooldown ----> | ||
| [[Stamina{{If_lang}}#Cooldown|<span>{{#invoke:Lang|get_string|StatDesc_StaminaCooldown}}</span>]]: | | [[Stamina{{If_lang}}#Cooldown|<span>{{#invoke:Lang|get_string|StatDesc_StaminaCooldown}}</span>]]: | ||
| {{Icon/Grey|[[File:AttributeIconTechDuration.png|20px|link=Stamina#Cooldown]]|{{{stamina_cooldown|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|StaminaCooldown|2}}}}}s<span class{{=}}"infobox | | {{Icon/Grey|[[File:AttributeIconTechDuration.png|20px|link=Stamina#Cooldown]]|{{{stamina_cooldown|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|StaminaCooldown|2}}}}}s<span class{{=}}"infobox-spiritboon">{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Level|StaminaCooldown}}{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Spirit|StaminaCooldown}}</span>}} | ||
|} | |} | ||
<!---- Spirit Dropdown ----> | <!---- Spirit Dropdown ----> | ||
|- | |- | ||
! colspan="2" class="infobox | ! colspan="2" class="infobox-subsection infobox-dropdown infobox-dropdown-spirit" | | ||
{| class="mw-collapsible mw-collapsed infobox | {| class="mw-collapsible mw-collapsed infobox-subsection-child" | ||
|+ class="infobox | |+ class="infobox-dropdown-header" | [[Stats#Vitality|<span class="infotext-bold infobox-dropdown-title">{{#invoke:Lang|get_string|CitadelHeroStats_Spirit}}</span>]] | ||
|- | |- | ||
| {{#ifeq:{{#invoke: | | {{#ifeq:{{#invoke:Samlovesmath/Infobox_hero|hero_has_scalars|{{#var:hero_key}}|TechPower}}|true|style{{=}}"padding-top:8px;"{{!}}}}[[Spirit Power{{If_lang}}|<span>{{#invoke:Lang|get_string|SpiritPower_label}}</span>]]: | ||
| {{Icon/Purple|[[File:Spirit_icon_noborder.png|20px|link=Spirit Power{{If_lang}}]]|{{{spirit_power|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|TechPower|2}}}}}<span class{{=}}"infobox | | {{Icon/Purple|[[File:Spirit_icon_noborder.png|20px|link=Spirit Power{{If_lang}}]]|{{{spirit_power|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|TechPower|2}}}}}<span class{{=}}"infobox-spiritboon">{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Level|TechPower}}{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Spirit|TechPower}}</span>}} | ||
|}<!-- | |}<!-- | ||
---- "Information" ----> | ---- "Information" ----> | ||
|- | |- | ||
! colspan="2" class="infobox | ! colspan="2" class="infobox-text-stat-subtitle" {{#if:{{{release_date|}}}{{{voice_actor|}}}{{{pronouns|}}}{{{codenames|}}}||style{{=}}"display:none;"}}| | ||
<span class="infotext | <span class="infotext-bold infotext-title infotext-big">{{#invoke:Dictionary|translate|Information}}</span> | ||
|- | |- | ||
! colspan="2" class="infobox | ! colspan="2" class="infobox-subsection" {{#if:{{{release_date|}}}{{{voice_actor|}}}{{{pronouns|}}}{{{codenames|}}}||style{{=}}"display:none;"}} | | ||
{| class="infobox | {| class="infobox-subsection-child" | ||
|-<!-- | |-<!-- | ||
-- Pronouns (Manual Input) ----> | -- Pronouns (Manual Input) ----> | ||
| Line 228: | Line 225: | ||
|} | |} | ||
</div> | </div> | ||
<!---- Search Engine Optimization ----> | |||
<!-- | |||
{{#seo: | |||
|keywords=Deadlock, {{{name|{{#invoke:Lang|get_string|{{{key}}}}}}}}, hero, abilities, wiki, MOBA, shooter, character, heroes, game, valve | |||
|image_alt = A portrait image of {{{name|{{#invoke:Lang|get_string|{{{key}}}}}}}} from the video game Deadlock | |||
}}--> | |||
<!---- Quotes rendering ----> | <!---- Quotes rendering ----> | ||
{{#ifeq: {{{no_summary|}}}|true | {{#ifeq: {{{no_summary|}}}|true | ||
||{{#ifeq:{{#invoke: | ||{{#ifeq:{{#invoke:Samlovesmath/Infobox_hero|hero_has_tags|{{#var:hero_en}}}}|true|{{Quotation|| | ||
<div class{{=}}{{#var:quotemark}}infobox | <div class{{=}}{{#var:quotemark}}infobox-herotags {{#var:hero_key}}{{#var:quotemark}}> | ||
<div><div class{{=}}"infobox | <div><div class{{=}}"infobox-herotag-back"></div><div class{{=}}"infobox-herotag-text">{{#invoke:HeroData|get_hero_tag|{{#var:hero_en}}|1}}</div></div> | ||
<div><div class{{=}}"infobox | <div><div class{{=}}"infobox-herotag-back"></div><div class{{=}}"infobox-herotag-text">{{#invoke:HeroData|get_hero_tag|{{#var:hero_en}}|2}}</div></div> | ||
<div><div class{{=}}"infobox | <div><div class{{=}}"infobox-herotag-back"></div><div class{{=}}"infobox-herotag-text">{{#invoke:HeroData|get_hero_tag|{{#var:hero_en}}|3}}</div></div> | ||
</div>|}}}} | </div>}}|}}}} | ||
</onlyinclude><!--noinclude>{{Documentation}}</noinclude>--> | |||