ElEditors, Interface administrators, Administrators
70,980
edits
No edit summary |
No edit summary |
||
Line 109: | Line 109: | ||
} | } | ||
end | end | ||
row = skill_table:tag('div'):attr('data-type', 'table-row'):attr('style', 'background-color: ' .. color | if (color == '') then | ||
color = frame:expandTemplate{ | |||
title = 'ColorSel', | |||
args = {'Misc'} | |||
} | |||
end | |||
row = skill_table:tag('div'):attr('data-type', 'table-row'):attr('style', 'background-color: ' .. color):attr('class', 'textfloat table-head'); | |||
row:tag('div'):attr('data-type', 'table-head'):wikitext(name); | row:tag('div'):attr('data-type', 'table-head'):wikitext(name); | ||
end | end |