Jump to content

Module:Module sandbox/doc

From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by Annh07 (talk | contribs) at 08:12, 23 April 2025 (Restored revision 1280025421 by Awesome Aasim (talk)). The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)


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