ElEditors, Interface administrators, Administrators
70,981
edits
No edit summary |
No edit summary |
||
Line 99: | Line 99: | ||
for k, v in ipairs(char_order) do | for k, v in ipairs(char_order) do | ||
local display_name = v; | local display_name = v; | ||
if str_localized(v) then | local actual_name = v; | ||
if | if str_localized(v) then actual_name = split_lang(v)[1]; display_name = split_lang(v)[2] end | ||
local base_icon = mw.html.create('div'):attr('data-base', | if actual_name == 'Lu/Ciel' then actual_name = 'LuCiel (Lu)' end | ||
local base_icon = mw.html.create('div'):attr('data-base', actual_name):attr('data-display-base', display_name):wikitext('[[File: Icon - ' .. actual_name .. '.png]]') | |||
select_banner:node(base_icon) | select_banner:node(base_icon) | ||
end | end |