Module:Crafting: Difference between revisions

Jump to navigation Jump to search
m
I see the issue there
m (How about this)
m (I see the issue there)
Line 111: Line 111:


if tonumber(args['count']) or tonumber(args['Count']) or 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 count = args['count'] or args['Count']
local countSpan = parentDiv:tag("span"):wikitext(args['count'])
if count ~= 1 then
local countSpan = parentDiv:tag("span"):wikitext(count)
countSpan:addClass("invslot-stacksize")
countSpan:addClass("invslot-stacksize")
end
end
Bureaucrats, Check users, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, Widget editors
1,659

edits

Navigation menu