Module:Sandbox

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Lua
CodeDiscussionEditHistoryLinksLink count Subpages:DocumentationTestsResultsSandboxLive code All modules See also: Module:Test

Code

local p = {} --p stands for package

function p.hello( frame )
    return frame:callParserFunction( "int", "lang" )
end

function p.test(frame)
	return mw.wikibase.getEntity("P361")['labels']['cs']['value']
end

return p