Module:Variable arguments: Difference between revisions
ArrowHead294 (talk | contribs) mNo edit summary |
ArrowHead294 (talk | contribs) mNo edit summary |
||
| Line 66: | Line 66: | ||
end | end | ||
result = " | result = "{{sidebox\n| image = Lua-Logo.svg\n| image size = 30px\n | text = " | ||
.. string.format("%s:\n%s\n", | |||
.. string.format("%s:\n%s | |||
(namespace == "module" | (namespace == "module" | ||
and "This module depends on the following other modules" | and "This module depends on the following other modules" | ||
or "This template uses [[wikipedia:wp:Lua|Lua]]"), | or "This template uses [[wikipedia:wp:Lua|Lua]]"), | ||
result) | result) | ||
.. " | .. "\n}}" | ||
if yesno(debugg) == true then | if yesno(debugg) == true then | ||
result = "<syntaxhighlight lang=\"wikitext\">" .. result .. "</syntaxhighlight>" | result = "<syntaxhighlight lang=\"wikitext\">" .. result .. "</syntaxhighlight>" | ||