Module:HeroData: Difference between revisions

Jump to navigation Jump to search
Sur (talk | contribs)
m correction Undo revision 6825 by Sur (talk)
Sur (talk | contribs)
m postfixes now grey
Line 193: Line 193:
postfix = ""
postfix = ""
else
else
postfix = lang_module._get_string(postfix)
postfix = '<span style="color: #666666;">' .. lang_module._get_string(postfix) .. "</span>"
end
end
-- if a language is missing the postfix, use no postfix
-- if a language is missing the postfix, use no postfix
Line 294: Line 294:
postfix = ""
postfix = ""
else
else
postfix = lang_module._get_string(postfix)
postfix = '<span style="color: #666666;">' .. lang_module._get_string(postfix) .. "</span>"
end
end
-- if a language is missing the postfix, use no postfix
-- if a language is missing the postfix, use no postfix
Line 330: Line 330:
-- Add call to the set of calls
-- Add call to the set of calls
template_calls = template_calls .. "\n" .. template_call
template_calls = template_calls .. "\n" .. template_call
-- Add lots of spacing after the Weapon and Vitality categories
if (category == "Weapon" or category == "Vitality") then
template_calls = template_calls .. "\n\n\n\n\n\n\n\n\n"
end
end
end