Module:User:Bureaucrat 37/sandbox/List of Clubs/Lua experiment: Difference between revisions

From Foodclubipedia
Jump to navigation Jump to search
(stupid sexy tab character)
(works, or at least seems to, but only when using {{subst:}}... gonna have to actually read documentation, I suppose)
Line 6: Line 6:
     out = out .. "==The greatest==\n"
     out = out .. "==The greatest==\n"
     out = out .. "{{large|The greatest}}\n"
     out = out .. "{{large|The greatest}}\n"
    out = out .. "\n"
     out = out .. "This is certainly the greatest Lua module I have ever written.\n"
     out = out .. "This is certainly the greatest Lua module I have ever written.\n"
     out = out .. "\n"
     out = out .. "\n"

Revision as of 22:47, September 25, 2022

Documentation for this module may be created at Module:User:Bureaucrat 37/sandbox/List of Clubs/Lua experiment/doc

p = {}

p.blah = function(frame)
    local out = ""

    out = out .. "==The greatest==\n"
    out = out .. "{{large|The greatest}}\n"
    out = out .. "\n"
    out = out .. "This is certainly the greatest Lua module I have ever written.\n"
    out = out .. "\n"
    out = out .. "And, I might add, '''almost''' certainly the greatest Lua module ever written."

    return out
end

return p