Vorlage:Ifexists

Aus EnzyklopAtys

Version vom 10. Januar 2010, 18:49 Uhr von CeNobiteElf (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „<includeonly>{{ #if: {{ #dpl: skipthispage = false | redirects = include | title = {{{1|}}} }} | {{{3|}}} | {{{2|}}} }}</includeonly><noinclude> == Description ==…“)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Wechseln zu: Navigation, Suche

Description

{{ ifexists|(pagename)|(then)|(else) }}

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.

Parameters

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.

See also