Difference between revisions of "Template:Test"

From The Shartak Wiki
Jump to navigationJump to search
m (No go; it looks like ifeq: will need to be used to check for empty parameters.)
 
Line 1: Line 1:
 
<includeonly>{{
 
<includeonly>{{
ifeq: {{{1|}}}|||{{
+
#ifeq: {{{1|}}}|||{{
   ifeq: {{{2|}}}||[http://www.shartak.com/profile.cgi?id={{{1}}} ''{{{1}}}'']|[http://www.shartak.com/profile.cgi?id={{{1}}} {{{2}}}]}}
+
   #ifeq: {{{2|}}}||[http://www.shartak.com/profile.cgi?id={{{1}}} ''{{{1}}}'']|[http://www.shartak.com/profile.cgi?id={{{1}}} {{{2}}}]}}
 
}}</includeonly><noinclude>This template is used only for testing purposes.
 
}}</includeonly><noinclude>This template is used only for testing purposes.
  
 
<!--{{
 
<!--{{
ifeq: {{{1|}}}|||{{
+
#ifeq: {{{1|}}}|||{{
   ifeq: {{{2| }}}"|" "|[http://www.shartak.com/profile.cgi?id={{{1}}} {{{2}}}]|[http://www.shartak.com/profile.cgi?id={{{1}}} ''{{{1}}}'']
+
   #ifeq: {{{2| }}}"|" "|[http://www.shartak.com/profile.cgi?id={{{1}}} {{{2}}}]|[http://www.shartak.com/profile.cgi?id={{{1}}} ''{{{1}}}'']
 
   }}
 
   }}
 
}}-->
 
}}-->

Latest revision as of 22:57, 3 September 2008

This template is used only for testing purposes.


Input Output
{{test}}
{{test|2445}} 2445
{{test|2445|Elembis}} Elembis