Difference between revisions of "Template:ExistNotRedirect/testcases"
Jump to navigation
Jump to search
imported>Psiĥedelisto (test cases) |
imported>Psiĥedelisto (few more cases) |
||
| 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]]|forcefile=yes}} | ||
| + | |||
| + | {{Test case|_collapsible=yes|_showcode=yes|_title=Reject foreign file | ||
| + | |:ja:File:20081106小瀬川発電所.JPG|forcefile=yes}} | ||
<!-- | <!-- | ||
Revision as of 08:44, 11 July 2020
| This is the template test cases page for the sandbox of Template:ExistNotRedirect. Script error: No such module "Purge". to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki, see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins with these links: |
| Simple positive case |
|---|
{{ExistNotRedirect|Japan}}
{{ExistNotRedirect}}
|
| Simple negative case |
|---|
{{ExistNotRedirect|The exciting story of paint drying in a small town in Japan one day in April 1927}}
{{ExistNotRedirect}}
|
| Simple positive other namespace case |
|---|
{{ExistNotRedirect|Portal:History}}
{{ExistNotRedirect}}
|
| Negative case due to redirect |
|---|
{{ExistNotRedirect|Portal:Idaho}}
{{ExistNotRedirect}}
|
| Simple positive File: case |
|---|
{{ExistNotRedirect|File:SNice.svg}}
{{ExistNotRedirect}} File:SNice.svg File:SNice.svg |
| Simple positive :File: case |
|---|
{{ExistNotRedirect|:File:SNice.svg}}
{{ExistNotRedirect}}
|
| Simple positive Media: case |
|---|
{{ExistNotRedirect|Media:SNice.svg}}
{{ExistNotRedirect}} Media:SNice.svg Media:SNice.svg |
| Simple negative File: case, demand local |
|---|
{{ExistNotRedirect|File:SNice.svg|forcefile=yes}}
{{ExistNotRedirect}}
|
| Simple positive File: case, demand local |
|---|
{{ExistNotRedirect|File:Sonic2Gameplay.gif|forcefile=yes}}
{{ExistNotRedirect}}
|
| Reject foreign file |
|---|
{{ExistNotRedirect|:ja:File:20081106小瀬川発電所.JPG|forcefile=yes}}
{{ExistNotRedirect}}
|