Difference between revisions of "Template:ExistNotRedirect/testcases"

From blackwiki
Jump to navigation Jump to search
imported>Psiĥedelisto
(few more cases)
imported>Psiĥedelisto
m (snip)
 
Line 29: Line 29:
  
 
{{Testcase|showcode=yes|title=We get what we ask for~
 
{{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]]|forcefile=yes}}
+
|<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
 
{{Test case|_collapsible=yes|_showcode=yes|_title=Reject foreign file
|:ja:File:20081106小瀬川発電所.JPG|forcefile=yes}}
+
|: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}}