FANDOM

2,054,169 Pages

{{exists|<<pagename>>}}

Returns "true" if page with pagename exists, else an empty string. Can be used with #if to replace #ifexist, from which it differs in two important aspects:

  • #ifexist is considered an "expensive parser function call" and triggers a warning message if more than 100 of those are used on the same page.
  • #ifexist produces a backlink to the requested page.

Example:

*{{#if:{{exists|Pink Floyd}}|yes|no}}
*{{#if:{{exists|Fink Ployd}}|yes|no}}
produces:
  • yes
  • no
Community content is available under Copyright unless otherwise noted.