Module:Variable arguments: Difference between revisions

ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
Line 7: Line 7:
     })
     })
local out_str = ""
local out_str = ""
local root_page_name = frame:preprocess("{{ROOTPAGENAME}}")
local i = 0
local i = 0
Line 17: Line 18:
if out_str == "" then
if out_str == "" then
out_str = "* [[Module:" .. frame:preprocess("{{ROOTPAGENAME}}") .. "]]\n"
out_str = "* [[Module:" .. root_page_name .. "]]\n"
end
end