Template:Ifpageexists/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.

On translation wikis if the checked page name has the namespace specified as  (not localized), the mentioned parser function is used instead, as DPL can't be used for repository images.

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

Optional. Wikitext if page exists.
 * unnamed parameter 2

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

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

Optional. Defaults to main namespace.
 * ns =