Editing Module:Abilities/cardGive feedback
Jump to navigation
Jump to search
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 87: | Line 87: | ||
local upgrades = get_upgrade_boxes(hero_key, ability_num) | local upgrades = get_upgrade_boxes(hero_key, ability_num) | ||
-- invisible span so Module:Icon can read the ability number | |||
local numSpan = string.format('<span class="abi-num" data-num="%s"></span>', ability_num) | |||
return frame:expandTemplate{ | return frame:expandTemplate{ | ||
| Line 96: | Line 99: | ||
-- Header info defined in various attributes | -- Header info defined in various attributes | ||
name = ability_name_localized, | name = numSpan .. ability_name_localized, | ||
name_link = name_link, | name_link = name_link, | ||
icon = lang.get_string(ability.Key, 'en') .. '.png', | icon = lang.get_string(ability.Key, 'en') .. '.png', | ||