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
m (needs more nowiki)
(expand to be able to show 8 arguments; 5 is often not enough)
 
Line 1: Line 1:
{{#if:{{{1|}}}|1={{{1}}}|''no arguments''}}{{#if:{{{2|}}}|<nowiki>;</nowiki> 2={{{2}}}|}}{{#if:{{{3|}}}|<nowiki>;</nowiki> 3={{{3}}}|}}{{#if:{{{4|}}}|<nowiki>;</nowiki> 4={{{4}}}|}}{{#if:{{{5|}}}|<nowiki>;</nowiki> 5={{{5}}}|}}<noinclude>
{{#if:{{{1|}}}|1={{{1}}}|''no arguments''}}{{#if:{{{2|}}}|<nowiki>;</nowiki> 2={{{2}}}|}}{{#if:{{{3|}}}|<nowiki>;</nowiki> 3={{{3}}}|}}{{#if:{{{4|}}}|<nowiki>;</nowiki> 4={{{4}}}|}}{{#if:{{{5|}}}|<nowiki>;</nowiki> 5={{{5}}}|}}{{#if:{{{6|}}}|<nowiki>;</nowiki> 6={{{6}}}|}}{{#if:{{{7|}}}|<nowiki>;</nowiki> 7={{{7}}}|}}{{#if:{{{8|}}}|<nowiki>;</nowiki> 8={{{8}}}|}}<noinclude>
----
----
{{Template
{{Template

Latest revision as of 21:30, 30 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.