Modul:Hello

This is an example module with a single function named "hello_world". It is used in Scribunto: An Introduction/Your first module.

UsageUsage

{{#invoke:hello|hello_world}}

ExampleExample


p = {}

function p.hello_world()
	return "Hello, world!"
end

return p
Kategori:Wikibooks modules