Editing Module:Param Parse
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 26: | Line 26: | ||
-- Standardized number range: Accepts '1' and '1-5' |
-- Standardized number range: Accepts '1' and '1-5' |
||
function parse.number_or_number_range(prenum) |
function parse.number_or_number_range(prenum) |
||
if not prenum then return end |
|||
local ret = '' |
local ret = '' |
||
local count = 0 |
local count = 0 |