Difference between revisions of "Template:Test"

From The Shartak Wiki
Jump to navigationJump to search
m (Tried to use if: instead of ifeq:.)
m (No go; it looks like ifeq: will need to be used to check for empty parameters.)
Line 1: Line 1:
 
<includeonly>{{
 
<includeonly>{{
if: {{{1|}}}|{{
+
ifeq: {{{1|}}}|||{{
   if: {{{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}}} ''{{{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.
  

Revision as of 03:52, 15 July 2006

This template is used only for testing purposes.


Input Output
{{test}} Template:Ifeq:
{{test|2445}} Template:Ifeq: 2445
{{test|2445|Elembis}} Template:Ifeq: 2445