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 i = 0 | local i = 0 | ||
| Line 18: | Line 17: | ||
if out_str == "" then | if out_str == "" then | ||
out_str = "* [[Module: | out_str = "* [[Module:{{ROOTPAGENAME}}]]\n" | ||
end | end | ||
| Line 58: | Line 57: | ||
local out_str = "" | local out_str = "" | ||
local i = 0 | local i = 0 | ||
for k, v in pairs(args) do | for k, v in pairs(args) do | ||
| Line 73: | Line 71: | ||
if out_str == "" then | if out_str == "" then | ||
out_str = "<div style=\"margin-left: 10px;\">" | out_str = "<div style=\"margin-left: 10px;\">" | ||
.. "'''[[wikipedia: | .. "'''[[wikipedia:{{FULLROOTPAGENAME}}|{{FULLROOTPAGENAME}}]]'''" | ||
.. "</div>\n" .. out_str | .. "</div>\n" .. out_str | ||
end | end | ||