Module:Imahero/test/doc

From Heroes 3 wiki
Revision as of 21:05, 2 December 2023 by Imahero (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This is the documentation page for Module:Imahero/test

See usage on user:imahero/test.

Embed Code Example[edit | hide | hide all]

Example of embedding code on a page (this code does nothing and is just for show):

local p = {} --p stands for package

function p.test( frame )
    return frame
end

langObject = mw.getLanguage( 'simple' )

function p.language( frame )
    return langObject:getCode()
end

function p.arrow( frame )
    return langObject:getArrow( frame.args.direction )
end

return p