Difference between revisions of "Template:Ifexist not redirect/testcases"

From blackwiki
Jump to navigation Jump to search
imported>MSGJ
({{template testcases}})
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{template testcases}}
 
{{template testcases}}
==Blank==
+
Sethduarte
<pre>{{Ifexist not redirect|User:MSGJ/Sandbox/4}}</pre>
 
{{Ifexist not redirect|User:MSGJ/Sandbox/4}}
 
 
 
<pre>{{Ifexist not redirect/sandbox|User:MSGJ/Sandbox/4}}</pre>
 
{{Ifexist not redirect/sandbox|User:MSGJ/Sandbox/4}}
 
  
 
==Redirect==
 
==Redirect==
<pre>{{Ifexist not redirect|Usa}}</pre>
+
<pre>{{Ifexist not redirect|Usa|YES|NO}}</pre>
{{Ifexist not redirect|Usa}}
+
{{Ifexist not redirect|Usa|YES|NO}}
  
<pre>{{Ifexist not redirect/sandbox|Usa}}</pre>
+
<pre>{{Ifexist not redirect/sandbox|Usa|YES|NO}}</pre>
{{Ifexist not redirect/sandbox|Usa}}
+
{{Ifexist not redirect/sandbox|Usa|YES|NO}}
  
 
==Non-existent==
 
==Non-existent==
Line 20: Line 15:
 
<pre>{{Ifexist not redirect/sandbox|xyxyxy}}</pre>
 
<pre>{{Ifexist not redirect/sandbox|xyxyxy}}</pre>
 
{{Ifexist not redirect/sandbox|xyxyxy}}
 
{{Ifexist not redirect/sandbox|xyxyxy}}
 +
 +
==Non-existent, with 2nd and 3rd parameters==
 +
<pre>{{Ifexist not redirect|xyxyxy|oui|non}}</pre>
 +
{{Ifexist not redirect|xyxyxy|oui|non}}
 +
 +
<pre>{{Ifexist not redirect/sandbox|xyxyxy|oui|non}}</pre>
 +
{{Ifexist not redirect/sandbox|xyxyxy|oui|non}}
  
 
==Exists==
 
==Exists==
Line 27: Line 29:
 
<pre>{{Ifexist not redirect/sandbox|x}}</pre>
 
<pre>{{Ifexist not redirect/sandbox|x}}</pre>
 
{{Ifexist not redirect/sandbox|x}}
 
{{Ifexist not redirect/sandbox|x}}
 +
 +
==Exists, with 2nd and 3rd parameters==
 +
<pre>{{Ifexist not redirect|x|oui|non}}</pre>
 +
{{Ifexist not redirect|x|oui|non}}
 +
 +
<pre>{{Ifexist not redirect/sandbox|x|oui|non}}</pre>
 +
{{Ifexist not redirect/sandbox|x|oui|non}}

Latest revision as of 08:47, 28 November 2018

Template:Template testcases Sethduarte

Redirect

{{Ifexist not redirect|Usa|YES|NO}}

NO

{{Ifexist not redirect/sandbox|Usa|YES|NO}}

NO

Non-existent

{{Ifexist not redirect|xyxyxy}}


{{Ifexist not redirect/sandbox|xyxyxy}}


Non-existent, with 2nd and 3rd parameters

{{Ifexist not redirect|xyxyxy|oui|non}}

non

{{Ifexist not redirect/sandbox|xyxyxy|oui|non}}

non

Exists

{{Ifexist not redirect|x}}


{{Ifexist not redirect/sandbox|x}}


Exists, with 2nd and 3rd parameters

{{Ifexist not redirect|x|oui|non}}

non

{{Ifexist not redirect/sandbox|x|oui|non}}

non