Template:Invoke/doc
< Template:Invoke
Jump to navigation
Jump to search
Revision as of 07:48, 12 November 2019 by imported>Ans (→Example: ''<newline>'')
| This is a documentation subpage for Template:Invoke. It contains usage information, categories and other content that is not part of the original template page. |
This template can be used to debug template parameters.
Usage
- {{Invoke|module name|function name|arguments ...}}
Example
- {{Invoke|math|random}} --> 0.05823031163692
- {{Invoke|math|min|9|7|8}} --> 7
- {{Invoke|LuaCall|call|mw.logObject| arg1 |unnamed parameter}} -->
- {{Invoke|LuaCall|call|mw.logObject|4= arg1 |5=named parameter}} -->
- {{Invoke|LuaCall|call|mw.logObject| <newline>arg1<newline> |unnamed parameter}} -->
- {{Invoke|LuaCall|call|mw.logObject|4= <newline>arg1<newline> |5=named parameter}} -->
- {{Invoke|LuaCall|call|mw.logObject|<newline> arg1 <newline>|unnamed parameter}} -->
- {{Invoke|LuaCall|call|mw.logObject|4=<newline> arg1 <newline>|5=named parameter}} -->