Module:AbilitySection: Difference between revisionsGive feedback
Jump to navigation
Jump to search
m Enable ability hints for existing hero pages |
Cleanup after go-live: remove unused hints arg and update grouping comment (with help from vergir-bot LLM) |
||
| Line 76: | Line 76: | ||
local notes = trim(args.notes or '') | local notes = trim(args.notes or '') | ||
local tips = trim(args.tips or '') | local tips = trim(args.tips or '') | ||
local hero_key = get_hero_key(hero_name) | local hero_key = get_hero_key(hero_name) | ||
| Line 114: | Line 113: | ||
end | end | ||
-- | -- Group the card and the hint rail together so the rail wraps with the card | ||
-- (never onto the notes' line). Abilities with no interactions have no rail, | |||
-- | -- so they keep the flat single-card structure. | ||
local card_block = '<div class="ability-section-card">' .. card .. '</div>' | local card_block = '<div class="ability-section-card">' .. card .. '</div>' | ||
local left_col | local left_col | ||