Module:siwa-headword: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 12: Line 12:
local PAGENAME = mw.title.getCurrentTitle().text
local PAGENAME = mw.title.getCurrentTitle().text
local params = {
local params = {
[1] = { required = true },
[2] = { default = PAGENAME },
[2] = { default = PAGENAME },
[1] = { required = true },
}
}
local args = require("Module:parameters").process(frame:getParent().args, params)
local args = require("Module:parameters").process(frame:getParent().args, params)