This template tests whether a given page exists. The full syntax for using it is:

{{exists | page=page | then=result if page exists | else=result if page does not exist }}

The parameters then and else are optional; if not given, the default values for then and else are 1 and 0 respectively. The page name may alternately be given as the first unnamed parameter, as in this short version:

{{exists | page }}

Warning: If the page name may contain equals signs, always use the "page=" prefix.