Module:Crafting: Difference between revisions

m
how about now
m (Does this make ? count work)
m (how about now)
Line 115: Line 115:
local count = tonumber(args['count']) or tonumber(args['Count']) or 1
local count = tonumber(args['count']) or tonumber(args['Count']) or 1
end
end
if count ~= 1 then
if count == "?" or count ~= 1 then
local countSpan = parentDiv:tag("span"):wikitext(count)
local countSpan = parentDiv:tag("span"):wikitext(count)
countSpan:addClass("invslot-stacksize")
countSpan:addClass("invslot-stacksize")
Bureaucrats, Check users, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, Widget editors
1,659

edits