Module:Variable arguments: Difference between revisions

ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
m Doesn't display properly, reverting
Tag: Manual revert
Line 60: Line 60:
.. "{|\n"
.. "{|\n"
.. "|-\n"
.. "|-\n"
.. "| style=\"line-height: 110%; display: inline-block; "
.. "| <span style=\"line-height: 110%; display: inline-block; "
.. "margin: 0.125em 0em 0.125em 0.792em;\" | [[File:Lua-Logo.svg|30px]]"
.. "margin: 0.125em 0em 0.125em 0.792em;\">[[File:Lua-Logo.svg|30px]]</span>"
.. " || style=\"display: inline-block; font-size: 0.88em; "
.. " || <span style=\"display: inline-block; font-size: 0.88em; "
.. "line-height: 110%; padding: 0.22em 0.22em 0.22em 0.792em;\" | "
.. "line-height: 110%; padding: 0.22em 0.22em 0.22em 0.792em;\">"
.. string.format("This template uses [[wikipedia:WP:Lua|Lua]]:\n%s", result)
.. string.format("This template uses [[wikipedia:WP:Lua|Lua]]:\n%s</span>\n", result)
.. "\n|}\n</div>"
.. "|}\n</div>"
return frame:preprocess(yesno(debugg) == true and "<syntaxhighlight lang=\"wikitext\">" .. result .. "</syntaxhighlight>" or result)
return frame:preprocess(yesno(debugg) == true and "<syntaxhighlight lang=\"wikitext\">" .. result .. "</syntaxhighlight>" or result)
end
end