Module:Crafting: Difference between revisions

Jump to navigation Jump to search
m
Does this make ? count work
(Undo revision 7076 by JP12 (talk))
Tag: Undo
m (Does this make ? count work)
Line 110: Line 110:
end
end


local count = tonumber(args['count']) or tonumber(args['Count']) or 1 or '?'
if args['count'] == '?' or args['Count'] == '?' then
local count = "?"
else
local count = tonumber(args['count']) or tonumber(args['Count']) or 1
end
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,633

edits

Navigation menu