Module:Obstacles/Recommended: Difference between revisions

m
images
m (icon)
m (images)
Line 33: Line 33:
local function make_row(slot, data, compact)
local function make_row(slot, data, compact)
local tr = mw.html.create('tr')
local tr = mw.html.create('tr')
local sloticon = tr:tag('td')
local tiericon = tr:tag('td')
tiericon:wikitext( icons.Icon({slot.txt, img=slot.icon, type='skill'}) )
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
892

edits