Difference between revisions of "Template:GetTopicCurrentAnswerFormulationText"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
Line 69: Line 69:
 
       --><!-- Get the topic's subject and predicate
 
       --><!-- Get the topic's subject and predicate
 
       --><!--  
 
       --><!--  
       -->{{#vardefine: varSubject|{{#show: {{{topic|}}}|?Subject|link=none}}|}}<!--
+
       -->{{#vardefine: varSubject|{{#show: {{#arrayindex: arrayTheories|0}}|?Subject|link=none}}|}}<!-- NOTE: the subject is to be taken from the theory, rather than the topic to make sure this works with subtypes/supertypes
 
       -->{{#vardefine: varPredicate|{{#show: {{{topic|}}}|?Predicate|link=none}}|}}<!--
 
       -->{{#vardefine: varPredicate|{{#show: {{{topic|}}}|?Predicate|link=none}}|}}<!--
 
       --><!--  
 
       --><!--  

Revision as of 21:38, 27 February 2023

This template returns the list of formulation texts of the current answers to the topic. If the topic doesn't have a formula for combining multiple answers, this will be a comma separated list; otherwise the formulations will be combined according to the formula. 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 template will return:

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

NOTE: As any "get" template, it doesn't save anything, but merely returns a value.

Parameters:

  • |community= - the community.
  • |topic= - the topic.
  • |separator= - the separator to be used for multiple answers if there is no formula; the default is a space (since the formulations are usually full sentences).