Difference between revisions of "Template:ExistNotRedirect/testcases"

From blackwiki
Jump to navigation Jump to search
imported>Psiĥedelisto
(test cases)
 
imported>Psiĥedelisto
m (snip)
 
(One intermediate revision by the same user not shown)
Line 15: Line 15:
 
{{Test case|_collapsible=yes|_showcode=yes|_title=Simple positive File: case
 
{{Test case|_collapsible=yes|_showcode=yes|_title=Simple positive File: case
 
|File:SNice.svg}}
 
|File:SNice.svg}}
 +
 +
{{Test case|_collapsible=yes|_showcode=yes|_title=Simple positive :File: case
 +
|:File:SNice.svg}}
  
 
{{Test case|_collapsible=yes|_showcode=yes|_title=Simple positive Media: case
 
{{Test case|_collapsible=yes|_showcode=yes|_title=Simple positive Media: case
Line 24: Line 27:
 
{{Test case|_collapsible=yes|_showcode=yes|_title=Simple positive File: case, demand local
 
{{Test case|_collapsible=yes|_showcode=yes|_title=Simple positive File: case, demand local
 
|File:Sonic2Gameplay.gif|forcefile=yes}}
 
|File:Sonic2Gameplay.gif|forcefile=yes}}
 +
 +
{{Testcase|showcode=yes|title=We get what we ask for~
 +
|<nowiki>[[{{ExistNotRedirect|File:Ukrainian orchestra.jpg}}|106px]]</nowiki>|[[{{ExistNotRedirect|File:Ukrainian orchestra.jpg}}|106px]]|[[{{ExistNotRedirect/sandbox|File:Ukrainian orchestra.jpg}}|106px]]}}
 +
 +
{{Test case|_collapsible=yes|_showcode=yes|_title=Reject foreign file
 +
|:ja:File:20081106小瀬川発電所.JPG}}
  
 
<!--
 
<!--

Latest revision as of 08:45, 11 July 2020

Simple positive case
{{ExistNotRedirect|Japan}}

{{ExistNotRedirect}}


{{ExistNotRedirect/sandbox}}


Simple negative case
{{ExistNotRedirect|The exciting story of paint drying in a small town in Japan one day in April 1927}}

{{ExistNotRedirect}}


{{ExistNotRedirect/sandbox}}


Simple positive other namespace case
{{ExistNotRedirect|Portal:History}}

{{ExistNotRedirect}}


{{ExistNotRedirect/sandbox}}


Negative case due to redirect
{{ExistNotRedirect|Portal:Idaho}}

{{ExistNotRedirect}}


{{ExistNotRedirect/sandbox}}


Simple positive File: case
{{ExistNotRedirect|File:SNice.svg}}

{{ExistNotRedirect}}

File:SNice.svg

{{ExistNotRedirect/sandbox}}

File:SNice.svg

Simple positive :File: case
{{ExistNotRedirect|:File:SNice.svg}}

{{ExistNotRedirect}}


File:SNice.svg

{{ExistNotRedirect/sandbox}}


File:SNice.svg
Simple positive Media: case
{{ExistNotRedirect|Media:SNice.svg}}

{{ExistNotRedirect}}

Media:SNice.svg

{{ExistNotRedirect/sandbox}}

Media:SNice.svg

Simple negative File: case, demand local
{{ExistNotRedirect|File:SNice.svg|forcefile=yes}}

{{ExistNotRedirect}}


{{ExistNotRedirect/sandbox}}


Simple positive File: case, demand local
{{ExistNotRedirect|File:Sonic2Gameplay.gif|forcefile=yes}}

{{ExistNotRedirect}}


{{ExistNotRedirect/sandbox}}


Template:Testcase

Reject foreign file
{{ExistNotRedirect|:ja:File:20081106小瀬川発電所.JPG}}

{{ExistNotRedirect}}


{{ExistNotRedirect/sandbox}}