Difference between revisions of "Template:SetTermOntologyDisjointness"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
Line 7: Line 7:
 
* <code><nowiki>Term</nowiki></code> - the term page. Note that this should be the definitional topic page, not its the page for the respective ontological question.
 
* <code><nowiki>Term</nowiki></code> - the term page. Note that this should be the definitional topic page, not its the page for the respective ontological question.
 
* <code><nowiki>Topic</nowiki></code> - the page for the respective ontological question for ease of access.
 
* <code><nowiki>Topic</nowiki></code> - the page for the respective ontological question for ease of access.
* <code><nowiki>Ontological Question Type</nowiki></code> - Existence
+
* <code><nowiki>Ontological Question Type</nowiki></code> - Disjointness
 
* <code><nowiki>Theory</nowiki></code> - the page for the accepted theory for ease of access.
 
* <code><nowiki>Theory</nowiki></code> - the page for the accepted theory for ease of access.
* <code><nowiki>Existence</nowiki></code> - Exists, Does Not Exist, left empty if no acceptance record for an existence claim is found.
+
* <code><nowiki>Dijoints</nowiki></code> - a comma separated list of disjoint classes (uses <code><nowiki>|+sep=,</nowiki></code>).
  
 
'''NOTE:''' As any "set" template, it doesn't print anything on the page, but merely sets the appropriate values.
 
'''NOTE:''' As any "set" template, it doesn't print anything on the page, but merely sets the appropriate values.
Line 20: Line 20:
 
  -->|<!--  
 
  -->|<!--  
 
   --><!-- get the topic page
 
   --><!-- get the topic page
   -->{{#vardefine: varTopic|{{FormatExistenceTopicTitle|term={{{term|}}}|}}|}}<!--
+
   -->{{#vardefine: varTopic|{{FormatDisjointnessTopicTitle|term={{{term|}}}|}}|}}<!--
 
   --><!--  
 
   --><!--  
 
   --><!-- get the list of the communities where the topic is accepted  
 
   --><!-- get the list of the communities where the topic is accepted  
Line 31: Line 31:
 
     -->{{#switch: {{#arraysize:varTheories}}<!-- check if the array exists
 
     -->{{#switch: {{#arraysize:varTheories}}<!-- check if the array exists
 
     -->|0=<!--
 
     -->|0=<!--
       --><!-- no claims found: store a subobject leaving Existence empty
+
       --><!-- no claims found: store a subobject leaving Disjoints empty
 
       -->{{#subobject:<!--  
 
       -->{{#subobject:<!--  
 
       -->|SubObjectCategory=Topic Current Ontology<!--  
 
       -->|SubObjectCategory=Topic Current Ontology<!--  
 
       -->|Term={{{term|}}}<!--  
 
       -->|Term={{{term|}}}<!--  
 
       -->|Topic={{#var: varTopic}}<!--  
 
       -->|Topic={{#var: varTopic}}<!--  
       -->|Ontological Question Type=Existence<!--  
+
       -->|Ontological Question Type=Disjointness<!--  
 
       -->|Community=varCommunity<!--  
 
       -->|Community=varCommunity<!--  
 
       -->|Theory=<!--  
 
       -->|Theory=<!--  
       -->|Existence=<!--  
+
       -->|Disjoints=<!--  
 
       -->}}<!-- subobject
 
       -->}}<!-- subobject
 
       --><!--
 
       --><!--
Line 51: Line 51:
 
       -->|Term={{{term|}}}<!--  
 
       -->|Term={{{term|}}}<!--  
 
       -->|Topic={{#var: varTopic}}<!--  
 
       -->|Topic={{#var: varTopic}}<!--  
       -->|Ontological Question Type=Existence<!--  
+
       -->|Ontological Question Type=Disjointness<!--  
 
       -->|Community=varCommunity<!--  
 
       -->|Community=varCommunity<!--  
 
       -->|Theory={{#var: varTheory}}<!--  
 
       -->|Theory={{#var: varTheory}}<!--  
       -->|Existence={{#show: {{#var: varTheory}}|?Existence|link=none}}<!--  
+
       -->|Disjoints={{#show: {{#var: varTheory}}|?Disjoint Classes|link=none}}|+sep=,<!--  
 
       -->}}<!-- subobject
 
       -->}}<!-- subobject
 
       --><!--
 
       --><!--

Revision as of 18:38, 24 December 2022

This template is used to save the currently accepted existence claims of the given class.

For each community where the term is currently accepted, the template searches for existence claims, and if a theory is found, creates a subobject with the following properties:

  • SubObjectCategory = "Topic Current Ontology".
  • Community - the community that accepts the theory.
  • Term - the term page. Note that this should be the definitional topic page, not its the page for the respective ontological question.
  • Topic - the page for the respective ontological question for ease of access.
  • Ontological Question Type - Disjointness
  • Theory - the page for the accepted theory for ease of access.
  • Dijoints - a comma separated list of disjoint classes (uses |+sep=,).

NOTE: As any "set" template, it doesn't print anything on the page, but merely sets the appropriate values.

Parameters:

  • |term= - the term page.