Module:Crafting: Difference between revisions

m
Let's try this
(Undo revision 7076 by JP12 (talk))
Tag: Undo
m (Let's try this)
(10 intermediate revisions by the same user not shown)
Line 110: Line 110:
end
end


local count = tonumber(args['count']) or tonumber(args['Count']) or 1 or '?'
local count = tonumber(args['count']) or tonumber(args['Count']) or string.match(tostring(args['count']),'%?') or string.match(tostring(args['Count']),'%?') or 1
if count ~= 1 then
if count ~= 1 then
local countSpan = parentDiv:tag("span"):wikitext(count)
local countSpan = parentDiv:tag("span"):wikitext(count)
Bureaucrats, Check users, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, Widget editors
1,637

edits