Module:Numlinks: Difference between revisions

Ganaram inukshuk (talk | contribs)
m comments, minor code edits
Ganaram inukshuk (talk | contribs)
m todo
Line 9: Line 9:
-- - (Low priority) Add a maximum allowed number. This isn't necessary in most
-- - (Low priority) Add a maximum allowed number. This isn't necessary in most
--  cases, so such a max would default to infinity.
--  cases, so such a max would default to infinity.
-- - (Low priority) Add table style as a param?


-- Main function
-- Main function
Line 168: Line 169:
-- Preprocess numeric input
-- Preprocess numeric input
args["Current Num"] = tonumber(args["Current Num"]) -- Required arg
args["Current Num"] = tonumber(args["Current Num"]) -- Required arg
args["Min"] = tonumber(args["Min"]) or 1
args["Min"       ] = tonumber(args["Min"]) or 1
args["Link Count"] = tonumber(args["Link Count"]) or 1
args["Link Count" ] = tonumber(args["Link Count"]) or 1
-- Preprocess toggles
-- Preprocess toggles