Template:IfObjectExists

From Encyclopedia of Scientonomy
Revision as of 19:40, 31 August 2016 by Hakob Barseghyan (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

If the object of given category exists in the encyclopedia, the template returns the object. If it doesn't, it returns an empty string.

NOTE: As any "printing" template, it doesn't store any values anywhere, but merely prints them on the page.

Parameters:

  • |category= - the category to search in. If not given, all categories are fair game.
  • |object= - the object to search for.