(One intermediate revision by the same user not shown)
Line 5: Line 5:
 
</pre>
 
</pre>
  
This template is similar to [[meta:Help:ParserFunctions##ifexist:|<nowiki>{{ #ifexist: }}</nowiki>]] as it checks the existence of the given page. The difference is that the checked page is not added to [[Special:Wantedpages|Wanted pages]].
+
This template is similar to [http://www.mediawiki.org/wiki/Help:Extension:ParserFunctions#.23ifexist <nowiki>{{ #ifexist: }}</nowiki>] as it checks the existence of the given page. The difference is that the checked page is not added to [[Special:Wantedpages|Wanted pages]].
  
 
=== Parameters ===
 
=== Parameters ===

Latest revision as of 10:52, 24 November 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.

See also

Retrieved from "https://en.wiki.ryzom.com/w/index.php?title=Template:Ifexists&oldid=5713"