Template:Ifexist not redirect/doc
< Template:Ifexist not redirect
Jump to navigation
Jump to search
Revision as of 02:58, 11 March 2016 by imported>Alex 21
| 40px | This is a documentation subpage for Template:Ifexist not redirect. It contains usage information, categories and other content that is not part of the original template page. |
Usage
The {{Ifexist not redirect}} template returns true if an article exists and exists as an actual article, and returns false if the article either does not exist, exists as a redirect, or is empty, whereas {{#ifexist}} will return true if the article is a redirect or empty. Use the format {{Ifexist not redirect|article}}.
Examples
Existing article (List of Doctor Who serials):
{{Ifexist not redirect|List of Doctor Who serials}}:{{#ifexist:List of Doctor Who serials|yes}}:
Redirect (List of Daredevil episodes):
{{Ifexist not redirect|List of Daredevil episodes}}:{{#ifexist:List of Daredevil episodes|yes}}:
Empty article (Template:Ifexist not redirect/testpage):
{{Ifexist not redirect|Template:Ifexist not redirect/testpage}}:{{#ifexist:Template:Ifexist not redirect/testpage|yes}}: yes
Non-existant article (Green Arrow episodes):
{{Ifexist not redirect|Green Arrow episodes}}:{{#ifexist:Green Arrow episodes|yes}}: