Tɛmplet:Ifexist not redirect/sandbox
Yi palo
![]() | This is the template sandbox page for Tɛmplet:Ifexist not redirect (diff). |
![]() | This template uses Lua: |
Usage
[mali mi di yibu sheena n-niŋ]The {{Ifexist not redirect}} template can be used to identify a page which exists, is not blank, and is not a redirect; whereas {{ifexist}}
will only check whether the page exists.
{{Ifexist not redirect|page|return if true|return if false}}
Examples
[mali mi di yibu sheena n-niŋ]Existing article
[mali mi di yibu sheena n-niŋ]{{Ifexist not redirect|List of Doctor Who episodes (1963–1989)|true|false}}
false
{{#ifexist:List of Doctor Who episodes (1963–1989)|true|false}}
false
Redirect
[mali mi di yibu sheena n-niŋ]{{Ifexist not redirect|List of Daredevil episodes|yes|no}}
no
{{#ifexist:List of Daredevil episodes|yes|no}}
no
Empty article
[mali mi di yibu sheena n-niŋ]{{Ifexist not redirect|Template:Ifexist not redirect/testpage|yes|no}}
no
{{#ifexist:Template:Ifexist not redirect/testpage|yes|no}}
no
Non-existent article
[mali mi di yibu sheena n-niŋ]{{Ifexist not redirect|Green Arrow episodes|1|0}}
0
{{#ifexist:Green Arrow episodes|1|0}}
0
Default output
[mali mi di yibu sheena n-niŋ]{{Ifexist not redirect|List of Doctor Who episodes (1963–1989)}}
{{Ifexist not redirect|List of Daredevil episodes}}