Bureaucrats, Check users, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, Widget editors
1,659
edits
m (How about a regular match) |
m (How about this) |
||
Line 110: | Line 110: | ||
end | end | ||
if string.match(args['count'],'%?') or string.match(args['Count'],'%?') then | if tonumber(args['count']) or tonumber(args['Count']) or string.match(args['count'],'%?') or string.match(args['Count'],'%?') then | ||
if tonumber(args['count']) ~= 1 then | |||
local countSpan = parentDiv:tag("span"):wikitext(args['count']) | |||
countSpan:addClass("invslot-stacksize") | |||
end | |||
end | end | ||
edits