Module:Credits

From Videogame Morgue File

Revision as of 11:43, 14 Mayıs 2021 by MorgueFile (talk | contribs)

Documentation for this module may be created at Module:Credits/doc

local p = {};

p.hello = function( frame )
    local str = "Hello World!"
    return str
end

function p.credits( frame )
    local tArgs = frame:getParent()

    if not( tArgs.args[1] ) then
       tArgs = frame
    end

    local sOutputText = ""

    for iKey,sValue in pairs(tArgs.args) do 
       sOutputText = sOutputText  .. sValue  .. "♣"
    end

    return sOutputText 
end

return p