Template:Exists
Jump to navigation
Jump to search
Template documentation
This template tests if a page exists. The template even works to test for interwiki pages, something that the common {{#ifexist:}}
function does not support. Note: currently does not support checking interwiki pages.
How to use:
{{exists | page name (without brackets) | result if page exists | result if page does not exist }}
The last two parameters are optional, the default return being "1" if the page exists and "0" if it doesn't.
Example:
{{exists | Template:Exists | yes | no }}
Returns "yes".