Module:Variable arguments: Difference between revisions

ABC-DEFG (talk | contribs)
mNo edit summary
ABC-DEFG (talk | contribs)
mNo edit summary
Line 17: Line 17:
if out_str == "" then
if out_str == "" then
out_str = "[[Module:" .. frame:preprocess("{{ROOTPAGENAME}}") .. "]]"
out_str = "[[Module:{{ROOTPAGENAME}}]]"
end
end
Line 43: Line 43:
end
end


     out_str = out_str:sub(1, -9)
     out_str = out_str:sub(1, -11)
if out_str == "" then
if out_str == "" then