Template:Infobox hero: Difference between revisionsGive feedback
Gammaton32 (talk | contribs) reverted displaytitle change to allow for "name" override |
added auto categorisation |
||
| Line 252: | Line 252: | ||
|} | |} | ||
|}</div><!-- | |}</div><!-- | ||
-->{{#ifeq:{{NAMESPACE}}|Template||{{DISPLAYTITLE:{{{name|{{#var:hero_lang}}}}}}}}} | -->{{#ifeq:{{NAMESPACE}}|Template||{{DISPLAYTITLE:{{{name|{{#var:hero_lang}}}}}}}}} | ||
{{#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 shotgun weapon}}}} | |||
{{#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}}}} | |||
{{#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}}}} | |||
{{#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}}}} | |||
{{#if:{{{release_date|}}}|{{lang cat|Heroes released in {{{release_date}}}}} | |||
}}}}<!-- | |||
--></includeonly><noinclude>{{Documentation}}</noinclude> | --></includeonly><noinclude>{{Documentation}}</noinclude> | ||