Template:Ifexist/doc: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
Created page with "This template is similar to <nowiki>{{ #ifexist: }}</nowiki> as it checks the existence of the given page. The difference is..." |
No edit summary |
||
Line 3: | Line 3: | ||
== Usage == |
== Usage == |
||
<pre> |
<pre> |
||
{{ |
{{ ifexist|(pagename)|(then)|(else) }} |
||
</pre> |
</pre> |
||
Revision as of 03:51, 5 February 2020
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.