Difference between revisions of "Template:Theory"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
 
(8 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
<pre>
 
<pre>
 
{{Theory
 
{{Theory
|Topic=  
+
|Topic=  
|Theory Type= {Definition, Descriptive, Normative}
+
|Theory Type= {Definition, Descriptive, Normative}
|Subject=
+
|Title= //ignored for Definitions. Equals to Topic.
|Predicate=
+
|Alternative Titles=
|Title= //ignored for Definitions. Equals to Topic.
+
|Title Formula= //Taken from the Topic's Answer Title Formula. If need to be manually modified, it can be done here.
|Alternative Titles=
+
|Text Formula= //Taken from the Topic's Single Answer Text Formula. If need to be manually modified, it can be done here.
|Title Formula= //Taken from the Topic's Answer Title Formula. If need to be manually modified, it can be done here.
+
|Object= //Will be used to construct the formulation text.
|Text Formula= //Taken from the Topic's Single Answer Text Formula. If need to be manually modified, it can be done here.
+
|Formulation Text= //This is left as a backdoor: use this if the formulation needs to be manually tweaked.  
|Object= //Will be used to construct the formulate text.
+
|Description=
|Formulation Text= //This is left as a backdoor: use this if the formulation needs to be manually tweaked.  
+
|Formulated Year=
|Description=
+
|Authors List=
|Formulated Year=
+
|Resource=
|Authors List=
+
|Formulation File=
|Resource=
+
|Prehistory=
|Formulation File=
+
|History=
|Prehistory=
+
|Page Status=
|History=
+
|Editor Notes=
|Page Status=
 
|Editor Notes=
 
 
}}
 
}}
 
</pre>
 
</pre>
Line 67: Line 65:
 
  -->|<!--
 
  -->|<!--
 
   --><!-- if formulation text is not given (the expected behavior), then the object is stored and the formulation text is generated according to the formula.
 
   --><!-- if formulation text is not given (the expected behavior), then the object is stored and the formulation text is generated according to the formula.
   -->{{#set: Object={{{Object|}}}|Formulation Text={{DecodeTextFormula|formula={{#var: varTextFormula}}|subject={{#var: varSubject}}|predicate={{#var: varPredicate}}|object={{{Object|}}}|}}|}}<!--
+
   -->{{#set: Object={{{Object|}}}|Formulation Text={{DecodeTextFormula|formula={{#var: varTextFormula}}|subject={{#var: varSubject}}|predicate={{#var: varPredicate}}|object={{{Object|}}}|link=yes}}|}}<!--
 
   --><!--
 
   --><!--
 
-->}}<!-- if formulation text is manually given
 
-->}}<!-- if formulation text is manually given
Line 81: Line 79:
 
   -->{{#vardefine: varTheoryType|definition}}<!--
 
   -->{{#vardefine: varTheoryType|definition}}<!--
 
  -->|<!--
 
  -->|<!--
   -->{{#set:Title={{DecodeTitleFormula|title={{{Title|}}}|formula={{{Title Formula|}}}|subject={{{Subject|}}}|predicate={{{Predicate|}}}|object={{{Object|}}}|}}|}}<!--
+
   -->{{#set:Title={{DecodeTitleFormula|title={{{Title|}}}|formula={{{Title Formula|}}}|subject={{#var: varSubject}}|predicate={{#var: varPredicate}}|object={{{Object|}}}|}}|}}<!--
 
   -->{{#vardefine: varTheoryType|theory}}<!--
 
   -->{{#vardefine: varTheoryType|theory}}<!--
 
-->}}<!-- switch
 
-->}}<!-- switch
Line 185: Line 183:
 
{{PrintSectionVideos|page={{FULLPAGENAME}}|section=Description}}
 
{{PrintSectionVideos|page={{FULLPAGENAME}}|section=Description}}
 
{{{Description|}}}
 
{{{Description|}}}
{{PrintTheoryExamples|theory={{FULLPAGENAME}}|limit=4|intro=The gist of this {{#var: varTheoryType}} can be illustrated by the following examples.}}
+
{{PrintTheoryExamples|theory={{FULLPAGENAME}}|intro=The gist of this {{#var: varTheoryType}} can be illustrated by the following examples.}}
 
==Reasons==
 
==Reasons==
 
{{PrintTheoryReasons|theory={{FULLPAGENAME}}|default=No reasons are indicated for this {{#var: varTheoryType}}.|showedit=yes}}
 
{{PrintTheoryReasons|theory={{FULLPAGENAME}}|default=No reasons are indicated for this {{#var: varTheoryType}}.|showedit=yes}}
  
If a reason supporting this answer is missing, please {{#formlink:form=Reason|link text=add it here|popup|reload|query string=Reason[Conclusion]={{FULLPAGENAME}}|}}.
+
If a reason supporting this {{#var: varTheoryType}} is missing, please {{#formlink:form=Reason|link text=add it here|popup|reload|query string=Reason[Conclusion]={{FULLPAGENAME}}|}}.
  
 
==Questions About This {{ucfirst: {{#var: varTheoryType}}}}==
 
==Questions About This {{ucfirst: {{#var: varTheoryType}}}}==

Latest revision as of 17:37, 2 November 2023

This is the "Theory" template. This template is to be used for all theories (descriptive, normative, and definitions). It is currently used by Form:Theory.

It should be called in the following format:

{{Theory
|Topic= 
|Theory Type= {Definition, Descriptive, Normative}
|Title= //ignored for Definitions. Equals to Topic.
|Alternative Titles=
|Title Formula= //Taken from the Topic's Answer Title Formula. If need to be manually modified, it can be done here.
|Text Formula= //Taken from the Topic's Single Answer Text Formula. If need to be manually modified, it can be done here.
|Object= //Will be used to construct the formulation text.
|Formulation Text= //This is left as a backdoor: use this if the formulation needs to be manually tweaked. 
|Description=
|Formulated Year=
|Authors List=
|Resource=
|Formulation File=
|Prehistory=
|History=
|Page Status=
|Editor Notes=
}}

Edit the page to see the template text.