Module:InvokeTalk: Difference between revisions
From Test Cymul Wiki
No edit summary |
No edit summary |
||
| Line 4: | Line 4: | ||
local title = mw.title.getCurrentTitle() | local title = mw.title.getCurrentTitle() | ||
local titlesplit = mw.text.split(tostring(title), ':') | local titlesplit = mw.text.split(tostring(title), ':') | ||
return titlesplit[ | return titlesplit[1] | ||
end | end | ||
return p | return p | ||
Revision as of 01:44, 3 December 2025
Documentation for this module may be created at Module:InvokeTalk/doc
local p = {}
function p.IT( frame )
local title = mw.title.getCurrentTitle()
local titlesplit = mw.text.split(tostring(title), ':')
return titlesplit[1]
end
return p
