Module:AbilitySection: Difference between revisions

Jump to navigation Jump to search
Group card and hint rail in .ability-section-main (only when hints present) so the rail wraps with the card and never lands beside the notes (with help from vergir-bot LLM)
Vergir (talk | contribs)
m Enable ability hints for existing hero pages
Line 98: Line 98:
}
}


-- Ability interaction hints. Gated for staged rollout:
-- delete the `hints ~= ''` guard to enable on all hero pages.
local hints_col = ''
local hints_col = ''
if hints ~= '' and ability_key ~= nil then
if ability_key ~= nil then
hints_col = AbilityHints.get_icons(ability_key, ability_num)
hints_col = AbilityHints.get_icons(ability_key, ability_num)
end
end