local p = {}
-- test whether newlines are passed to invoke calls
function p.test(frame)
    -- retrieve arguments
    local str = frame.args[1]
    local out = {}
    for line in mw.ustring:gmatch(str, "[^\r\n]+") do
    --for _, line in pairs(str) do
        table.insert(out, 'line: ' .. line)
    return table.concat(out, '\n')
return p

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.