Module:siwa-noun: Difference between revisions
No edit summary |
No edit summary |
||
| Line 58: | Line 58: | ||
local params = { | local params = { | ||
[1] = { required = true }, | [1] = { required = true }, | ||
[2] = {}, | [2] = { default = pagename}, | ||
} | } | ||
| Line 64: | Line 64: | ||
local sv = nil | local sv = nil | ||
local decl_type = {} | local decl_type = {} | ||
local word = args[2] | local word = args[2] | ||
local prefix = sub(pagename, 1, -(#word+1)) | local prefix = sub(pagename, 1, -(#word+1)) | ||