Difference between revisions of "Template:Test"

From The Shartak Wiki
Jump to navigationJump to search
 
(31 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>{{#ifeq: 1 | 1 | = | ! }}</includeonly><noinclude>This template is used only for testing purposes.
+
<includeonly>{{
 +
#ifeq: {{{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.
  
 +
<!--{{
 +
#ifeq: {{{1|}}}|||{{
 +
  #ifeq: {{{2| }}}"|" "|[http://www.shartak.com/profile.cgi?id={{{1}}} {{{2}}}]|[http://www.shartak.com/profile.cgi?id={{{1}}} ''{{{1}}}'']
 +
  }}
 +
}}-->
  
{{test}}
+
{| border="1" cellpadding="5" cellspacing="1" style="border: solid 1px #ccc; border-collapse: collapse; background-color: #f9f9f9;"
 
+
|-bgcolor="#ddd"
{{test|0}}
+
!Input !! Output
 
+
|-
{{test|1}}
+
|<nowiki>{{test}}</nowiki> || {{test}}
 +
|-
 +
|<nowiki>{{test|2445}}</nowiki> || {{test|2445}}
 +
|-
 +
|<nowiki>{{test|2445|Elembis}}</nowiki> || {{test|2445|Elembis}}
 +
|}
  
  
 
[[Category:Templates|Test]]</noinclude>
 
[[Category:Templates|Test]]</noinclude>

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