Template:Invoke/doc

From blackwiki
< Template:Invoke
Revision as of 07:48, 12 November 2019 by imported>Ans (→‎Example: ''<newline>'')
Jump to navigation Jump to search

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}} -->