FANDOM


This Forum has been archived

Visit the new Forums
Forums: Index Support Requests If exists
FANDOM's forums are a place for the community to help other members.
To contact staff directly or to report bugs, please use Special:Contact.

50px-Replacement filing cabinet.svg

Note: This topic has been unedited for 1508 days. It is considered archived - the discussion is over. Do not add to unless it really needs a response.


Is there a way to make a template ifexists? You would put
{{ifexists|Page that is to be checked|Text if exists|Text if does not exist}}
I tried to make
{{#ifeq: {{{1}}}|<span style="color:red">[http://fightmon.wikia.com/index.php?title={{{1}}}&action=edit&redlink=1 {{{1}}}]</span>|{{{3}}}|{{{2}}}}}
but it always results in Text if exists. It's not essential, but it would be nice to have a custom text if a page exists or if it doesn't. For example, I could have it say Foo (please help us by ~foo~@creating this page@) if it does not exist or Foo if it doesn't exist. Thanks, Iggyvolz 01:09, February 11, 2012 (UTC)
Hey, I may be completely misreading this -- but are you aware of the #ifexist parser? Check out this. ʞooɔ
01:30, February 11, 2012 (UTC)
Oops! I heard about it, but I though it was #ifexists! Thanks, Iggyvolz 02:06, February 11, 2012 (UTC)
Community content is available under CC-BY-SA unless otherwise noted.