Difference between revisions of "Template:SetTermOntologySubtypes"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
Tags: Mobile edit Mobile web edit
 
(2 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
* <code><nowiki>SubObjectCategory</nowiki></code> = "Topic Current Ontology".
 
* <code><nowiki>SubObjectCategory</nowiki></code> = "Topic Current Ontology".
 
* <code><nowiki>Community</nowiki></code> - the community that accepts the theory.
 
* <code><nowiki>Community</nowiki></code> - the community that accepts the theory.
* <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 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> - Disjointness
+
* <code><nowiki>Ontological Question Type</nowiki></code> - Subtypes
 
* <code><nowiki>Disjoint Group</nowiki></code> - the name of disjoint group.
 
* <code><nowiki>Disjoint Group</nowiki></code> - the name of disjoint group.
 
* <code><nowiki>Theory</nowiki></code> - the pages for the respective theories for ease of access (uses <code><nowiki>|+sep=,</nowiki></code>).
 
* <code><nowiki>Theory</nowiki></code> - the pages for the respective theories for ease of access (uses <code><nowiki>|+sep=,</nowiki></code>).
Line 53: Line 53:
 
       -->{{#arrayprint: varGroups||varGroup<!--
 
       -->{{#arrayprint: varGroups||varGroup<!--
 
       -->|<!--  
 
       -->|<!--  
        --><!-- get the group order
 
        --><!-- TODO HERE
 
 
         --><!--  
 
         --><!--  
 
         --><!-- get the children
 
         --><!-- get the children

Latest revision as of 16:19, 31 December 2022

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

For each community where the term is currently accepted, the template searches for subtype claims, groups these claims by their Disjoint Group, and then for each group as well as each ungrouped claim 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 the page for the respective ontological question.
  • Topic - the page for the respective ontological question for ease of access.
  • Ontological Question Type - Subtypes
  • Disjoint Group - the name of disjoint group.
  • Theory - the pages for the respective theories for ease of access (uses |+sep=,).
  • Subtypes - a comma separated list of children 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.