Module talk:HeroData

From Deadlock Wiki
Revision as of 17:58, 19 October 2024 by Sur (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Help with extracting LevelScaling data

Can someone smart make this thing get data from things that are a part of other category,like LevelScaling and SpiritScaling. Really need it for Template:Infobox hero

I need to auto fill this fields

| increase1_value = 0.50 ⬅️
| increase1_stat = Base Bullet Damage
| increase2_value = 3.4 ⬅️
| increase2_stat = Base Melee Damage
| increase3_value = 35 ⬅️
| increase3_stat = Base Health
| ammo = {{#invoke:HeroData|get_hero_var|hero_haze|ClipSize|3}} ➡️{{ss|0.5}}⬅️

--Dragon Installman (talk) 03:58, 19 October 2024 (UTC)

Hi, we could definitely add functionality for this, however, see the current progress for a reworked hero infobox template (User:Sur), its used on User:Sur/Abrams/es. The remaining data thats useful is added to a Stat infobox (Template:Infobox stat) which is also added to User:Sur/Abrams/es. I haven't pushed it to mainspace pages yet because were in the process of getting language subdomains set up which will impact this pipeline.