393
edits
No edit summary |
No edit summary |
||
Line 53: | Line 53: | ||
end | end | ||
local html = mw.html.create('div') | local html = mw.html.create('div') | ||
for _, node in ipairs(skillNodes) do | for _, node in ipairs(skillNodes) do | ||
Line 65: | Line 59: | ||
:tag('h4'):wikitext(node.name):done() | :tag('h4'):wikitext(node.name):done() | ||
:tag('p'):wikitext('Points: ' .. node.costs.points):done() | :tag('p'):wikitext('Points: ' .. node.costs.points):done() | ||
:css({ | |||
background = '#333', | |||
color = '#fff', | |||
padding = '10px', | |||
['border-radius'] = '5px' | |||
}) | |||
if node.modifiers then | if node.modifiers then |
edits