Module:InvokeTalk: Difference between revisions

From Test Cymul Wiki
No edit summary
No edit summary
Line 1: Line 1:
local p = {} --p stands for package
local p = {}


function p.hello( frame )
function p.IT( frame )
     return mw.title.getCurrentTitle()
     local title = mw.text.split(mw.title.getCurrentTitle(), ':')
    return title[1]
end
end


return p
return p

Revision as of 01:02, 3 December 2025

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

local p = {}

function p.IT( frame )
    local title = mw.text.split(mw.title.getCurrentTitle(), ':')
    return title[1]
end

return p