Module:Sandbox2

local p = {}

function p.test(frame) local dpl = frame:preprocess("") local splitText = mw.text.split(dpl, '~', true) local display_list = "" for k,v in pairs(splitText) do display_list = display_list .. "item: " .. k .. ": " .. v .. " "   end return display_list end

return p