Difference between revisions of "Template:Topic"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
 
(17 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
<pre>
 
<pre>
 
{{Topic
 
{{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.
+
|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}
+
|Topic Type= {Descriptive, Normative}
|Subfield= {Ontology, Dynamics, etc.}
+
|Subfield= {Ontology, Dynamics, etc.}
|Heritable= {Yes, No}
+
|Heritable= {Yes, No}
|Inherited From= //the question that this question is inherited from
+
|Inherited From= //the question that this question is inherited from
|Question Text Formula= //For heritable questions only.
+
|Question Text Formula= //For heritable questions only.
|Question Title Formula= //For heritable questions only.
+
|Question Title Formula= //For heritable questions only.
|Question Title= //Ignored for heritable questions.
+
|Question Title= //Ignored for heritable questions.
|Question= //For non heritable questions only. For heritable questions, this is available to the editors only to use in cases when the text produced by the formula should be overridden.  
+
|Question= //For non heritable questions only. For heritable questions, this is available to the editors only to use in cases when the text produced by the formula should be overridden.  
|Predicate= //Some text or a term registered in the encyclopedia
+
|Predicate= //Some text or a term registered in the encyclopedia
|Object Type= {Boolean, Class, Enumeration, Regular Expression, Text}
+
|Object Type= {Boolean, Class, Enumeration, Regular Expression, Text}
|Object Value True= //optional. Used only if Object Type=Boolean
+
|Object Value True= //optional. Used only if Object Type=Boolean
|Object Value False= //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 Class= //optional. Used only if Object Type=Class
|Object Enum Values= //optional. Used only if Object Type=Enumeration
+
|Object Enum Values= //optional. Used only if Object Type=Enumeration
|Object Regexp= //optional. Used only if Object Type=Regexp
+
|Object Regexp= //optional. Used only if Object Type=Regexp
|Single Answer Text Formula=
+
|Single Answer Text Formula=
|Multiple Answers Text Formula=
+
|Multiple Answers Text Formula=
|Answer Title Formula=
+
|Answer Title Formula=
|Description=
+
|Description=
|Authors List=
+
|Authors List=
|Formulated Year=
+
|Formulated Year=
|Academic Events=
+
|Academic Events=
|Prehistory=
+
|Prehistory=  
|History=
+
|History=
|Current View=
+
|Current View=
|Parent Topic= //This will be deprecated. It will be calculated automatically in an agent-relative way following the current inheritance hierarchy of that agent. For now it is allowed as a backdoor so that it can be assigned manually.
+
|Parent Topic= //This will be deprecated. It will be calculated automatically in an agent-relative way following the current inheritance hierarchy of that agent. For now it is allowed as a backdoor so that it can be assigned manually.
|Related Topics= //This will be deprecated. It will be calculated automatically in an agent-relative way following the current inheritance hierarchy of that agent.
+
|Related Topics= //This will be deprecated. It will be calculated automatically in an agent-relative way following the current inheritance hierarchy of that agent.
|Page Status=
+
|Page Status=
|Editor Notes=
+
|Editor Notes=
 +
|Sorting Order=
 
}}
 
}}
 
</pre>
 
</pre>
Line 62: Line 63:
 
  -->Page Status={{{Page Status|Stub}}}|<!--
 
  -->Page Status={{{Page Status|Stub}}}|<!--
 
  -->Editor Notes={{{Editor Notes|}}}|<!--
 
  -->Editor Notes={{{Editor Notes|}}}|<!--
 +
-->Sorting Order={{{Sorting Order|10000}}}|<!-- default is 10000
 
  -->Parent Topic={{{Parent Topic|}}}|<!-- this allows for a backdoor to assign parent topics manually  
 
  -->Parent Topic={{{Parent Topic|}}}|<!-- this allows for a backdoor to assign parent topics manually  
 
  -->Authors List={{{Authors List|}}}|<!--
 
  -->Authors List={{{Authors List|}}}|<!--
Line 89: Line 91:
 
  -->|<!--
 
  -->|<!--
 
   --><!-- the question is not given: calculate it from the formula
 
   --><!-- the question is not given: calculate it from the formula
   -->{{#vardefine: varQuestion|{{DecodeTextFormula|formula={{{Question Text Formula|}}}|subject={{{Subject|}}}|predicate={{{Predicate|}}}|object={{{Object Class}}}|}}}}<!--  
+
   -->{{#vardefine: varQuestion|{{DecodeTextFormula|formula={{{Question Text Formula|}}}|subject={{{Subject|}}}|predicate={{{Predicate|}}}|object={{{Object Class}}}|link=yes}}}}<!--  
 
-->}}<!-- if  
 
-->}}<!-- if  
 
--><!--
 
--><!--
Line 160: Line 162:
 
-->}}<!-- if inherited from
 
-->}}<!-- if inherited from
 
--><!--
 
--><!--
--><!--
+
 
 
--><!--
 
--><!--
 
--><!-- set the authors
 
--><!-- set the authors
Line 183: Line 185:
 
--><!--  
 
--><!--  
 
