User:Tepples/TemplateSandbox: Difference between revisions

From TetrisWiki
Jump to navigation Jump to search
*>Tepples
sandbox for me to test infobox syntax; expect a lot of edits
 
*>Tepples
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
* arg1: {{{arg1|arg1 is absent}}}
* arg1: {{{arg1|arg1 is absent}}}
* arg2: {{{arg2|arg2 is absent}}}
* arg2: {{{arg2|arg2 is absent}}}
* 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|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>

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.