Template:Ifexist

From Little Tail Wiki
Revision as of 00:26, 9 February 2025 by Admin (talk | contribs) (Created page with "<includeonly>{{#if: {{PROTECTIONEXPIRY:edit|{{{1|}}}}} | {{{2|}}} | {{{3|}}} }}</includeonly><noinclude>{{Documentation}}Category:Templates</noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Documentation (for the above template, sometimes hidden or invisible)

This template is similar to {{ #ifexist: }} as it checks the existence of the given page. The difference is that the checked page is not added to Wanted pages.

Usage

{{ ifexist|(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.

See also


Visit Template:Ifexist/doc to edit this text! (How does this work?)