Difference between revisions of "Template:Topic"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This is the template for all types of Topics - Definitional, Descriptive, or Normative. This template is to be used for all topics/questions the answers to which are definitions, descriptions, or prescriptions (it is used by [[Form:Topic]]).
+
This is the template for all types of Non-Definitional Topics (Descriptive, Normative). This template is to be used for all topics/questions the answers to which are descriptions or prescriptions (it is used by [[Form:Topic]]).
  
 
It should be called in the following format:
 
It should be called in the following format:
 
<pre>
 
<pre>
 
{{Topic
 
{{Topic
|Topic Type=
+
|Subject= //For first order questions, the subject must be a term registered in the encyclopedia. For higher order questions, the subject can be any lower level non-definitional theory question or theory.
|Question=
+
|Topic Type= {Descriptive, Normative}
|Order=
+
|Subfield= {Ontology, Dynamics, etc.}
|Lower Order Elements=
+
|Question Text Formula=
|Parent Topic=
+
|Question Title Formula=
 +
|Question= //This will be deprecated. For now, if a formula is given, this one is ignored and constructed automatically from the formula.
 +
|Predicate Type= {Text, Term}
 +
|Predicate=
 +
|Object Type= {Boolean, Class, Enumeration, Regular Expression, Text}
 +
|Object Value True= //optional. Used only if Object Type=Boolean
 +
|Object Value False= //optional. Used only if Object Type=Boolean
 +
|Object Class= //optional. Used only if Object Type=Class
 +
|Object Enum Values= //optional. Used only if Object Type=Enumeration
 +
|Object Regexp= //optional. Used only if Object Type=Regexp
 +
|Single Answer Text Formula=
 +
|Multiple Answers Text Formula=
 +
|Answer Title Formula=
 +
|Order= //This will be deprecated. The question's order will be calculated from the Subject. If the subject is a term registered in the encyclopedia, then the question is first order. Otherwise, the question's order will be equal to subject's order + 1. 
 +
|Lower Order Elements= //This will be deprecated. It will be calculated automatically from the subject, object, and predicate.
 +
|Parent Topic= //This will be deprecated. It will be calculated automatically in an agent-relative way following the current inheritance hierarchy of that agent.
 
|Description=
 
|Description=
 
|Authors List=
 
|Authors List=
Line 23: Line 38:
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 +
 
</noinclude><includeonly><!--
 
</noinclude><includeonly><!--
-->{{#set:Question={{{Question|}}}|Order={{{Order|1}}}|Formulated Year={{{Formulated Year|}}}|Page Status={{{Page Status|Stub}}}|Editor Notes={{{Editor Notes|}}}|Parent Topic={{{Parent Topic|}}}|Authors List={{{Authors List|}}}|Topic Type={{{Topic Type|}}}|Subfield=Dynamics}}<!--
+
--><!--
 +
--><!-- set values
 +
-->{{#set:<!--
 +
-->Subject={{{Subject|}}}|<!--
 +
-->Topic Type={{{Topic Type|}}}|<!--
 +
-->Subfield={{{Subfield|Dynamics}}}|<!--  //TODO: remove the default when the transition is complete.
 +
-->Question Text Formula={{{Question Text Formula|}}}|<!--
 +
-->Question Title Formula={{{Question Title Formula|}}}|<!--
 +
-->Question={{{Question|}}}|<!-- //TODO: calculate this automatically
 +
-->Predicate Type={{{Predicate Type|}}}|<!--
 +
-->Predicate={{{Predicate|}}}|<!--
 +
-->Object Type={{{Object Type|Text}}}|<!--
 +
-->Object Value True={{{Object Value True|Yes}}}|<!--
 +
-->Object Value False={{{Object Value False|No}}}|<!--
 +
-->Object Class={{{Object Class|}}}|<!--
 +
-->Object Enum Values={{{Object Enum Values|}}}|<!--
 +
-->Object Regexp={{{Object Regexp|}}}|<!--
 +
-->Single Answer Text Formula={{{Single Answer Text Formula|}}}|<!--
 +
-->Multiple Answers Text Formula={{{Multiple Answers Text Formula|}}}|<!--
 +
-->Answer Title Formula={{{Answer Title Formula|}}}|<!--
 +
-->Order={{{Order|1}}}|<!--
 +
-->Formulated Year={{{Formulated Year|}}}|<!--
 +
-->Page Status={{{Page Status|Stub}}}|<!--
 +
-->Editor Notes={{{Editor Notes|}}}|<!--
 +
-->Parent Topic={{{Parent Topic|}}}|<!--
 +
-->Authors List={{{Authors List|}}}|<!--
 +
-->}}<!-- set
 
--><!--
 
--><!--
 
--><!-- set the inheritance hierarchy
 
--><!-- set the inheritance hierarchy

Revision as of 14:07, 14 January 2023

This is the template for all types of Non-Definitional Topics (Descriptive, Normative). This template is to be used for all topics/questions the answers to which are descriptions or prescriptions (it is used by Form:Topic).

It should be called in the following format:

{{Topic
|Subject= //For first order questions, the subject must be a term registered in the encyclopedia. For higher order questions, the subject can be any lower level non-definitional theory question or theory.
|Topic Type= {Descriptive, Normative}
|Subfield= {Ontology, Dynamics, etc.}
|Question Text Formula=
|Question Title Formula=
|Question= //This will be deprecated. For now, if a formula is given, this one is ignored and constructed automatically from the formula.
|Predicate Type= {Text, Term}
|Predicate=
|Object Type= {Boolean, Class, Enumeration, Regular Expression, Text}
|Object Value True= //optional. Used only if Object Type=Boolean
|Object Value False= //optional. Used only if Object Type=Boolean
|Object Class= //optional. Used only if Object Type=Class
|Object Enum Values= //optional. Used only if Object Type=Enumeration
|Object Regexp= //optional. Used only if Object Type=Regexp
|Single Answer Text Formula=
|Multiple Answers Text Formula=
|Answer Title Formula=
|Order= //This will be deprecated. The question's order will be calculated from the Subject. If the subject is a term registered in the encyclopedia, then the question is first order. Otherwise, the question's order will be equal to subject's order + 1.  
|Lower Order Elements= //This will be deprecated. It will be calculated automatically from the subject, object, and predicate. 
|Parent Topic= //This will be deprecated. It will be calculated automatically in an agent-relative way following the current inheritance hierarchy of that agent. 
|Description=
|Authors List=
|Formulated Year=
|Academic Events=
|Prehistory=
|History=
|Current View=
|Related Topics=
|Page Status=
|Editor Notes=
}}

Edit the page to see the template text.