Module:HeroData: Difference between revisions

Jump to navigation Jump to search
Sur (talk | contribs)
m display_regions removed; bolding stat value removed
Sur (talk | contribs)
m postfix bugfix
Line 196: Line 196:
else
else
-- light grey for postfixes
-- light grey for postfixes
postfix = '<span style="color: #666666;">' .. lang_module._get_string(postfix) .. "</span>"
postfix = lang_module._get_string(postfix)
if (postfix == nil) then
postfix = ""
end
postfix = '<span style="color: #666666;">' .. postfix .. "</span>"
end
end
-- if a language is missing the postfix, use no postfix
-- if a language is missing the postfix, use no postfix
if (postfix == nil) then
postfix = ""
end
-- Check if icon file exists, and if not, don't use any image
-- Check if icon file exists, and if not, don't use any image