Template:Ifexists/doc

From Portals of Phereon Wiki
Revision as of 12:29, 1 December 2019 by Olaroll (talk | contribs) (Text replacement - "\[\[..:.*?:.*?\]\]" to "")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This is a documentation subpage for Template:Ifexists.
It contains usage information, categories and other content that is not part of the original template page.

This template is similar to .

Usage[]

{{ ifexists|(pagename)|(then)|(else) }}
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.

redirects =

Optional. exclude or only (defaults to include)

ns =

Optional. Defaults to main namespace.