Difference between revisions of "Template:Ifexists"
From EncyclopAtys
CeNobiteElf (talk | contribs) (Created page with '<includeonly>{{ #if: {{ #dpl: skipthispage = false | redirects = include | title = {{{1|}}} }} | {{{3|}}} | {{{2|}}} }}</includeonly><noinclude> == Description == <pre> {{ ifexis…') |
CeNobiteElf (talk | contribs) |
||
Line 16: | Line 16: | ||
== See also == | == See also == | ||
− | * [ | + | * [http://meta.wikimedia.org/wiki/Help:ParserFunctions Help:ParserFunctions] |
[[Category:Maintenance templates|{{PAGENAME}}]] | [[Category:Maintenance templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> |
Revision as of 10:43, 20 October 2009
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.