Module:Test: Difference between revisions

From Elwiki
No edit summary
No edit summary
Line 3: Line 3:
function p.main(frame)
function p.main(frame)
     local passive = frame:preprocess("{{:Dark Force}}")
     local passive = frame:preprocess("{{:Dark Force}}")
     local passive_s = split(passive)
     return passive
    return passive_s[1]
end
end
return p
return p

Revision as of 11:14, 3 April 2022

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

require('Module:CommonFunctions')
local p = {}
function p.main(frame)
    local passive = frame:preprocess("{{:Dark Force}}")
    return passive
end
return p