Jump to content

Module:Module sandbox/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Awesome Aasim (talk | contribs) at 00:42, 12 March 2025. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.


Usage

{{#invoke:Module sandbox|function_name}}

Example

{{#invoke:Module sandbox|main}} yields:

Hello world!

Documentation

Package items

sandbox.hello_world(name) (function)
Prints hello world
Parameter: name Person to address (string)
Returns: hello world string
TODO: make it say "Hello, [name]".
sandbox.main(frame) (function)
Main entrypoint.
Parameter: frame calling frame (table)
Returns: output wikitext