Changes

Jump to navigation Jump to search
no edit summary
<noinclude>
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 The stance of theory acceptance can be taken towards theories.* “The The stance of theory pursuit can be taken towards theories.* “The The stance of theory use can be taken towards theories.
The template will return:
* “The 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.
* <code><nowiki>|community=</nowiki></code> - the community.
* <code><nowiki>|topic=</nowiki></code> - the topic.
* <code><nowiki>|separator=</nowiki></code> - 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).
</noinclude><includeonly><!--
--><!-- Get the topic's subject and predicate
--><!--
-->{{#vardefine: varSubject|{{#show: {{{topic#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}}|}}<!--
--><!--
-->}}<!-- arraydefine objects
-->{{#arrayunique: varSubjectObjects}}<!--
-->
Formula: {{#var: varMultipleFormula}}
 
Subject: {{#var: varSubject}}
 
Objects: {{#arrayprint: varSubjectObjects}}
 
Predicate: {{#var: varPredicate}}
 
<!--
--><!--
--><!-- -->{{DecodeTextFormula|formula={{#var: varMultipleFormula}}|subject={{#var: varSubject}}|predicate={{#var: varPredicate}}|object={{#arrayprint: varSubjectObjects}}|link=yes}}<!--
--><!--
--><!--
-->{{#arrayprint: arrayTheories||varTheory|<!--
-->{{#show: varTheory|?Formulation Text|link=none}},{{{separator|&#32;}}}<!--
--><!--
-->}}<!-- arrayprint

Navigation menu