Module:InfoboxHero: Difference between revisionsGive feedback
Jump to navigation
Jump to search
Drop the deprecated no_summary and no_icon parameters in favour of show_hero_tags and show_icon (with help from vergir-bot LLM) |
mNo edit summary |
||
| Line 17: | Line 17: | ||
-- and [[Template:Infobox hero/themes.css]]. | -- and [[Template:Infobox hero/themes.css]]. | ||
-- | -- | ||
-------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ||
| Line 31: | Line 29: | ||
local hero_module = require('Module:HeroData') | local hero_module = require('Module:HeroData') | ||
local get_stat, has_stat, has_override_or_stat, stat_number | local get_stat, has_stat, has_override_or_stat, stat_number | ||
| Line 42: | Line 39: | ||
local FALLBACK_CARD = 'Dummy card.png' | local FALLBACK_CARD = 'Dummy card.png' | ||
-- Row fields (all optional except a label): | -- Row fields (all optional except a label): | ||
-- stat Key in Data:HeroData.json. Resolved top-level, then .Weapon, | -- stat Key in Data:HeroData.json. Resolved top-level, then .Weapon, | ||