Editing Module:HeroData/navGive 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 74: | Line 74: | ||
local in_herolabs = frame.args['in_herolabs'] or 'false' | local in_herolabs = frame.args['in_herolabs'] or 'false' | ||
local debug_mode = frame.args['debug_mode'] == 'true' | local debug_mode = frame.args['debug_mode'] == 'true' | ||
local lang_code = lang_module.get_lang_code() | |||
local subpage_str = '' | |||
if lang_code ~= 'en' then | |||
subpage_str = '/' .. lang_code | |||
end | |||
local heroes = get_heroes(in_herolabs) | local heroes = get_heroes(in_herolabs) | ||