Module:Uniform map: Difference between revisions
Trying to make the call to map template work |
The expandTemplate trick won't work with a separate _ function it seems |
||
| Line 101: | Line 101: | ||
function p.print_table(frame) | function p.print_table(frame) | ||
local args = getArgs(frame) | local args = getArgs(frame) | ||
local prime = args[1] | |||
local min = args[2] | |||
local max = args[3] | |||
if u.index_of(p.primes, u.eval_num_arg(prime, 5)) == nil then | if u.index_of(p.primes, u.eval_num_arg(prime, 5)) == nil then | ||
prime = 5 -- Default to 5-limit | prime = 5 -- Default to 5-limit | ||