User:Tepples/TemplateSandbox: Difference between revisions

From TetrisWiki
Jump to navigation Jump to search
*>Tepples
m ok...
*>Tepples
No edit summary
 
Line 3: Line 3:
* arg3: {{{arg3}}}
* arg3: {{{arg3}}}
<noinclude>
<noinclude>
----


Example with nothing:
I wanted to provide sensible default values for {{tl|Infobox}}, but the wiki isn't giving the result I expect.
 
Example with no arguments:
{{User:Tepples/TemplateSandbox}}
{{User:Tepples/TemplateSandbox}}
Example with everything:
Example with everything:
{{User:Tepples/TemplateSandbox|arg3=stuff|arg1=this|arg2=that}}
{{User:Tepples/TemplateSandbox|arg3=stuff|arg1=this|arg2=that}}
Conclusion: [http://meta.wikimedia.org/wiki/Help:Template#Declaring_a_default_value Default values for template parameters] don't work; caffeine probably needs to update tetriswiki to MediaWiki 1.6 or newer.
</noinclude>
</noinclude>

Latest revision as of 21:55, 8 November 2006

  • arg1: arg1 is absent
  • arg2: arg2 is absent
  • arg3: {{{arg3}}}

I wanted to provide sensible default values for {{Infobox}}, but the wiki isn't giving the result I expect.

Example with no arguments:

  • arg1: arg1 is absent
  • arg2: arg2 is absent
  • arg3: {{{arg3}}}

Example with everything:

  • arg1: this
  • arg2: that
  • arg3: stuff


Conclusion: Default values for template parameters don't work; caffeine probably needs to update tetriswiki to MediaWiki 1.6 or newer.