Module:Hello

Module documentation[view] [edit] [history] [purge]

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

UsageEdit

{{#invoke:hello|hello_world}}

ExampleEdit

  • {{#invoke:hello|hello_world}} → Hello, world!
p = {}

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

return p