Module:Icons: Difference between revisions

Remove unused SkillReq function
(Replace _SkillReq with function that handles both realms)
(Remove unused SkillReq function)
Line 1,166: Line 1,166:
text:wikitext(level)
text:wikitext(level)
return tostring(text)
return tostring(text)
end
function p.SkillReq(frame)
local args = frame.args ~= nil and frame.args or frame
local skill = args[1]
local level = tonumber(args[2])
local realmID = args[3]
local showText = args.showText ~= nil and args.showText ~= '' and args.showText ~= 'false'
return p._SkillReq(skill, level, showText, realmID)
end
end


2,875

edits