Template:Ifexists/doc

This template is similar to   as it checks the existence of the given page. The difference is that the checked page is not added to Wanted pages, and that it doesn't increase the Expensive parser function count nor add the page to Category:Pages with too many expensive parser function calls.

Usage

 * unnamed parameter 1
 * Pagename without braces, including namespace.


 * unnamed parameter 2
 * Optional. Wikitext if page exists.


 * unnamed parameter 3
 * Optional. Wikitext if page does not exists.


 * redirects =
 * Optional. exclude or only (defaults to include)


 * ns =
 * Optional. Defaults to main namespace.

Example
→