--><!-- set Has Accepted Answer and Has No Accepted Answer  
 
--><!-- set Has Accepted Answer and Has No Accepted Answer  
-->{{SetTopicHasAcceptedAnswer|topic={{FULLPAGENAME}}|subfield=Dynamics}}<!--  
+
-->{{SetTopicCurrentAnswer|topic={{FULLPAGENAME}}|subfield={{{Subfield|Dynamics}}}|}}<!--  
 
--><!--  
 
--><!--  
 
--><!-- Calculate completion rates for each major property
 
--><!-- Calculate completion rates for each major property
Line 205: Line 207:
 
-->{{#set: CR_Total={{#var:varCRtotal}} }}<!--  
 
-->{{#set: CR_Total={{#var:varCRtotal}} }}<!--  
 
--><!--
 
--><!--
-->  
+
--><p>{{#var: varQuestion}}</p><!--  
{{#var: varQuestion}}<!--  
+
 
 
-->{{PrintSectionVideos|page={{FULLPAGENAME}}|section=Description}}<!--
 
-->{{PrintSectionVideos|page={{FULLPAGENAME}}|section=Description}}<!--
-->{{#if: {{{Description|}}}|<nowiki/>
 
  
{{{Description|}}}  
+
-->{{#if: {{{Description|}}}|<p>{{{Description|}}}</p>}}<!--
}}
 
  
{{PrintTopicSubtitle|topic={{FULLPAGENAME}}|}}
+
--><p>{{PrintTopicSubtitle|topic={{FULLPAGENAME}}|}}&#32;<!--
{{PrintTopicCurrentlyAcceptedInCommunities|topic={{FULLPAGENAME}}|link=all|pretty=yes}}<!--
+
-->{{PrintTopicCurrentlyAcceptedInCommunities|topic={{FULLPAGENAME}}|link=all|pretty=yes}}<!--
-->{{PrintTopicAcceptedTheoriesList
+
-->{{PrintTopicAcceptedTheoriesFormulations<!--
  |topic={{FULLPAGENAME}}
+
  -->|topic={{FULLPAGENAME}}<!--
  |formulationtext=one
+
  -->|link=yes<!--  
|formulationfile=no
+
-->}}</p><!--  
|bullets=no
+
|linebreak=no
 
|communitiesfirst=no
 
|groupbycommunity=yes
 
}}<!--  
 
--><!--
 
 
-->{{#if:{{{Prehistory|}}}|<nowiki/>
 
-->{{#if:{{{Prehistory|}}}|<nowiki/>
 
==Broader History==
 
==Broader History==
Line 275: Line 270:
 
-->
 
-->
 
==Current View==
 
==Current View==
+
<!--
{{PrintTopicAcceptedTheoriesList
+
-->{{#if: {{{Current View|}}}|<p>{{{Current View|}}}<p>|}}<!--
  |topic={{FULLPAGENAME}}
+
--><!--
  |default=There is currently no accepted answer to this question.
+
--><!-- print the answers
  |formulationtext=two
+
--><!--
|formulationfile=yes
+
--><p>{{PrintTopicAcceptedTheoriesList<!--
|description=yes
+
  -->|topic={{FULLPAGENAME}}<!--
|bullets=no
+
  -->|default=There is currently no accepted answer to this question.<!--
|linebreak=yes
+
  -->|communitiesfirst=yes<!--
|communitiesfirst=yes
+
  -->|groupbycommunity=yes<!--
  |groupbycommunity=yes
+
-->}}</p>
}}<!--  
+
<!--
-->{{#if: {{{Current View|}}}|<nowiki/><br/>
+
--><!--
<nowiki/>
+
--><!-- print the answer details: description etc.
{{{Current View|}}}|}}
+
--><!--
 +
-->{{PrintTopicAcceptedTheoriesDetails|topic={{FULLPAGENAME}}|}}<!--
 +
-->
 
{{PrintTopicOpenQuestionsList
 
{{PrintTopicOpenQuestionsList
 
  |topic={{FULLPAGENAME}}
 
  |topic={{FULLPAGENAME}}

Latest revision as of 00:36, 28 February 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.}
|Heritable= {Yes, No}
|Inherited From= //the question that this question is inherited from
|Question Text Formula= //For heritable questions only.
|Question Title Formula= //For heritable questions only.
|Question Title= //Ignored for heritable questions.
|Question= //For non heritable questions only. For heritable questions, this is available to the editors only to use in cases when the text produced by the formula should be overridden. 
|Predicate= //Some text or a term registered in the encyclopedia
|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=
|Description=
|Authors List=
|Formulated Year=
|Academic Events=
|Prehistory= 
|History=
|Current View=
|Parent Topic= //This will be deprecated. It will be calculated automatically in an agent-relative way following the current inheritance hierarchy of that agent. For now it is allowed as a backdoor so that it can be assigned manually.
|Related Topics= //This will be deprecated. It will be calculated automatically in an agent-relative way following the current inheritance hierarchy of that agent.
|Page Status=
|Editor Notes=
|Sorting Order=
}}

Edit the page to see the template text.