Module:Step vis: Difference between revisions

Ganaram inukshuk (talk | contribs)
No edit summary
Ganaram inukshuk (talk | contribs)
Changed to parse numeric values; this should allow for showing size-0 steps
Line 6: Line 6:
-- Calls the step visualization function from the mosinedo template
-- Calls the step visualization function from the mosinedo template
function p.step_vis_frame(frame)
function p.step_vis_frame(frame)
local step_pattern = tip.parse_entries(frame.args["Step Pattern"], " ")
local step_pattern = tip.parse_numeric_entries(frame.args["Step Pattern"], " ")
return mosinedo.step_pattern_to_simple_visualization(step_pattern)
return mosinedo.step_pattern_to_simple_visualization(step_pattern)
end
end


return p
return p