Module:Param Parse: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(return if no number is given to number or number range)
(again forgot the low one)
Line 45: Line 45:


function parse.number_or_number_range_low(prenum)
function parse.number_or_number_range_low(prenum)
if not prenum then return end
local count = 0
local count = 0
local value = nil
local value = nil
Line 63: Line 64:


function parse.number_or_number_range_high(prenum)
function parse.number_or_number_range_high(prenum)
if not prenum then return end
local count = 0
local count = 0
local value = nil
local value = nil