Template:Invoke/Doc

From Body Communication
< Template:Invoke
Revision as of 16:43, 7 August 2021 by SadanYagci (talk | contribs) (Created page with "{{Documentation subpage}} {{lua|Module:LuaCall}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Lua error in Module:Lua_banner at line 113: attempt to index field 'edit' (a nil value).

This template can be used to debug template parameters.

Usage

  • {{Invoke|module name|function name|arguments ...}}

Example

  • {{Invoke|math|random}} --> Script error: No such module "LuaCall".
  • {{Invoke|math|min|9|7|8}} --> Script error: No such module "LuaCall".
  • {{Invoke|LuaCall|call|mw.dumpObject| arg1 |unnamed parameter}} --> Script error: No such module "LuaCall".
  • {{Invoke|LuaCall|call|mw.dumpObject|4= arg1 |5=named parameter}} --> Script error: No such module "LuaCall".
  • {{Invoke|LuaCall|call|mw.dumpObject| <newline>arg1<newline> |unnamed parameter}} --> Script error: No such module "LuaCall".
  • {{Invoke|LuaCall|call|mw.dumpObject|4= <newline>arg1<newline> |5=named parameter}} --> Script error: No such module "LuaCall".
  • {{Invoke|LuaCall|call|mw.dumpObject|<newline> arg1 <newline>|unnamed parameter}} --> Script error: No such module "LuaCall".
  • {{Invoke|LuaCall|call|mw.dumpObject|4=<newline> arg1 <newline>|5=named parameter}} --> Script error: No such module "LuaCall".
  • {{Invoke|LuaCall|call|mw.dumpObject|&lt;&gt;}} {{Invoke|LuaCall|call|mw.logObject|&lt;&gt;}} {{Invoke|LuaCall|call|mw.text.nowiki|&lt;&gt;}} --> Script error: No such module "LuaCall". Script error: No such module "LuaCall". Script error: No such module "LuaCall".
  • {{Invoke|LuaCall|call|mw.text.nowiki|<pre>pre text</pre>}} --> Script error: No such module "LuaCall".
  • {{Invoke|LuaCall|call|mw.text.nowiki|<nowiki>nowiki text</nowiki>}} --> Script error: No such module "LuaCall".
  • {{Invoke|LuaCall|call|mw.text.nowiki|<ref>ref text</ref>}} --> Script error: No such module "LuaCall".
  • {{Invoke|LuaCall|call|mw.text.nowiki|<code>code text</code>}} --> Script error: No such module "LuaCall".
  • {{Invoke|LuaCall|call|mw.text.nowiki|<syntaxhighlight lang=php>source text</syntaxhighlight>}} --> Script error: No such module "LuaCall".
  • {{Invoke|LuaCall|call|mw.text.nowiki|{{ping|User1}}}} --> Script error: No such module "LuaCall".
  • {{Invoke|LuaCall|call|mw.text.nowiki|[[User:User1]]}} --> Script error: No such module "LuaCall".
  • {{Invoke|LuaCall|call|mw.text.nowiki|<ref>ref then <nowiki>nowiki</nowiki></ref>}} --> Script error: No such module "LuaCall".
  • {{Invoke|LuaCall|call|mw.text.nowiki|<pre>pre then <nowiki>nowiki</nowiki></pre>}} --> Script error: No such module "LuaCall".
  • {{Invoke|LuaCall|call|mw.text.nowiki|{{replace|<tag>tag text</tag>|tag|pre}}{{replace|<tag>tag text</tag>|tag|nowiki}}{{replace|<tag>tag text</tag>|tag|ref}}{{replace|<tag>tag text</tag>|tag|code}}{{replace|1=<tag lang=php>tag text</tag>|2=tag|3=syntaxhighlight}}}} --> Script error: No such module "LuaCall".
  • {{Invoke|LuaCall|call|mw.text.nowiki|4={{1x|<}}pre>pre text</pre>{{1x|<}}nowiki>nowiki text</nowiki>{{1x|<}}ref>ref text</ref>{{1x|<}}code>code text</code>{{1x|<}}syntaxhighlight lang=php>source text</syntaxhighlight>}} --> Script error: No such module "LuaCall".