Module talk:HeroData: Difference between revisions
Jump to navigation
Jump to search
Created page with "==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 --~~~~" |
mNo edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
==Help with extracting LevelScaling data== | ==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 --[[User:Dragon Installman|Dragon Installman]] ([[User talk:Dragon Installman|talk]]) 03:58, 19 October 2024 (UTC) | 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 | |||
<pre> | |||
| 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 | |||
</pre> | |||
<pre> | |||
| ammo = {{#invoke:HeroData|get_hero_var|hero_haze|ClipSize|3}} ➡️{{ss|0.5}}⬅️ | |||
</pre> --[[User:Dragon Installman|Dragon Installman]] ([[User talk: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. |
Latest revision as of 17:58, 19 October 2024
Help with extracting LevelScaling data[edit source]
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.