Module:Sandbox/Luis150902/doc

< Module:Sandbox‎ | Luis150902
Revision as of 16:28, 30 September 2018 by imported>Pppery (Pppery moved page Module:Luis150902/Testing module/doc to Module:Sandbox/Luis150902/doc: <non-doc page moved>)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is the documentation page for Module:Sandbox/Luis150902


InformationEdit

Uses Module:Arguments and Module:Yesno.

UsageEdit

{{#invoke:Sandbox/Luis150902|function_name|args}}

, where function_name is "f" followed by a natural number (N) and args is a pipe-separated list of arguments.

N = 1Edit

Gets the length, in characters, of the first argument.

N = 2Edit

Counts its arguments.

N = 3Edit

Performs the operation specified by the first argument in the remaining arguments.

Available operations: "+", "-", "*", "/", "%", "!" (boolean NOT).