Difference between revisions of "Template:Reason"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
 
(6 intermediate revisions by the same user not shown)
Line 8: Line 8:
 
|Premises=
 
|Premises=
 
|Title=
 
|Title=
 +
|Formulation Text=
 
|Description=
 
|Description=
 
|Formulated Year=
 
|Formulated Year=
Line 19: Line 20:
  
 
Edit the page to see the template text.
 
Edit the page to see the template text.
</noinclude><includeonly>{{#set:Conclusion={{{Conclusion|}}}|Title={{{Title|}}}|Formulated Year={{{Formulated Year|}}}|Description={{{Description|}}}|Resource={{{Resource|}}}|Diagram File={{{Diagram File|}}}|Page Status={{{Page Status|Stub}}}|Editor Notes={{{Editor Notes|}}}|}}<!--
+
</noinclude><includeonly><!--
 +
-->{{#set:Conclusion={{{Conclusion|}}}|<!--
 +
-->Title={{{Title|}}}|<!--
 +
-->Formulation Text={{{Formulation Text|}}}|<!--
 +
-->Formulated Year={{{Formulated Year|}}}|<!--
 +
-->Description={{#replace:{{{Description|}}}|CiteRef::|CITE_}}|<!-- replace CiteRef's when storing the value to make sure that the references are shown properly
 +
-->Order=2|<!--
 +
-->Resource={{{Resource|}}}|<!--
 +
-->Diagram File={{{Diagram File|}}}|<!--
 +
-->Formulation File={{{Diagram File|}}}|<!-- this is stored to be similar to other theories and ease the depiction on such pages as modifications
 +
-->Page Status={{{Page Status|Stub}}}|<!--
 +
-->Editor Notes={{{Editor Notes|}}}|<!--
 +
-->}}<!-- set
 
--><!--
 
--><!--
 
--><!-- set the authors
 
--><!-- set the authors
Line 30: Line 43:
 
-->{{#arrayunique:premisesArray}}<!--
 
-->{{#arrayunique:premisesArray}}<!--
 
-->{{#arrayprint:premisesArray||@@@@|{{#set:Has Premise=@@@@}}|}}<!--
 
-->{{#arrayprint:premisesArray||@@@@|{{#set:Has Premise=@@@@}}|}}<!--
 +
--><!--
 +
--><!-- print
 +
--><!--
 +
-->{{{Description|}}}<!--
 +
-->{{PrintReasonAuthorYearResource|reason={{FULLPAGENAME}}|}}<!--
 
--><!--  
 
--><!--  
 
--><!-- add categories  
 
--><!-- add categories  
 
-->[[Category:Reason]]<!--  
 
-->[[Category:Reason]]<!--  
-->{{#switch: {{{Page Status|Stub}}}
+
-->[[Category:Theory]]<!--
    |Editor Approved=[[Category:Editor Approved Reason Pages]]
+
-->[[Category:Second Order Theory]]<!--
    |Needs Editing=[[Category:Need Editing Reason Pages]]  
+
-->[[Category:Second Order Element]]<!--
    |Stub=[[Category:Stub Reason Pages]]
+
-->{{#switch: {{{Page Status|Stub}}}<!--
  }}
+
--> |Editor Approved=[[Category:Editor Approved Reason Pages]]<!--
__NOEDITSECTION__
+
--> |Needs Editing=[[Category:Need Editing Reason Pages]]<!--
__NOCACHE__
+
--> |Stub=[[Category:Stub Reason Pages]]<!--
__NOINDEX__
+
-->}} <!--
</includeonly>
+
-->__NOEDITSECTION__ <!--
 +
-->__NOCACHE__ <!--
 +
--><!--
 +
--></includeonly>

Latest revision as of 10:37, 17 January 2024

This is the "Reason" template. Since reasons are second order theories, they inherit all the properties of class theory. However, some of these properties can be skipped for reasons (e.g. formulation). Also, instances of class Reason have additional properties, such as conclusion (the theory for which this is a reason), and premises from which the conclusion follows.

It should be called in the following format:

{{Reason
|Conclusion=
|Premises=
|Title=
|Formulation Text=
|Description=
|Formulated Year=
|Diagram File=
|Authors List=
|Resource=
|Page Status=
|Editor Notes=
}}

Edit the page to see the template text.