Template:GetTermCurrentDescendants

From Encyclopedia of Scientonomy
Revision as of 21:31, 16 January 2023 by Hakob Barseghyan (talk | contribs)
Jump to navigation Jump to search

This template returns a comma separate list of the current descendants of the given term, i.e. its subclasses, sub-subclasses, etc. It calls itself recursively for every child it finds and adds the children (and grandchildren, etc.) of the child to the list.

IMPORTANT: This template is agent-agnostic, as it returns the descendants of the term accepted by any registered agent.

NOTE: As any "set" template, it doesn't print anything on the page, but merely sets the appropriate values.

Parameters:

  • |term= - the term page.
  • |link= - determines whether the values are to be printed as links to the respective pages (where available); possible values are none, subject, all. If not given all is the default.