Template talk:Ifdef/

There are no discussions on this page.

Test code for template:Ifdef (edittalklinkshistory) as shown by msgnw:

{{ifdef| {{{1|}}} | got 1st parameter '''{{{1|oops}}}'''}} {{ifdef| {{{2|}}} | got 2nd parameter '''{{{2|oops}}}'''}} {{ifdef| {{{no}}} | got no parameter '''{{{no|no}}}'''}}

Examples using this test template:Ifdef/ (edittalklinkshistory):

code result expected
{{ifdef/}}


 got no parameter no


 got no parameter no
{{ifdef/| }}


 got no parameter no


 got no parameter no
{{ifdef/| |x}}
 got 2nd parameter x
 got no parameter no
 got 2nd parameter x
 got no parameter no
{{ifdef/|one}}
 got 1st parameter one
  
 got no parameter no
 got 1st parameter one
  
 got no parameter no
{{ifdef/|a|b}}
 got 1st parameter a
 got 2nd parameter b
 got no parameter no
 got 1st parameter a
 got 2nd parameter b
 got no parameter no
{{ifdef/|no=}}



03:16, 25 March 2006 (UTC): The  expected column was created with  subst.

Return to "Ifdef/" page.