Difference between revisions of "Template:Theory"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
Line 28: Line 28:
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 
</noinclude><includeonly>{{#set:Topic={{{Topic|}}}|Subject={{{Subject|}}}|Predicate={{{Predicate|}}}|Object={{{Object|}}}|Formulated Year={{{Formulated Year|}}}|Alternate Titles={{{Alternate Titles|}}}|Description={{{Description|}}}|Resource={{{Resource|}}}|Formulation File={{{Formulation File|}}}|Theory Type={{{Theory Type|}}}|Authors List={{{Authors List|}}}|Page Status={{{Page Status|Stub}}}|Editor Notes={{{Editor Notes|}}}|}}<!--
 
</noinclude><includeonly>{{#set:Topic={{{Topic|}}}|Subject={{{Subject|}}}|Predicate={{{Predicate|}}}|Object={{{Object|}}}|Formulated Year={{{Formulated Year|}}}|Alternate Titles={{{Alternate Titles|}}}|Description={{{Description|}}}|Resource={{{Resource|}}}|Formulation File={{{Formulation File|}}}|Theory Type={{{Theory Type|}}}|Authors List={{{Authors List|}}}|Page Status={{{Page Status|Stub}}}|Editor Notes={{{Editor Notes|}}}|}}<!--
 +
--><!--
 +
--><!-- set the subfield
 +
-->{{#vardefine: varSubfield|{{#show: {{{Topic|}}}|?Subfield|link=none}} }}<!--
 +
-->{{#set: Subfield={{#var: varSubfield}}|}}<!--
 
--><!--
 
--><!--
 
--><!-- set the formulation text
 
--><!-- set the formulation text
Line 150: Line 154:
 
{{PrintTheoryReasons|theory={{FULLPAGENAME}}|default=No reasons are indicated for this theory.|showedit=yes}}
 
{{PrintTheoryReasons|theory={{FULLPAGENAME}}|default=No reasons are indicated for this theory.|showedit=yes}}
  
{{#formlink:form=Reason|link text=Add a New Reason|link type=button|popup|reload|query string=Reason[Conclusion]={{FULLPAGENAME}}|}}<!--
+
If a reason supporting this theory is missing, please {{#formlink:form=Reason|link text=add it here|popup|reload|query string=Reason[Conclusion]={{FULLPAGENAME}}|}}
 +
 
 +
==Questions About This Theory==
 +
 
 +
If a question about this theory is missing, please {{#formlink:form=Topic|link text=add it here|query string=Topic[Subject]={{FULLPAGENAME}}&Topic[Subfield]={{#var: varSubfield}}&Topic[Topic Type]=Descriptive|}}.<!--
 
--><!--  
 
--><!--  
--><!-- add caregories
+
--><!-- add categories
 
--><!--  
 
--><!--  
 
-->[[Category:Epistemic Element]]<!--
 
-->[[Category:Epistemic Element]]<!--
 
-->[[Category:Theory]]<!--
 
-->[[Category:Theory]]<!--
 
--><!--  
 
--><!--  
-->{{#switch: {{#var:varOrder}}<!--
 
--> |2=[[Category:Second Order Element]][[Category:Second Order Theory]]<!--
 
--> |#default=[[Category:First Order Element]][[Category:First Order Theory]]<!-- 
 
-->}}<!--
 
 
-->{{#switch: {{{Theory Type|}}}<!--
 
-->{{#switch: {{{Theory Type|}}}<!--
--> |Normative=[[Category:Normative Theory]]<!--
+
-->|Normative=[[Category:Normative Theory]]<!--
--> |Descriptive=[[Category:Descriptive Theory]]<!--  
+
-->|Descriptive=[[Category:Descriptive Theory]]<!--  
--> |Definition=[[Category:Definition]]<!--  
+
-->|Definition=[[Category:Definition]]<!--  
 
-->}}<!--  
 
-->}}<!--  
 
-->{{#switch: {{{Page Status|Stub}}}<!--
 
-->{{#switch: {{{Page Status|Stub}}}<!--
--> |Editor Approved=[[Category:Editor Approved Theory Pages]]<!--
+
-->|Editor Approved=[[Category:Editor Approved Theory Pages]]<!--
--> |Needs Editing=[[Category:Need Editing Theory Pages]]<!--  
+
-->|Needs Editing=[[Category:Need Editing Theory Pages]]<!--  
--> |Stub=[[Category:Stub Theory Pages]]<!--
+
-->|Stub=[[Category:Stub Theory Pages]]<!--
 
-->}}<!--
 
-->}}<!--
 
--><!--
 
--><!--

Revision as of 20:17, 19 January 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}
 |Subject= 
 |Predicate=
 |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 formulate 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.