|
|
| (11 intermediate revisions by 4 users not shown) |
| Line 1: |
Line 1: |
| <templatestyles src="Infobox hero/styles.css" /> | | <templatestyles src="Infobox hero/styles.css" /><templatestyles src="Infobox hero/themes.css" /><includeonly>{{#invoke:InfoboxHero|render}}</includeonly><noinclude>{{Documentation}}</noinclude> |
| <templatestyles src="Infobox hero/themes.css" /> | |
| <includeonly><!-- | |
| -->{{#vardefine:provided_key|{{{key|}}}}}<!--
| |
| If key provided is an accepted hero_[name] key, use it;
| |
| -->{{#ifeq: {{#invoke: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;
| |
| -->{{#ifeq:{{#invoke: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"
| |
| -->{{#vardefine:hero_key|hero_targetdummy}}<!--
| |
| -->
| |
| }}}}
| |
| <!--
| |
| | |
| Get English string name from current key
| |
| -->{{#vardefine:hero_en|{{#invoke:Lang|get_string|{{#var:hero_key}}|lang_code_override=en}} }}<!--
| |
| -->{{#vardefine:hero_en_herodata|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|Name}} }}<!--
| |
| -->{{#vardefine:hero_lang|{{#invoke:Lang|get_string|{{#var:hero_key}}}} }}<!--
| |
| | |
| THEME VARIABLES:
| |
| -->{{#vardefine:theme-logo-height| {{#invoke:Infobox_hero|get_theme_var|{{#var:hero_key}}|logo-height}} }}<!--
| |
| -->{{#vardefine:theme-bg-image| {{#invoke:Infobox_hero|get_theme_var|{{#var:hero_key}}|bg-image}} }}<!--<!--
| |
| -->{{#vardefine:theme-bg-height| {{#invoke:Infobox_hero|get_theme_var|{{#var:hero_key}}|bg-height}} }}<!--
| |
| | |
| DEPRECATED PARAM VARIABLES: (at least until its all moved over)
| |
| -->{{#ifeq:{{{no_name|}}}|true|{{#vardefine:show_logo|false}}|{{#vardefine:show_logo|{{{show_logo|true}}}}}}}<!--
| |
| -->{{#ifeq:{{{no_summary|}}}|true|{{#vardefine:show_hero_tags|false}}|{{#vardefine:show_hero_tags|{{{show_hero_tags|true}}}}}}}<!--
| |
| -->{{#ifeq:{{{no_icon|}}}|true|{{#vardefine:show_icon|false}}|{{#vardefine:show_icon|{{{show_icon|true}}}}}}}<!--
| |
| | |
| -->{{#vardefine:quotemark|"}}<!-- for inserting into html
| |
| | |
| | |
| --- Overridden Variable Styles ---
| |
| --><div class={{#var:quotemark}}infobox-h {{#var:hero_key}}{{#var:quotemark}}><!--
| |
| | |
| --- Box Background ---
| |
| --><div class="infobox-h-background">[[File:{{#var:theme-bg-image}}|{{#var:theme-bg-height}}|right|link=|class=notpageimage]]</div><!--
| |
| -->
| |
| {| class="infobox-h-content"
| |
| ! colspan="2" class="infobox-h-title" {{#if:{{{name_font_size|}}}|style{{=}}"font-size: {{{name_font_size|25px}}};"}} |<!--
| |
| | |
| ---- Title + Name Image + Hero Thumbnail ---->
| |
| <div class="infobox-h-title-hero">
| |
| <div class="infobox-h-title-hero-left"></div>
| |
| <div class="infobox-h-title-hero-middle">{{If lang
| |
| |{{#ifexist:File:{{{name|{{#var:hero_en}}}}}_name.png|{{Template:Icon/White|[[File:{{{name|{{#var:hero_en}}}}}_name.png|{{#var:theme-logo-height}}|class=notpageimage]]}}|{{{name|{{#var:hero_lang}}}}}}}
| |
| |{{#ifexist:File:{{{name|{{#var:hero_en}}}}}_name_{{#invoke:Lang|get_lang_code}}.png|{{Template:Icon/White|[[File:{{{name|{{#var:hero_en}}}}}_name_{{#invoke:Lang|get_lang_code}}.png|{{#var:theme-logo-height}}|class=notpageimage]]}}|{{{name|{{#var:hero_lang}}}}}}}
| |
| |{{{name|{{#var:hero_lang}}}}}}}</div>
| |
| <div class="infobox-h-title-hero-right"><div>
| |
| {{#ifeq:{{#var:show_icon}}|true|{{#ifexist:File:{{{icon|{{#var:hero_en}}}}}.png|<div class="infobox-h-title-hero-tornbox"></div>
| |
| <div class="infobox-h-title-hero-icon">[[File:{{{icon|{{#var:hero_en}}}}}.png|center|35px|class=notpageimage]]</div></div>
| |
| </div>|}}}}<!--
| |
| | |
| ---- Hero Image Card ---->
| |
| |-
| |
| ! colspan="2" class="infobox-h-image" |<div>{{#ifexist: File:{{{card|{{#var:hero_en_herodata}} card.png}}}|[[File:{{{card|{{#var:hero_en_herodata}} card.png}}}|150px|alt={{{BASEPAGENAME}}}]]|[[File:Dummy card.png|150px|alt={{{BASEPAGENAME}}}]]}}</div><!--
| |
| | |
| ---- Hero Tags ---->
| |
| {{#ifeq:{{#var:show_hero_tags}}|true|{{#ifeq:{{#invoke:Infobox_hero|hero_has_tags|{{#var:hero_en}}}}|true|
| |
| {{!}}-
| |
| {{!}} colspan="2" class="infobox-h-herotags-row" {{!}}
| |
| <div class="infobox-h-herotags-inner {{#var:hero_key}}">
| |
| <div class="infobox-h-herotag-pill">{{#invoke:HeroData|get_hero_tag|{{#var:hero_en}}|1}}</div>
| |
| <div class="infobox-h-herotag-pill">{{#invoke:HeroData|get_hero_tag|{{#var:hero_en}}|2}}</div>
| |
| <div class="infobox-h-herotag-pill">{{#invoke:HeroData|get_hero_tag|{{#var:hero_en}}|3}}</div>
| |
| </div>
| |
| |}}|}}<!--
| |
| | |
| ---- Weapon Name ---->
| |
| |-
| |
| !colspan="2" class="infobox-h-text-weapon infotext-h-bold" | {{#if: {{{weapon_name|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|NameKey|true}}}}}|<span class="infotext-h-title">{{#invoke:Lang|get_string|CitadelCategoryWeapon}}:</span><br><span class="infotext-h-bold infotext-h-bigger">''"{{{weapon_name|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|NameKey|true}}}}}"''</span>|}}<!--
| |
| | |
| ---- "Base Statistics" ---->
| |
| |-
| |
| !colspan="2" class="infobox-h-text-stat-subtitle-border"|
| |
| <span class="infotext-h-bold infotext-h-title infotext-h-big">{{#invoke:Lang|get_string|Citadel_HeroPage_BaseStats}}</span><!--
| |
| | |
| ---- Weapon Dropdown ---->
| |
| |-
| |
| ! colspan="2" class="infobox-h-subsection infobox-h-dropdown infobox-h-dropdown-weapon" |
| |
| {| class="mw-collapsible infobox-h-subsection-child"
| |
| |+ class="infobox-h-dropdown-header {{#ifeq:{{If_lang}}|/ru|infobox-h-dropdown-header-overflow}}" | [[Stats{{If_lang}}#Weapon|<span class="infotext-h-bold infobox-h-dropdown-title">{{#invoke:Lang|get_string|CitadelHeroStats_Weapon}}</span>]]
| |
| |-<!--
| |
| ---- Damage per second ---->
| |
| | [[Damage per second{{If_lang}}|<span>{{#invoke:Lang|get_string|DPS_label}}</span>]]:
| |
| | {{Icon/Brown|[[File:Damage.png|20px|link=Damage per second{{If_lang}}]]|{{{dps|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|DPS|3}}}}}}}
| |
| |-<!--
| |
| ---- Bullet Damage ---->
| |
| | [[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-h-spiritboon">{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Level|BulletDamage}}{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Spirit|BulletDamage}}</span>}}
| |
| |-
| |
| <!---- Pellets per shot ---->
| |
| {{#ifexpr: {{{pellets_per_shot|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|BulletsPerShot|3}}}}} > 1 |
| |
| {{!}} [[Damage per second{{If_lang}}|<span>{{#invoke:Lang|get_string|BonusPelletsPerShot_label}}</span>]]:
| |
| {{!}} {{Icon/Brown|[[File:Bullets per sec icon.png|20px|link=Fire Rate{{If_lang}}]]|{{{pellets_per_shot|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|BulletsPerShot|3}}}}}<span class{{=}}"infobox-h-spiritboon">{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Level|BulletsPerShot}}{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Spirit|BulletsPerShot}}</span>}}}}
| |
| |-
| |
| <!---- Ammo ---->
| |
| | [[Ammo{{If_lang}}|<span>{{#invoke:Lang|get_string|StatDesc_ClipSizeBonus}}</span>]]:
| |
| | {{Icon/Brown|[[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-h-spiritboon">{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Level|ClipSize}}{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Spirit|ClipSize}}</span>}}}}}}}
| |
| |-
| |
| <!---- Bullets per burst ---->
| |
| {{#ifexpr: {{{bullets_per_burst|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|BulletsPerBurst|3}}}}} > 1 |
| |
| {{!}} [[Damage per second{{If_lang}}|<span>{{#invoke:Dictionary|translate|BulletsPerBurst}}</span>]]:
| |
| {{!}} {{Icon/Brown|[[File:Bullets per sec icon.png|20px|link=Fire Rate{{If_lang}}]]|{{{bullets_per_burst|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|BulletsPerBurst|3}}}}}<span class{{=}}"infobox-h-spiritboon">{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Level|BulletsPerBurst}}{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Spirit|BulletsPerBurst}}</span>}}}}
| |
| |-
| |
| <!---- Bullets per sec ---->
| |
| | [[Fire_Rate{{If_lang}}|<span>{{#invoke:Lang|get_string|StatDesc_RoundsPerSecond}}</span>]]:
| |
| | {{Icon/Brown|[[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-h-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{{If_lang}}|<span>{{#invoke:Lang|get_string|StatDesc_ReloadTime}}</span>]]:
| |
| | {{Icon/Brown|[[File:AttributeIconReloadTime.png|20px|link=Reload Time{{If_lang}}]]|{{{reload_time|{{#ifeq: {{{no_ammo|}}}|true|N/A|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|ReloadTime|3}}s}}}}}}}
| |
| |-
| |
| <!---- Bullet Velocity ---->
| |
| | [[Bullet Velocity{{If_lang}}|<span>{{#invoke:Lang|get_string|StatDesc_BulletSpeed}}</span>]]:
| |
| | {{Icon/Brown|[[File:AttributeIconBulletSpeed.png|20px|link=Bullet Velocity{{If_lang}}]]|{{{bullet_velocity|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|BulletSpeed|3}}}}}m/s}}
| |
| |-
| |
| <!---- Light Melee ---->
| |
| | [[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-h-spiritboon">{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Level|LightMeleeDamage}}{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Spirit|LightMeleeDamage}}</span>}}
| |
| |-
| |
| <!---- Heavy Melee ---->
| |
| | [[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-h-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{{If_lang}}|<span>{{#invoke:Lang|get_string|CitadelHeroStats_Weapon_Falloff}}</span>]]:
| |
| | {{Icon/Brown||{{{range|{{#ifeq: {{{no_falloff|}}}|true|N/A|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|FalloffStartRange|2}}m <span style="color:#ecac19;">➔</span> {{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|FalloffEndRange|2}}m}}}}}}}
| |
| |-
| |
| <!---- Maximum Range (Manual Input) ---->
| |
| {{#if: {{{max_range|}}} |
| |
| {{!}} [[Falloff_Range{{If_lang}}|<span>Max Range</span>]]:
| |
| {{!}} {{Icon/Brown||{{{max_range|}}}}}}}
| |
| |-
| |
| <!---- Crit Bonus Scale ---->
| |
| {{#ifexpr: {{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|CritDamageBonusPercent|3}} != 0 |
| |
| {{!}} [[Weapon Damage{{If_lang}}#Crit_Multiplier|<span>{{#invoke:Lang|get_string|StatDesc_CritDamageBonusScale}}</span>]]:
| |
| {{!}} {{Icon/Brown|[[File:Crit reduction.png|20px|link=Weapon Damage#Crit_Multiplier]]|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|CritDamageBonusPercent|3}}%}}}}
| |
| |}
| |
| | |
| <!---- Vitality Dropdown ---->
| |
| |-
| |
| ! colspan="2" class="infobox-h-subsection infobox-h-dropdown infobox-h-dropdown-vitality" |
| |
| {| class="mw-collapsible infobox-h-subsection-child"
| |
| |+ class="infobox-h-dropdown-header {{#ifeq:{{If_lang}}|/ru|infobox-h-dropdown-header-overflow}}" | [[Stats#Vitality|<span class="infotext-h-bold infobox-h-dropdown-title">{{#invoke:Lang|get_string|CitadelHeroStats_Vitality}}</span>]]
| |
| |-
| |
| <!---- Health ---->
| |
| | {{#ifeq:{{#invoke: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-h-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{{If_lang}}|<span>{{#invoke:Lang|get_string|StatDesc_HealthRegen}}</span>]]:
| |
| | {{Icon/Green|[[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-h-spiritboon">{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Level|BaseHealthRegen}}{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Spirit|BaseHealthRegen}}</span>}}
| |
| |-
| |
| <!---- Crit Resistance ---->
| |
| {{#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>]]:
| |
| {{!}}{{Icon/Green|[[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-h-spiritboon">{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Level|CritDamageReceivedPercent}}{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Spirit|CritDamageReceivedPercent}}</span>}}}}
| |
| |-
| |
| <!---- Bullet Resistance ---->
| |
| {{#if: {{{bullet_resist|}}}{{#invoke:HeroData|hero_has_stat|{{#var:hero_key}}|BulletResist}} |
| |
| {{!}}[[Damage Resistance{{If_lang}}|<span>{{#invoke:Lang|get_string|StatDesc_BulletArmorDamageReduction}}</span>]]:
| |
| {{!}}{{Icon/Green|[[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-h-spiritboon">{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Level|BulletResist}}{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Spirit|BulletResist}}</span>}}}}
| |
| |-
| |
| <!---- Spirit Resistance ---->
| |
| {{#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>]]:
| |
| {{!}}{{Icon/Green|[[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-h-spiritboon">{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Level|TechResist}}{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Spirit|TechResist}}</span>}}}}
| |
| |-
| |
| <!---- Melee Resistance ---->
| |
| {{#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>]]:
| |
| {{!}}{{Icon/Green|[[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-h-spiritboon">{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Level|MeleeResist}}{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Spirit|MeleeResist}}</span>}}}}
| |
| |-
| |
| <!---- Debuff Resistance ---->
| |
| {{#if: {{{debuff_resist|}}}{{#invoke:HeroData|hero_has_stat|{{#var:hero_key}}|DebuffResist}} |
| |
| {{!}}[[Debuff Resist|<span>{{#invoke:Lang|get_string|StatDesc_DebuffResist}}</span>]]:
| |
| {{!}}{{Icon/Green|[[File:Spirit Armor.png|20px|link=Damage Resistance{{If_lang}}#Spirit_Resist]]|{{{spirit_resist|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|DebuffResist|3}}}}}%<span class{{=}}"infobox-h-spiritboon">{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Level|DebuffResist}}{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Spirit|DebuffResist}}</span>}}}}
| |
| |-
| |
| <!---- Bullet Lifesteal ---->
| |
| {{#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>]]:
| |
| {{!}}{{Icon/Green|[[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-h-spiritboon">{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Level|BulletLifesteal}}{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Spirit|BulletLifesteal}}</span>}}}}
| |
| |-
| |
| <!---- Spirit Lifesteal ---->
| |
| {{#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>]]:
| |
| {{!}}{{Icon/Green|[[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-h-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{{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-h-spiritboon">{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Level|MaxMoveSpeed}}{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Spirit|MaxMoveSpeed}}</span>}}
| |
| |-
| |
| <!---- Sprint Speed ---->
| |
| | [[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-h-spiritboon">{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Level|SprintSpeed}}{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Spirit|SprintSpeed}}</span>}}
| |
| |-
| |
| <!---- Dash Speed ---->
| |
| | [[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}}m/s<span class{{=}}"infobox-h-spiritboon">{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Level|GroundDashSpeed}}{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Spirit|GroundDashSpeed}}</span>}}
| |
| |-
| |
| <!---- Stamina ---->
| |
| | [[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-h-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{{If_lang}}#Cooldown|<span>{{#invoke:Lang|get_string|StatDesc_StaminaCooldown}}</span>]]:
| |
| | {{Icon/Green|[[File:AttributeIconTechDuration.png|20px|link=Stamina#Cooldown]]|{{{stamina_cooldown|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|StaminaCooldown|2}}}}}s<span class{{=}}"infobox-h-spiritboon">{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Level|StaminaCooldown}}{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Spirit|StaminaCooldown}}</span>}}
| |
| |}
| |
| | |
| <!---- Spirit Dropdown ---->
| |
| |-
| |
| ! colspan="2" class="infobox-h-subsection infobox-h-dropdown infobox-h-dropdown-spirit" |
| |
| {| class="mw-collapsible infobox-h-subsection-child"
| |
| |+ class="infobox-h-dropdown-header {{#ifeq:{{If_lang}}|/ru|infobox-h-dropdown-header-overflow}}" | [[Stats#Vitality|<span class="infotext-h-bold infobox-h-dropdown-title">{{#invoke:Lang|get_string|CitadelHeroStats_Spirit}}</span>]]
| |
| |-
| |
| | {{#ifeq:{{#invoke: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-h-spiritboon">{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Level|TechPower}}{{#invoke:HeroData|get_hero_scalar|{{#var:hero_key}}|Spirit|TechPower}}</span>}}
| |
| |}<!--
| |
| | |
| ---- "Information" ---->
| |
| |-
| |
| ! colspan="2" class="infobox-h-text-stat-subtitle" {{#if:{{{release_date|}}}{{{voice_actor|}}}{{{pronouns|}}}{{{codenames|}}}||style{{=}}"display:none;"}}|
| |
| <span class="infotext-h-bold infotext-h-title infotext-h-big">{{#invoke:Dictionary|translate|Information}}</span>
| |
| |-
| |
| ! colspan="2" class="infobox-h-subsection" {{#if:{{{release_date|}}}{{{voice_actor|}}}{{{pronouns|}}}{{{codenames|}}}||style{{=}}"display:none;"}} |
| |
| {| class="infobox-h-subsection-child"
| |
| |-<!--
| |
| -- Pronouns (Manual Input) ---->
| |
| {{#if:{{{pronouns|}}}|
| |
| {{!}}Pronouns:
| |
| {{!}}{{{pronouns|}}}
| |
| }}
| |
| |-
| |
| <!---- Voice Actor (Manual Input) ---->
| |
| {{#if:{{{voice_actor|}}}|
| |
| {{!}}{{#invoke:Dictionary|translate|VoiceActor}}:
| |
| {{!}}{{{voice_actor|}}}
| |
| }}
| |
| |-
| |
| <!---- Release Date (Manual Input) ---->
| |
| {{#if:{{{release_date|}}}|
| |
| {{!}}[[Heroes by release{{If_lang}}|<span>{{#invoke:Dictionary|translate|ReleaseDate}}</span>]]:
| |
| {{!}}{{{release_date|}}}
| |
| }}
| |
| |-
| |
| <!---- Codenames (Manual Input) ---->
| |
| {{#if:{{{codenames|}}}|
| |
| {{!}}{{#invoke:Dictionary|translate|Codenames}}:
| |
| {{!}}{{{codenames|}}}
| |
| }}
| |
| |}
| |
| |}</div><!--
| |
| -->{{#ifeq:{{NAMESPACE}}|Template||{{DISPLAYTITLE:{{{name|{{#var:hero_lang}}}}}}}}}
| |
| {{#ifeq:{{#invoke:HeroData|get_hero_var|{{#var:hero_lang}}|IsDisabled}}|false|
| |
| {{#ifeq:{{lc:{{{nocat|false}}}}}|false|
| |
| {{lang cat|Heroes}}
| |
| {{lang cat|{{#var:hero_en}}}}
| |
| {{#ifexpr:{{{pellets_per_shot|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|BulletsPerShot|3}}}}} > 1|{{lang cat|Heroes with spreadshot weapons}}
| |
| {{#ifeq:{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|HitOnceAcrossAllBullets}}|true|{{lang cat|Heroes with single damage spreadshot weapons}}}}}}
| |
| {{#ifexpr:{{{bullets_per_burst|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|BulletsPerBurst|3}}}}} > 1|{{lang cat|Heroes with burst weapons}}}}
| |
| {{#ifexpr:({{{pellets_per_shot|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|BulletsPerShot|3}}}}} <= 1 and {{{bullets_per_burst|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|BulletsPerBurst|3}}}}} <= 1)|{{lang cat|Heroes with automatic weapons}}}}
| |
| {{#ifeq:{{#invoke:HeroData|get_alt_fire_var|{{#var:hero_key}}|BulletDamage}}|No Alt Fire||{{lang cat|Heroes with alternate fire weapons}}}}
| |
| {{#if:{{{crit_reduction|}}}{{#invoke:HeroData|hero_has_stat|{{#var:hero_key}}|CritDamageReceivedPercent}}|{{lang cat|Heroes with modified crit resistance}}}}
| |
| {{#ifeq:{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|ReloadSingle}}|true|{{lang cat|Heroes with single reload weapons}}}}
| |
| {{#ifeq:{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|CanCrit}}|false|{{lang cat|Heroes that don't deal critical damage}}}}
| |
| {{#ifexpr:{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|CritDamageBonusPercent|3}} != 0|{{lang cat|Heroes with modified crit scale}}}}
| |
| {{#if:{{{bullet_resist|}}}{{#invoke:HeroData|hero_has_stat|{{#var:hero_key}}|BulletResist}}|{{lang cat|Heroes with modified bullet resist}}}}
| |
| {{#if:{{{spirit_resist|}}}{{#invoke:HeroData|hero_has_stat|{{#var:hero_key}}|TechResist}}|{{lang cat|Heroes with modified spirit resist}}}}
| |
| {{#if:{{{melee_resist|}}}{{#invoke:HeroData|hero_has_stat|{{#var:hero_key}}|MeleeResist}}|{{lang cat|Heroes with modified melee resist}}}}
| |
| {{#if:{{{debuff_resist|}}}{{#invoke:HeroData|hero_has_stat|{{#var:hero_key}}|DebuffResist}}|{{lang cat|Heroes with modified debuff resist}}}}
| |
| {{#if:{{{bullet_lifesteal|}}}{{#invoke:HeroData|hero_has_stat|{{#var:hero_key}}|BulletLifesteal}}|{{lang cat|Heroes with modified bullet lifesteal}}}}
| |
| {{#if:{{{spirit_lifesteal|}}}{{#invoke:HeroData|hero_has_stat|{{#var:hero_key}}|SpiritLifesteal}}|{{lang cat|Heroes with modified spirit lifesteal}}}}
| |
| {{#if:{{{stamina|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|Stamina|2}}}}}|{{lang cat|Heroes with {{{stamina|{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|Stamina|2}}}}} stamina}}}}
| |
| {{#ifeq:{{#invoke:HeroData|get_hero_var|{{#var:hero_lang}}|FalloffStartRange}}|{{#invoke:HeroData|get_hero_var|{{#var:hero_lang}}|FalloffEndRange}}|{{lang cat|Heroes with no weapon damage falloff}}}}
| |
| {{#if:{{#invoke:HeroData|hero_has_stat|{{#var:hero_key}}|SpinAcceleration}}|{{lang cat|Heroes with spin up weapons}}}}
| |
| {{#ifeq:{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|BulletGravityScale}}|0|{{lang cat|Heroes without bullet gravity}}}}
| |
| {{#ifexpr:{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|GroundDashSpeed|3}} < 14.7|{{lang cat|Heroes with slow dash speed}}}}
| |
| {{#ifexpr:{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|GroundDashSpeed|3}} = 14.7|{{lang cat|Heroes with medium dash speed}}}}
| |
| {{#ifexpr:{{#invoke:HeroData|get_hero_var|{{#var:hero_key}}|GroundDashSpeed|3}} > 14.7|{{lang cat|Heroes with fast dash speed}}}}
| |
| }}}}<!--
| |
| --></includeonly><noinclude>{{Documentation}}</noinclude>
| |