Module:Variable arguments: Difference between revisions

ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
Line 9: Line 9:
local i = 0
local i = 0
if args == nil or args == "" or args[1] == "" then
if args == nil or args == "" or args[0] == "" then
out_str = "[[Module:" .. frame:preprocess("{{ROOTPAGENAME}}") .. "]]"
out_str = "[[Module:" .. frame:preprocess("{{ROOTPAGENAME}}") .. "]]"
else
else