Template:Exist not redirect/doc
Template page
More actions
| This is a documentation subpage for Template:Exist not redirect. It may contain usage information, categories and other content that is not part of the original template page.  | 
| Uses Lua: | 
Checks whether a page exists and is not a redirect.
If the pagename both exists AND is not a redirect, it returns the pagename. Otherwise, it returns nothing.
Usage
{{Exist not redirect|pagename}}
Parameters:
- One page name
 
Examples
- A page which exists:
{{Exist not redirect|Japan}}→ - A page which does not exist:
{{Exist not redirect|The exciting story of paint drying in a small town in Japan one day in April 1927}}→ - Another page which exists:
{{Exist not redirect|Portal:History}}→ - A page which does not exist:
{{Exist not redirect|Portal:Computing in 1066}}→ - A page which exists, but is a redirect:
{{Exist not redirect|Portal:Contents}}→