Template:Invoke/doc
From The Goon Show Depository
Revision as of 07:46, 20 July 2022 by Kurt (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) --> This template can be used to debug template parameters. == Usage == * {{{{BASEPAGENAME}}|''module name''|''function name''|''arguments ...''}} == Example == * {{{{BASEPAGENAME}}|math|random}} --> {{{{BASEPAGENAME}}|math|random}} * {{{{BASEPAGENAME}}|math|min|9|7|8}} --> {{{{BASEPAGENAME}}|m...")
![]() | This is a documentation subpage for Template:Invoke It may contain usage information, categories and other content that is not part of the original template page. |
![]() | This template uses Lua: |
This template can be used to debug template parameters.
Usage
- Script error: No such module "module name".
Example
- 0.80164738688695 --> 0.53970531119951
- 7 --> 7
- " arg1 " --> " arg1 "
- "arg1" --> "arg1"
- " <newline>arg1<newline> " --> " \
arg1\
"
- "<newline>arg1<newline>" --> "arg1"
- "<newline> arg1 <newline>" --> "\
arg1 \
"
- "<newline> arg1 <newline>" --> "arg1"
- "<>" &lt;&gt; --> "<>" <>
- <pre>pre text</pre> --> '"`UNIQ--pre-00000003-QINU`"'
- <nowiki>nowiki text</nowiki> --> '"`UNIQ--nowiki-00000004-QINU`"'
- <ref>ref text</ref> --> '"`UNIQ--ref-00000005-QINU`"'
- <code>code text</code> --> <code>code text</code>
- Lua error in mw.text.lua at line 129: bad argument #1 to 'gsub' (string expected, got nil). --> '"`UNIQ--syntaxhighlight-00000006-QINU`"'
- [[:Template:Ping]] --> [[:Template:Ping]]
- '"`UNIQ--nowiki-00000008-QINU`"'User:User1]] --> [[User:User1]]
- <ref>ref then <nowiki>nowiki</nowiki></ref> --> '"`UNIQ--ref-00000009-QINU`"'
- <pre>pre then <nowiki>nowiki</nowiki></pre> --> '"`UNIQ--pre-0000000A-QINU`"'
- '"`UNIQ--nowiki-0000000B-QINU`"' --> <pre>pre text</pre><nowiki>nowiki text</nowiki><ref>ref text</ref><code>code text</code><syntaxhighlight lang=php>syntaxhighlight text</syntaxhighlight>
- <pre>pre text</pre><nowiki>nowiki text</nowiki><ref>ref text</ref><code>code text</code><syntaxhighlight lang=php>source text</syntaxhighlight> --> <pre>pre text</pre><nowiki>nowiki text</nowiki><ref>ref text</ref><code>code text</code><syntaxhighlight lang=php>source text</syntaxhighlight>