Module:Sandbox/Aurelain

From Heroes of Might and Magic: Olden Era Official Wiki
Revision as of 15:16, 14 May 2026 by Aurelain (talk | contribs)

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

local p = {}
local Unit = require('Module:Unit')

-- Wrapper function that allows us to easily invoke the Module:Unit.
local function get(unit, property, lang)
    return Unit.get({
        args = {
            ["unit"] = unit,
            ["property"] = property,
            ["lang"] = lang
        }
    })
end


function p.hello(frame)
    return get('Archangel', 'initiative')
end

return p