Module:Step vis: Difference between revisions

Ganaram inukshuk (talk | contribs)
Created page with "local mosinedo = require("Module:MOS in EDO") local p = {} -- Wrapper function for step visualization -- Calls the step visualization function from the mosinedo template func..."
 
Ganaram inukshuk (talk | contribs)
No edit summary
Line 1: Line 1:
local mosinedo = require("Module:MOS in EDO")
local mosinedo = require("Module:MOS in EDO")
local tip = require("Module:Template input parse")
local p = {}
local p = {}


Line 5: 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 = frame.args("Step Pattern")
local step_pattern = tip.parse_entries(frame.args("Step Pattern"), " ")
return mosinedo.step_pattern(step_pattern)
return mosinedo.step_pattern(step_pattern)
end
end


return p
return p