Module:ParallelAliases: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 56: Line 56:
if num == 0 then
if num == 0 then
name = 'Pizza'
name = 'Pizza'
aliases[name] = { title = 'Pizza', name = name, text = '&7Slices: 8'}
break
elseif num == 1 then
name = 'Pizza 1 Slice'
else
else
name = 'Pizza 1 Slice'
local name = 'Pizza ' .. num .. ' Slices'
-- else
-- local name = 'Pizza ' .. num .. ' Slices'
end
end
aliases[name] = { title = 'Pizza', name = name, text = '&7Slices: ' .. num}
aliases[name] = { title = 'Pizza', name = name, text = '&7Slices: ' .. num}

Navigation menu