Module:Sandbox/Aurelain/Spells

From Heroes of Might and Magic: Olden Era Official Wiki
Revision as of 12:51, 23 May 2026 by Aurelain (talk | contribs) (Created page with "-- Usage: {{#invoke:SpellsOverview|display}} local p = {} ------------------------------------------------------------------------------------------------------------------------ -- Displays a variable ------------------------------------------------------------------------------------------------------------------------ local function dump(target) return '<pre>' .. mw.dumpObject(target) .. '</pre>' end --------------------------------------------------------------...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Documentation for this module may be created at Module:Sandbox/Aurelain/Spells/doc

-- Usage: {{#invoke:SpellsOverview|display}}
local p = {}

------------------------------------------------------------------------------------------------------------------------
-- Displays a variable
------------------------------------------------------------------------------------------------------------------------
local function dump(target)
    return '<pre>' .. mw.dumpObject(target) .. '</pre>'
end

------------------------------------------------------------------------------------------------------------------------
-- Main public function
------------------------------------------------------------------------------------------------------------------------
function p.display(frame)
    return dump(frame)
end

return p