Open main menu

Changes

4,300 bytes removed ,  17:07, 26 December 2022
no edit summary
{{PrintDisjointGroupOrder|disjointgroup=None}}
{{PrintDisjointGroupOrder|disjointgroup=Sone group}}
 
{{PrintDisjointGroupOrder|disjointgroup=Main}}
 
{{#vardefine: varTerm|Epistemic Element}}<!--
--><!-- get the topic page
-->{{#vardefine: varTopic|{{FormatSubtypesTopicTitle|term={{#var: varTerm}}|}}|}}<!--
--><!--
--><!-- get the list of the communities where the topic is accepted
-->{{#arraydefine: varCommunities|{{PrintTopicCurrentlyAcceptedInCommunitiesList|topic={{#var: varTopic}}|link=none}}|,|unique}}<!--
-->{{#arrayunique: varCommunities}}<!-- remove duplicates and empty values
-->{{#arrayprint: varCommunities||varCommunity<!--
-->|<!--
-->{{#arraydefine: varTheories|{{PrintTopicAnswerAcceptedInCommunity|topic={{#var: varTopic}}|community=varCommunity|link=none}}|,|}}<!--
-->{{#arrayunique: varTheories}}<!-- remove duplicates and empty values
-->{{#ifexpr: {{#arraysize:varTheories}} = 0 <!-- check if the array exists
-->|<!--
--><!-- no claims found: store a subobject leaving Disjoint Group, Disjoints, and theory empty
-->{{#subobject:<!--
-->|SubObjectCategory=Topic Current Ontology<!--
-->|Term={{#var: varTerm}}<!--
-->|Topic={{#var: varTopic}}<!--
-->|Ontological Question Type=Subtypes<!--
-->|Community=varCommunity<!--
-->|Disjoint Group=<!--
-->|Disjoint Group Order=<!--
-->|Theory=<!--
-->|Subtypes=<!--
-->}}<!-- subobject
--><!--
-->|<!--
--><!-- some claims are found: get the names of disjoint groups in the correct order
-->{{#arraydefine: varGroups|{{PrintAcceptedDisjointGroupsList|term={{#var: varTerm}}|community=varCommunity}}|,|}}<!--
--><!--
--><!-- for each group, get the accepted theories
-->{{#arrayprint: varGroups||varGroup<!--
-->|<!--
--><!-- get the group order
--><!-- TODO HERE
--><!--
--><!-- get the children
-->{{#arraydefine: arraySubtypes<!--
-->|<!--
-->{{#ask:<!--
-->[[SubObjectCategory::Acceptance Record]]<!--
-->[[Community::varCommunity]]<!--
-->[[Still Accepted::true]]<!--
-->[[Topic::{{#var:varTopic}}]]<!--
-->[[Element.Disjoint Group::varGroup]]<!--
-->|?Element.Child<!--
-->|mainlabel=-<!--
-->|headers=hide<!--
-->|sort=Element.Child<!--
-->|order=asc<!--
-->|link=none<!--
-->|limit=10000<!--
-->}}<!--
-->| , |unique<!--
-->}}<!-- arraydefine subtypes
--><!--
--><!-- get the theories
-->{{#arraydefine: arraySubtypeTheories<!--
-->|<!--
-->{{#ask:<!--
-->[[SubObjectCategory::Acceptance Record]]<!--
-->[[Community::varCommunity]]<!--
-->[[Still Accepted::true]]<!--
-->[[Topic::{{#var:varTopic}}]]<!--
-->[[Element.Disjoint Group::varGroup]]<!--
-->|?Element<!--
-->|mainlabel=-<!--
-->|headers=hide<!--
-->|sort=Element.Child<!--
-->|order=asc<!--
-->|link=none<!--
-->|limit=10000<!--
-->}}<!--
-->| , |unique<!--
-->}}<!-- arraydefine theories
--><!--
-->
 
{{#arrayprint: arraySubtypeTheories |,|@@@@|@@@@}}
 
{{#arrayprint: arraySubtypes|,|@@@@|@@@@}}
 
<!--
--><!-- store the subobject
--><!-- store the subobject
-->{{#subobject:<!--
-->|SubObjectCategory=Topic Current Ontology<!--
-->|Term={{#var: varTerm}}<!--
-->|Topic={{#var: varTopic}}<!--
-->|Ontological Question Type=Subtypes<!--
-->|Community=varCommunity<!--
-->|Disjoint Group=varGroup<!--
-->|Disjoint Group Order=<!--
-->|Theory={{#arrayprint: arraySubtypeTheories|,|@@@@|@@@@}}|+sep=,<!--
-->|Subtypes={{#arrayprint: arraySubtypes|,|@@@@|@@@@}}|+sep=,<!--
-->}}<!-- subobject
--><!--
--><!--
--><!--
-->}}<!-- arrayprint group
--><!--
-->}}<!-- ifexp
--><!--
-->}}<!-- arrayprint community
-->
 
{{#ask:<!--