Module:Test: Difference between revisions

From Elwiki
No edit summary
No edit summary
Line 1: Line 1:
local p = {}
local p = {}
function p.main(frame)
function p.main(frame)
     return frame:preprocess('{{:Dark Force}}')
     local x = frame:preprocess('{{:Dark Force}}'):gsub('{{#arraydefine:', ''):gsub('}}', '')
    return x
end
end
return p
return p

Revision as of 01:13, 3 April 2022

Documentation for this module may be created at Module:Test/doc

local p = {}
function p.main(frame)
    local x = frame:preprocess('{{:Dark Force}}'):gsub('{{#arraydefine:', ''):gsub('}}', '')
    return x
end
return p