Template:PrintOntologicalTheoryTopicQuestions

From Encyclopedia of Scientonomy
Jump to navigation Jump to search

This template is used to print the ontological questions that the theory attempts to answer. Since some ontological theories attempt to answer more than one question (e.g. "A is a subtype of B" is an answer to two questions: "What are the subtypes of B?" and "What are the supertypes of A?"), and since some of these topic pages may yet to be created, it is important to make sure that these are not regular links but are links that check the existence of the page and, if one doesn't exist, offer a link to the correct form.

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

Parameters:

  • |theory= - the fullpagename of the the theory.
  • |intro= - initial text that precedes the output, if at least some results exist.
  • |outro= - text that is appended to the output, if at least some results exist.
  • |intro one= - initial text that precedes the output, if exactly one result exist. If not given, |intro= will be used.
  • |outro one= - text that is appended to the output, if exactly one result exist. If not given, |outro= will be used.
  • |default= - if, for any reason, the query returns no results, this will be printed instead.
  • |link= - determines whether the values are to be printed as links to the respective pages (where available) or the forms to create the respective pages; possible values are none, subject, all. If not given all is the default.
  • |pretty= - if non empty, a pretty list is produced where the last two elements are chained with an and (or the local languages equivalent).