Template:SetTopicCurrentAnswer

From Encyclopedia of Scientonomy
Revision as of 16:05, 24 February 2023 by Hakob Barseghyan (talk | contribs) (Created page with "<noinclude> This template is used to save records on which communities have currently accepted answers to the question and the respective accepted answers. For each communit...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This template is used to save records on which communities have currently accepted answers to the question and the respective accepted answers.

For each community where the topic is currently accepted, the template searches for accepted theories, and if a theory is found, creates the following subobjects:

A combined subobject for all the answers to the question with the following properties:

  • SubObjectCategory = "Topic Current Answer".
  • Topic - the question the theory is trying to answer.
  • Topic Type - the type of the topic for ease of access (Normative, Descriptive, Definitional)
  • Parent Topic - the topic's parent topic for ease of access. //What happens when there are multiple parent topics?
  • Community - the community that accepts the theory.
  • Theory - the full page name of the theories that answer the topic.
  • Answer Type = Complete.

If no theory is found, the template checks to see if any of the subtopics of the topic have currently accepted answers. If an answer is found then, a subobject is created like the one above, except for:

  • Answer Type = Partial.

Otherwise, a subobject is still created except for:

  • Answer Type = None.
  • Theory - empty.

The template also adds all the accepted answers to the superquestions as inherited answers to the question regardless of whether there are any direct or partial answers to the question.

  • Answer Type = Inherited.

An individual subobject for each answer to the question with the properties as above but with the added property:

  • SubObjectCategory = "Topic Current Answer Individual".
  • Original Topic - the original topic to which the theories were the answer to. For inherited answers, this will hold the fullpagename of the parent topic (superquestion). For partial answers gauged from the subquestions, this will hold the fullpagename of the child topic (subquestion). For direct answers, this will be equal to Topic.
  • Sorting Order - the Sorting Order of the topic; this is used to sort the accepted answers when displaying them.
  • Formulation Text - this is the combined formulation text of the answers to the original topic. If the original topic has a multiple answer formula, then the multiple answers will be combined here. Suppose the question Epistemic Stances Towards Theories has several accepted answers, such as:
  • “The stance of theory acceptance can be taken towards theories.”
  • “The stance of theory pursuit can be taken towards theories.”
  • “The stance of theory use can be taken towards theories.”

The value of Formulation Text will be:

  • “The stances of theory acceptance, theory pursuit, and theory use can be taken towards theories.”


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

Parameters:

  • |topic= - the full page name of the topic.
  • |subfield= - e.g. Ontology, Dynamics.