Difference between revisions of "Temp"
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <!-- get the children | + | |
+ | |||
+ | {{#vardefine: varDiscipline|Scientonomy}}<!-- | ||
+ | --><!-- get the topic page | ||
+ | -->{{#vardefine: varTopic|{{FormatSubdisciplinesTopicTitle|discipline={{#var: varDiscipline}}|}}|}}<!-- | ||
+ | -->Topic: {{#var: varTopic}} | ||
+ | |||
+ | <!-- | ||
+ | --><!-- 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 | ||
+ | -->Communities: {{#arrayprint: varCommunities}} | ||
+ | |||
+ | {{#arrayprint: varCommunities||varCommunity<!-- | ||
+ | -->|<!-- | ||
+ | -->{{#arraydefine: varTheories|{{PrintTopicAnswerAcceptedInCommunity|topic={{#var: varTopic}}|community=varCommunity|link=none}}|,|}}<!-- | ||
+ | -->{{#arrayunique: varTheories}}<!-- remove duplicates and empty values | ||
+ | -->Theories: {{#arrayprint: varTheories}} | ||
+ | |||
+ | |||
+ | {{#ifexpr: {{#arraysize:varTheories}} = 0 <!-- check if the array exists | ||
+ | -->|<!-- | ||
+ | -->No claims found | ||
+ | |||
+ | <!-- no claims found: store a subobject leaving Disjoint Group, Disjoint Group Order, and Theory empty | ||
+ | -->{{#subobject:<!-- | ||
+ | -->|SubObjectCategory=Discipline Current Hierarchy<!-- | ||
+ | -->|Discipline={{#var: varDiscipline}}<!-- | ||
+ | -->|Topic={{#var: varTopic}}<!-- | ||
+ | -->|Question Type=Subdisciplines<!-- | ||
+ | -->|Community=varCommunity<!-- | ||
+ | -->|Disjoint Group=<!-- | ||
+ | -->|Disjoint Group Order=<!-- | ||
+ | -->|Theory=<!-- | ||
+ | -->|Subdisciplines=<!-- | ||
+ | -->}}<!-- subobject | ||
+ | --><!-- | ||
+ | -->|<!-- | ||
+ | -->Some claims are found | ||
+ | |||
+ | <!-- some claims are found: get the names of disjoint groups in the correct order | ||
+ | -->{{#arraydefine: varGroups|{{PrintAcceptedDisjointSubdisciplinesList|discipline={{#var: varDiscipline}}|community=varCommunity}}|,|}}<!-- | ||
+ | --><!-- | ||
+ | --><!-- for each group, get the accepted theories | ||
+ | -->Groups: {{#arrayprint: varGroups}} | ||
+ | |||
+ | {{#arrayprint: varGroups||varGroup<!-- | ||
+ | -->|<!-- | ||
+ | --><!-- | ||
+ | --><!-- get the children | ||
-->{{#arraydefine: arraySubdisciplines<!-- | -->{{#arraydefine: arraySubdisciplines<!-- | ||
-->|<!-- | -->|<!-- | ||
-->{{#ask:<!-- | -->{{#ask:<!-- | ||
-->[[SubObjectCategory::Acceptance Record]]<!-- | -->[[SubObjectCategory::Acceptance Record]]<!-- | ||
− | -->[[Community:: | + | -->[[Community::varCommunity]]<!-- |
-->[[Still Accepted::true]]<!-- | -->[[Still Accepted::true]]<!-- | ||
− | -->[[Topic:: | + | -->[[Topic::{{#var:varTopic}}]]<!-- |
− | -->[[Element.Disjoint Group:: | + | -->[[Element.Disjoint Group::varGroup]]<!-- |
-->|?Element.Child<!-- | -->|?Element.Child<!-- | ||
-->|mainlabel=-<!-- | -->|mainlabel=-<!-- | ||
Line 24: | Line 73: | ||
-->{{#ask:<!-- | -->{{#ask:<!-- | ||
-->[[SubObjectCategory::Acceptance Record]]<!-- | -->[[SubObjectCategory::Acceptance Record]]<!-- | ||
− | -->[[Community:: | + | -->[[Community::varCommunity]]<!-- |
-->[[Still Accepted::true]]<!-- | -->[[Still Accepted::true]]<!-- | ||
− | -->[[Topic:: | + | -->[[Topic::{{#var:varTopic}}]]<!-- |
− | -->[[Element.Disjoint Group:: | + | -->[[Element.Disjoint Group::varGroup]]<!-- |
-->|?Element<!-- | -->|?Element<!-- | ||
-->|mainlabel=-<!-- | -->|mainlabel=-<!-- | ||
Line 43: | Line 92: | ||
-->{{#subobject:<!-- | -->{{#subobject:<!-- | ||
-->|SubObjectCategory=Discipline Current Hierarchy<!-- | -->|SubObjectCategory=Discipline Current Hierarchy<!-- | ||
− | -->|Discipline= | + | -->|Discipline={{#var: varDiscipline}}<!-- |
− | -->|Topic= | + | -->|Topic={{#var: varTopic}}<!-- |
-->|Question Type=Subdisciplines<!-- | -->|Question Type=Subdisciplines<!-- | ||
− | -->|Community= | + | -->|Community=varCommunity<!-- |
− | -->|Disjoint Group= | + | -->|Disjoint Group=varGroup<!-- |
− | -->|Disjoint Group Order={{PrintDisjointGroupOrder|disjointgroup= | + | -->|Disjoint Group Order={{PrintDisjointGroupOrder|disjointgroup=varGroup}}<!-- |
-->|Theory={{#arrayprint: arraySubdisciplineTheories|,|@@@@|@@@@}}|+sep=,<!-- | -->|Theory={{#arrayprint: arraySubdisciplineTheories|,|@@@@|@@@@}}|+sep=,<!-- | ||
-->|Subdisciplines={{#arrayprint: arraySubdisciplines|,|@@@@|@@@@}}|+sep=,<!-- | -->|Subdisciplines={{#arrayprint: arraySubdisciplines|,|@@@@|@@@@}}|+sep=,<!-- | ||
− | -->}} | + | -->}}<!-- subobject |
+ | --><!-- | ||
+ | --><!-- | ||
+ | --><!-- | ||
+ | -->}}<!-- arrayprint group | ||
+ | --><!-- | ||
+ | -->}}<!-- ifexp | ||
+ | --><!-- | ||
+ | -->}} | ||
+ | |||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | |||
---- | ---- |
Latest revision as of 09:46, 30 June 2024
Topic: Subdisciplines of Scientonomy
Communities: Community:Scientonomy
Theories: Theoretical Scientonomy Is a Subdiscipline of Scientonomy
Some claims are found
Groups: Main
Year: unassigned
Month: unassigned
Day: unassigned
Property "TempProp2 Year" (as page type) with input value "Error: Invalid time." contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.Property "TempProp2 Month" (as page type) with input value "Error: Invalid time." contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.Property "TempProp2" (as page type) with input value "Error: Invalid time." contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.