Difference between revisions of "Template:Ontological Topic"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
 
(35 intermediate revisions by the same user not shown)
Line 8: Line 8:
 
|Ontological Question Type=
 
|Ontological Question Type=
 
|Description=
 
|Description=
|Authors List=
 
|Formulated Year=
 
|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.
 
|Related Topics=
 
|Related Topics=
 
|Page Status=
 
|Page Status=
 
|Editor Notes=
 
|Editor Notes=
 +
|Sorting Order=
 
}}
 
}}
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 
</noinclude><includeonly><!--
 
</noinclude><includeonly><!--
-->{{#set:Term={{{Term|}}}|Ontological Question Type={{{Ontological Question Type|}}}|Formulated Year={{{Formulated Year|}}}|Page Status={{{Page Status|Stub}}}|Editor Notes={{{Editor Notes|}}}|Authors List={{{Authors List|}}}|Topic Type=Descriptive|Order=1|}}<!--
 
 
--><!--
 
--><!--
--><!-- construct the question
+
-->{{#set:Term={{{Term|}}}|<!--
 +
-->Title={{PAGENAME}}|<!--
 +
-->Ontological Question Type={{{Ontological Question Type|}}}|<!--
 +
-->Parent Topic={{{Parent Topic|}}}|<!--
 +
-->Page Status={{{Page Status|Stub}}}|<!--
 +
-->Editor Notes={{{Editor Notes|}}}|<!--
 +
-->Topic Type=Descriptive|<!--
 +
-->Sorting Order={{{Sorting Order|10000}}}|<!-- default is 10000
 +
-->Subfield=Ontology|<!--
 +
-->Order=1|<!--
 +
-->}}<!--
 +
--><!--
 +
 
 +
--><!-- construct the question and answer formula's
 +
--><!--
 
-->{{#switch: {{{Ontological Question Type|}}}<!--
 
-->{{#switch: {{{Ontological Question Type|}}}<!--
  -->|Existence={{#vardefine: varQuestion|Does {{lc:{{{Term|}}}|}} exist within the scientonomic domain?|}}<!--  
+
  -->|Existence=<!--
  -->|Subtypes={{#vardefine: varQuestion|What are the subtypes of {{lc:{{{Term|}}}|}}?|}}<!--
+
  --><!--
  -->|Supertypes={{#vardefine: varQuestion|What are the supertypes of {{lc:{{{Term|}}}|}}?|}}<!--
+
  -->{{#vardefine: varQuestion|Does {{PrintTermAnASingularLowercase|{{{Term|}}}|link}} exist?|}}<!--
  -->|Associations={{#vardefine: varQuestion|How is {{lc:{{{Term|}}}|}} associated with other classes? What aggregation, composition, or other association relations exist between this class and other classes?|}}<!--
+
  -->{{#vardefine: varSingleAnswerFormula|<Subject> <object>.}}<!--
 +
  -->{{#vardefine: varMultipleAnswerFormula|<Subject> both exists and doesn't exist. Situations like this shouldn't happen, unless it is a Schrödinger's cat.}}<!--
 +
  --><!--
 +
-->|Disjointness=<!--
 +
  --><!--
 +
  -->{{#vardefine: varQuestion|What other classes is the class of {{PrintTermSingularLowercase|{{{Term|}}}|link}} disjoint with, i.e. classes that don't share any instances with {{PrintTermSingularLowercase|{{{Term|}}}|link}}?|}}<!--
 +
  -->{{#vardefine: varSingleAnswerFormula|The classes of <subject> are disjoint; they cannot have shared instances.}}<!--
 +
  -->{{#vardefine: varMultipleAnswerFormula|}}<!-- no multiple formula for disjointness
 +
  --><!--  
 +
  -->|Subtypes=<!--
 +
  --><!--
 +
  -->{{#vardefine: varQuestion|What are the subtypes of {{PrintTermAnASingularLowercase|{{{Term|}}}|link}}?|}}<!--
 +
  -->{{#vardefine: varSingleAnswerFormula|<Object> is a subtype of <subject>.}}<!--
 +
  -->{{#vardefine: varMultipleAnswerFormula|The subtypes of <subject> are <object>.}}<!--
 +
  --><!--
 +
  -->|Supertypes=<!--
 +
  --><!--
 +
  -->{{#vardefine: varQuestion|What are the supertypes of {{PrintTermAnASingularLowercase|{{{Term|}}}|link}}?|}}<!--
 +
  -->{{#vardefine: varSingleAnswerFormula|<Subject> is a supertype of <object>.}}<!--
 +
  -->{{#vardefine: varMultipleAnswerFormula|The supertypes of <object> are <subject>.}}<!--
 +
  --><!--
 +
  -->|Associations=<!--
 +
  --><!--
 +
  -->{{#vardefine: varQuestion|How is the class of {{PrintTermSingularLowercase|{{{Term|}}}|link}} associated with other classes (and itself)? What aggregation, composition, or other association relations can exist between {{PrintTermPluralLowercase|{{{Term|}}}|link}}, as well as between {{PrintTermAnASingularLowercase|{{{Term|}}}|link}} and instances of other classes?|}}<!--
 +
  -->{{#vardefine: varSingleAnswerFormula|<An object> is <a predicate> <a subject>.}}<!--
 +
  -->{{#vardefine: varMultipleAnswerFormula|}}<!-- no multiple answer formula for associations
 +
  --><!--
 
-->}}<!-- switch
 
-->}}<!-- switch
--><!-- now save the question
+
 
-->{{#set:Question={{#var:varQuestion}}|}}<!--
+
--><!-- now save the question and the formulas
 +
-->{{#set:<!--
 +
-->Question={{#var: varQuestion}}|<!--
 +
-->Single Answer Text Formula={{#var: varSingleAnswerFormula}}|<!--
 +
-->Multiple Answers Text Formula={{#var: varMultipleAnswerFormula}}|<!--
 +
-->}}<!--
 +
--><!--
 +
 
 +
--><!-- get the formulated year the authors and from the term page and sync
 +
-->{{#vardefine: varFormulatedYear|{{#show:{{{Term|}}}|?Formulated Year|link=none}}|}}<!--
 +
-->{{#vardefine: varAuthorsList|{{#show:{{{Term|}}}|?Authors List|link=none}}|}}<!--
 +
-->{{#set:Authors List={{#var:varAuthorsList}}|Formulated Year={{#var:varFormulatedYear}}|}}<!--  
 
--><!--
 
--><!--
 
--><!-- set the authors
 
--><!-- set the authors
-->{{#arraydefine:authorsArray|{{{Authors List|}}}|,|}}<!--
+
-->{{#arraydefine:authorsArray|{{#var:varAuthorsList}}|,|}}<!--
 
-->{{#arrayunique:authorsArray}}<!--
 
-->{{#arrayunique:authorsArray}}<!--
 
-->{{#arrayprint:authorsArray||@@@@|{{#set:Has Author=@@@@}}|}}<!--
 
-->{{#arrayprint:authorsArray||@@@@|{{#set:Has Author=@@@@}}|}}<!--
Line 57: Line 106:
 
-->{{#arrayunique: communitiesArray}}<!-- remove duplicates and empty values
 
-->{{#arrayunique: communitiesArray}}<!-- remove duplicates and empty values
 
-->{{#arrayprint: communitiesArray||@@@@|{{#set: Accepted By=@@@@}}|}}<!--
 
-->{{#arrayprint: communitiesArray||@@@@|{{#set: Accepted By=@@@@}}|}}<!--
 +
--><!--
 +
--><!-- sync the acceptance records with that of the term
 +
-->{{SyncAcceptanceRecords|source={{{Term|}}}|target={{FULLPAGENAME}}|}}<!--
 
--><!--  
 
--><!--  
 
--><!-- set Has Accepted Answer and Has No Accepted Answer  
 
--><!-- set Has Accepted Answer and Has No Accepted Answer  
-->{{SetTopicHasAcceptedAnswer|topic={{FULLPAGENAME}}|}}<!--  
+
-->{{SetTopicCurrentAnswer|topic={{FULLPAGENAME}}|subfield=Ontology}}<!--
 +
--><!--
 +
--><!-- save the current Ontology for ease of access
 +
-->{{#switch: {{{Ontological Question Type|}}}<!--
 +
-->|Existence={{SetTermOntologyExistence|term={{{Term|}}}|}}<!--
 +
-->|Disjointness={{SetTermOntologyDisjointness|term={{{Term|}}}|}}<!--
 +
-->|Subtypes={{SetTermOntologySubtypes|term={{{Term|}}}|}}<!--
 +
-->|Supertypes={{SetTermOntologySupertypes|term={{{Term|}}}|}}<!--
 +
-->|Associations={{SetTermOntologyAssociations|term={{{Term|}}}|}}<!--
 +
-->}}<!-- switch
 
--><!--  
 
--><!--  
 
--><!-- Calculate completion rates for each major property
 
--><!-- Calculate completion rates for each major property
Line 84: Line 145:
 
{{#var: varQuestion}} <!--
 
{{#var: varQuestion}} <!--
 
-->{{PrintSectionVideos|page={{FULLPAGENAME}}|section=Description}}<!--
 
-->{{PrintSectionVideos|page={{FULLPAGENAME}}|section=Description}}<!--
-->{{#if: {{{Description|}}}|<nowiki/>
+
-->{{#if: {{{Description|}}}|<p>{{{Description|}}}</p>}}<!--
 
 
{{{Description|}}}  
 
}}
 
  
{{PrintTopicSubtitle|topic={{FULLPAGENAME}}|}}
+
--><p>{{PrintTopicSubtitle|topic={{FULLPAGENAME}}|}}&#32;<!--
{{PrintTopicCurrentlyAcceptedInCommunities|topic={{FULLPAGENAME}}|link=all|pretty=yes}}<!--
+
-->{{PrintTopicCurrentlyAcceptedInCommunities|topic={{FULLPAGENAME}}|link=all|pretty=yes}}<!--
-->{{PrintTopicAcceptedTheoriesList
+
-->{{PrintOntologicalTopicAcceptedTheoriesList
 
  |topic={{FULLPAGENAME}}
 
  |topic={{FULLPAGENAME}}
  |formulationtext=yes
+
  |default=&#32;There is currently no accepted answer to this question.
|formulationfile=no
+
  |bullets=yes
  |bullets=no
 
 
  |linebreak=no
 
  |linebreak=no
 
  |communitiesfirst=no
 
  |communitiesfirst=no
|groupbycommunity=yes
+
}}</p><!--
}}<!--  
+
 
-->{{PrintTopicHasNoAcceptedAnswer|topic={{FULLPAGENAME}}|intro=&#32;At the moment, the question has no accepted answer in&#32;|outro=<nowiki>.</nowiki>|link=all|pretty=yes}}<!--
+
--><p>&#32;</p><!--
 +
 
 +
--><!--
 
-->{{#if:{{{Prehistory|}}}|<nowiki/>
 
-->{{#if:{{{Prehistory|}}}|<nowiki/>
==Prehistory==
+
==Broader History==
 
<div class="mw-collapsible mw-collapsed">
 
<div class="mw-collapsible mw-collapsed">
 
{{PrintSectionVideos|page={{FULLPAGENAME}}|section=Prehistory}}
 
{{PrintSectionVideos|page={{FULLPAGENAME}}|section=Prehistory}}
 
{{{Prehistory|}}}
 
{{{Prehistory|}}}
 
</div>}}
 
</div>}}
==History==
+
==Scientonomic History==
 
{{PrintSectionVideos|page={{FULLPAGENAME}}|section=History}}
 
{{PrintSectionVideos|page={{FULLPAGENAME}}|section=History}}
 
{{{History|}}}
 
{{{History|}}}
Line 123: Line 182:
 
-->{{PrintTopicTheories<!--
 
-->{{PrintTopicTheories<!--
 
  -->|topic={{FULLPAGENAME}}<!--
 
  -->|topic={{FULLPAGENAME}}<!--
  -->|intro=As this is a binary question, it can only have two answers - positive and negative. The following answers have been added to this encyclopedia:<!--
+
  -->|intro=The following answers have been added to this encyclopedia:<!--
  -->|default=No answer to this question has been added to the encyclopedia.<!--
+
  -->|default=No answer to this question has been added to the encyclopedia.&#32;<!--
 
-->}}<!--
 
-->}}<!--
 
--><!--
 
--><!--
 
-->
 
-->
 
{{#switch: {{{Ontological Question Type|}}}<!--
 
{{#switch: {{{Ontological Question Type|}}}<!--
  -->|Existence=To add/edit the positive answer to the question, <!--
+
  -->|Existence=<!--
 +
  --><!--
 
   -->{{#ifexist: {{{Term|}}} Exists<!--
 
   -->{{#ifexist: {{{Term|}}} Exists<!--
   --> |[[{{{Term|}}} Exists|click here]] <!--
+
    -->|<!--
  --> |{{#formlink:form=Existence Theory|link text=click here|query string=Term={{FULLPAGENAME}}&QuestionType=Existence}}
+
    -->|To add the positive answer to the question, {{#formlink:form=Existence Theory|link text=click here|query string=Topic={{FULLPAGENAME}}&Existence=Exists}}.&#32;<!--
}}
+
   -->}}<!-- if exists
 
+
  --><!--
If a theory concerning the existence of {{lc:{{{Term|}}}|}} is missing, please {{#formlink:form=Existence Theory|link text=click here to add it|query string=Existence Theory[Term]={{{Term|}}}&Existence Theory[Topic]={{FULLPAGENAME}}|}}.<!--  
+
  -->{{#ifexist: {{{Term|}}} Does Not Exist<!--
  -->|Subtypes=If a theory concerning the subtypes of {{lc:{{{Term|}}}|}} is missing, please {{#formlink:form=Inheritance Theory|link text=click here to add it|query string=Inheritance Theory[Parent]={{{Term|}}}&Inheritance Theory[Topic]={{FULLPAGENAME}}|}}.<!--
+
    -->|<!--
  -->|Supertypes=If a theory concerning the supertypes of {{lc:{{{Term|}}}|}} is missing, please {{#formlink:form=Inheritance Theory|link text=click here to add it|query string=Inheritance Theory[Child]={{{Term|}}}&Inheritance Theory[Topic]={{FULLPAGENAME}}|}}.<!--
+
    -->|To add the negative answer to the question, {{#formlink:form=Existence Theory|link text=click here|query string=Topic={{FULLPAGENAME}}&Existence=Does Not Exist}}.&#32;<!--
  -->|Associations=If a theory concerning the associations of {{lc:{{{Term|}}}|}} is missing, please {{#formlink:form=Inheritance Theory|link text=click here to add it|query string=Inheritance Theory[Class1]={{{Term|}}}&Inheritance Theory[Topic]={{FULLPAGENAME}}|}}.<!--
+
  -->}}<!-- if exists
 +
  --><!--
 +
  --><!--
 +
-->|Disjointness=If a theory stating the disjointness of {{PrintTermSingularLowercase|{{{Term|}}}|}} with other classes is missing, please {{#formlink:form=Disjointness Theory|link text=click here to add it|query string=Term={{{Term|}}}|}}.<!--
 +
  --><!--  
 +
  -->|Subtypes=If a theory concerning the subtypes of {{PrintTermAnASingularLowercase|{{{Term|}}}|}} is missing, please {{#formlink:form=Inheritance Theory|link text=click here to add it|query string=Parent={{{Term|}}}|}}.<!--
 +
  -->|Supertypes=If a theory concerning the supertypes of {{PrintTermAnASingularLowercase|{{{Term|}}}|}} is missing, please {{#formlink:form=Inheritance Theory|link text=click here to add it|query string=Child={{{Term|}}}|}}.<!--
 +
  -->|Associations=If a theory concerning the associations of {{PrintTermAnASingularLowercase|{{{Term|}}}|}} is missing, please {{#formlink:form=Association Theory|link text=click here to add it|query string=Term={{{Term|}}}|}}.<!--
 
-->}}<!-- switch
 
-->}}<!-- switch
 
--></div><!--
 
--></div><!--
Line 162: Line 229:
 
-->
 
-->
 
==Current View==
 
==Current View==
+
<!--
{{PrintTopicAcceptedTheoriesList
+
-->{{#if: {{{Current View|}}}|<p>{{{Current View|}}}<p>|}}<!--
 +
--><!--
 +
--><!-- print the answers
 +
--><!--
 +
--><p>{{PrintOntologicalTopicAcceptedTheoriesList
 
  |topic={{FULLPAGENAME}}
 
  |topic={{FULLPAGENAME}}
  |default=There is currently no accepted answer to this question.
+
  |default=There is currently no accepted view concerning the {{lc:{{{Ontological Question Type|}}}|}} of {{FULLPAGENAME}}.
|formulationtext=yes
+
  |bullets=yes
|formulationfile=yes
 
  |description=yes
 
|bullets=no
 
 
  |linebreak=yes
 
  |linebreak=yes
 
  |communitiesfirst=yes
 
  |communitiesfirst=yes
}}<!--  
+
}}</p>
-->{{#if: {{{Current View|}}}|<nowiki/><br/>
+
<!--
<nowiki/>
+
--><!--
{{{Current View|}}}|}}
+
--><!-- print the answer details: description etc.
 +
--><!--
 +
-->{{PrintTopicAcceptedTheoriesDetails|topic={{FULLPAGENAME}}|}}<!--
 +
-->
 
{{PrintTopicOpenQuestionsList
 
{{PrintTopicOpenQuestionsList
 
  |topic={{FULLPAGENAME}}
 
  |topic={{FULLPAGENAME}}

Latest revision as of 00:35, 28 February 2023

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).

It should be called in the following format:

{{Ontological Topic
|Term=
|Ontological Question Type=
|Description=
|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=
|Page Status=
|Editor Notes=
|Sorting Order=
}}

Edit the page to see the template text.