ElEditors, Interface administrators, Administrators
71,009
edits
No edit summary |
No edit summary |
||
Line 19: | Line 19: | ||
local skill_types; | local skill_types; | ||
if (not isForceNav) then | if (not isForceNav) then | ||
skill_types = { | skill_types = {{ | ||
['name'] = args.l_hyper, -- 'Hyper Active', | |||
['abbr'] = 'HA' | |||
}, { | |||
['name'] = args.l_secret, -- 'Secret Art', | |||
['abbr'] = 'SeA' | |||
}, { | |||
['name'] = args.l_special, -- 'Special Active', | |||
['abbr'] = 'SA' | |||
}, { | |||
['name'] = args.l_active, -- 'Active', | |||
['abbr'] = 'A' | |||
}, { | |||
['name'] = args.l_mod, -- 'Force Mod', | |||
['abbr'] = 'FC' | |||
}, { | |||
['name'] = args.l_buff, -- 'Buff', | |||
['abbr'] = 'B' | |||
}, { | |||
['name'] = args.l_passive, -- 'Passive', | |||
['abbr'] = 'P' | |||
}, { | |||
['name'] = args.l_demon, -- 'Manic Demon', | |||
['abbr'] = 'MD' | |||
}, { | |||
['name'] = '[[File:ForceIcon.png|16px]] ' .. args.l_demon, -- 'Manic Demon', | |||
['abbr'] = 'MDF' | |||
}, { | |||
['name'] = args.l_master, -- 'Master Skill', | |||
['abbr'] = 'MS' | |||
}, { | |||
['name'] = args.l_couple, -- 'Couple Skill', | |||
['abbr'] = 'Wed' | |||
}, { | |||
['name'] = args.l_row1, -- 'Row 1', | |||
['abbr'] = 'row1' | |||
}, { | |||
['name'] = args.l_row2, -- 'Row 2', | |||
['abbr'] = 'row2' | |||
}, { | |||
['name'] = args.l_row3, -- 'Row 3', | |||
['abbr'] = 'row3' | |||
}, { | |||
['name'] = args.l_row4, -- 'Row 4', | |||
['abbr'] = 'row4' | |||
}} | |||
else | else | ||
-- Force Nav called, change skill types | -- Force Nav called, change skill types | ||
skill_types = { | skill_types = {{ | ||
['name'] = args.l_force_active, -- 'Force Active', | |||
['abbr'] = 'FA3', | |||
['type'] = 'third' | |||
}, { | |||
['name'] = args.l_force_passive, -- 'Force Passive', | |||
['abbr'] = 'FP3', | |||
['type'] = 'third' | |||
}, { | |||
['name'] = args.l_force_active, -- 'Force Active', | |||
['abbr'] = 'FAM', | |||
['type'] = 'master' | |||
}, { | |||
['name'] = args.l_force_passive, -- 'Force Passive', | |||
['abbr'] = 'FPM', | |||
['type'] = 'master' | |||
}} | |||
end | end | ||
Line 151: | Line 130: | ||
header:css('background-color', colors); | header:css('background-color', colors); | ||
header:css('justify-content', ' | header:css({ | ||
['justify-content'] = 'center', | |||
['background-color'] = colors | |||
}); | |||
if (not isForceNav and not args.is_guild) then | if (not isForceNav and not args.is_guild) then | ||
header:wikitext(frame:expandTemplate{ | header:wikitext(frame:expandTemplate{ | ||
Line 234: | Line 216: | ||
-- Append header fields on the left. | -- Append header fields on the left. | ||
skill_nav_wrap:tag('div'):addClass('skill-nav-sub-head border-color tone-4'):wikitext(name .. mc_skill_name_head); | skill_nav_wrap:tag('div'):addClass('skill-nav-sub-head border-color tone-4'):wikitext(name .. | ||
mc_skill_name_head); | |||
-- Get localized names | -- Get localized names |