Editing Module:Abilities-test/cardGive feedback
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 73: | Line 73: | ||
-- Pulls data from Data:AbilityCards.json to populate Template:Ability card v2 | -- Pulls data from Data:AbilityCards.json to populate Template:Ability card v2 | ||
function build_ability_card(hero_key, ability_num, add_link, notes, notes_source_page) | function build_ability_card(hero_key, ability_num, add_link, notes, notes_source_page) | ||
local ability = utils.get_ability_card_data(hero_key, ability_num) | local ability = utils.utils.get_ability_card_data(hero_key, ability_num) | ||
if(ability == nil) then Β | if(ability == nil) then Β | ||
return 'Ability data not found for hero ' ..hero_key.. ' and num ' .. ability_num | return 'Ability data not found for hero ' ..hero_key.. ' and num ' .. ability_num | ||