Template:Ifexists
Jump to navigation
Jump to search
Usage[edit source]
{{ifexists|(pagename)|(then)|(else)}}
This template is similar to the parser function {{#ifexist:}} as it checks the existence of the given page. The difference is that the checked page is not added to Wanted pages.
Parameters[edit source]
- 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.
See also[edit source]
- w:Template:Linkless exists — The source for this template from Wikipedia.
- Help:Extension:ParserFunctions