You are viewing the MafiaScum.net Wiki. To play the game, visit the forum.

Template:ShowArgs: Difference between revisions

From MafiaWiki
Jump to navigation Jump to search
(a new debugging template)
 
(on second thoughts, let's make this fit on a single line so that we don't have to worry about indentation and the like)
Line 1: Line 1:
{{#if:{{{1|}}}|* 1={{{1}}}|* no arguments}}
{{#if:{{{1|}}}|1={{{1}}}|''no arguments''}}{{#if:{{{2|}}}|; 2={{{2}}}|}}{{#if:{{{3|}}}|; 3={{{3}}}|}}{{#if:{{{4|}}}|; 4={{{4}}}|}}{{#if:{{{5|}}}|; 5={{{5}}}|}}<noinclude>
{{#if:{{{2|}}}|* 2={{{2}}}|<nowiki></nowiki>}}
{{#if:{{{3|}}}|* 3={{{3}}}|<nowiki></nowiki>}}
{{#if:{{{4|}}}|* 4={{{4}}}|<nowiki></nowiki>}}
{{#if:{{{5|}}}|* 5={{{5}}}|<nowiki></nowiki>}}
<noinclude>
----
----
{{Template
{{Template
Line 10: Line 5:
|Type=Formatting
|Type=Formatting
|Sub=No
|Sub=No
|Designer=callforjudgement}}This template shows its arguments in a bulleted list. Its purpose is to enable testing of complex nested template chains, via allowing a template call to be changed to {{tl|ShowArgs}} to see what its arguments are.
|Designer=callforjudgement}}This template shows a list of its arguments and their indexes. Its purpose is to enable testing of complex nested template chains, via allowing a template call to be changed to {{tl|ShowArgs}} to see what its arguments are.
</noinclude>
</noinclude>

Revision as of 20:28, 27 May 2018

no arguments


Name:
  • ShowArgs
Type:
Sub-Template:
  • No
Designer:

This template shows a list of its arguments and their indexes. Its purpose is to enable testing of complex nested template chains, via allowing a template call to be changed to {{ShowArgs}} to see what its arguments are.