Module:mg-spel: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 16: Line 16:
function export.alter(frame)
function export.alter(frame)
local ret = {}; local qs = {}
local ret = {}; local qs = {}
local term = frame:getParent().args[1] or PAGENAME
local term = mw.title.getCurrentTitle().nsText == "Template" and "cosmaile" or frame:getParent().args[1] or PAGENAME
local e = term; local a = term; local c = term; local s = term
local e = term; local a = term; local c = term; local s = term