Difference between revisions of "Module:Sandbox/AlphaZeta/test2/doc"
Jump to navigation
Jump to search
blackwiki>AlphaZeta (←Created page with ' {{module rating|alpha}}<!-- delete if this is not desirable --> The module “{{BASEPAGENAME}}” contains (specify) available calls that make so and such. ==...') |
blackwiki>AlphaZeta |
||
| Line 1: | Line 1: | ||
| − | {{module rating|alpha}}<!-- delete if this is not desirable --> | + | <!-- {{module rating|alpha}} --><!-- delete if this is not desirable --> |
The module “{{BASEPAGENAME}}” contains (specify) available calls that make so and such. | The module “{{BASEPAGENAME}}” contains (specify) available calls that make so and such. | ||
Revision as of 12:34, 26 December 2013
The module “Sandbox/AlphaZeta/test2” contains (specify) available calls that make so and such.
Usage
{{#invoke:Sandbox/AlphaZeta/test2|function_name|…}}
Parameters
The text below assumes that functions are declared as
function p.function_name( frame )
- Positional parameters – the value of frame.args[1] is passed after function name and vertical bar, the value of frame.args[2] is passed after the value of frame.args[1] and vertical bar, and so on.
- Named parameters (specify them) – the same name=value syntax as in MediaWiki templates, are accessible inside the function as frame.args["name"].
Examples
Script error: The function "main" does not exist.