Module:Obstacles/Recommended: Difference between revisions
From Melvor Idle
m (fixed args from testing) |
m (icon) |
||
Line 34: | Line 34: | ||
local tr = mw.html.create('tr') | local tr = mw.html.create('tr') | ||
local sloticon = tr:tag('td') | local sloticon = tr:tag('td') | ||
sloticon:wikitext(string.format('[[File:%s.svg|%s|link=%s|36px]]', slot.icon .. '(Skill)', slot.txt, slot.link)) | sloticon:wikitext(string.format('[[File:%s.svg|%s|link=%s|36px]]', slot.icon .. ' (Skill)', slot.txt, slot.link)) | ||
if compact then | if compact then | ||
sloticon:attr('style', 'padding-bottom: 4px;') | sloticon:attr('style', 'padding-bottom: 4px;') |