Difference between revisions of "Temp"
(19 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{# | + | {{#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: | + | {{#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<!-- | ||
+ | -->|<!-- | ||
+ | -->{{#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 arraySubdisciplines | ||
+ | --><!-- | ||
+ | --><!-- get the theories | ||
+ | -->{{#arraydefine: arraySubdisciplineTheories<!-- | ||
+ | -->|<!-- | ||
+ | -->{{#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 | ||
+ | --><!-- | ||
+ | --><!-- | ||
+ | --><!-- store the subobject | ||
+ | -->{{#subobject:<!-- | ||
+ | -->|SubObjectCategory=Discipline Current Hierarchy<!-- | ||
+ | -->|Discipline={{#var: varDiscipline}}<!-- | ||
+ | -->|Topic={{#var: varTopic}}<!-- | ||
+ | -->|Question Type=Subdisciplines<!-- | ||
+ | -->|Community=varCommunity<!-- | ||
+ | -->|Disjoint Group=varGroup<!-- | ||
+ | -->|Disjoint Group Order={{PrintDisjointGroupOrder|disjointgroup=varGroup}}<!-- | ||
+ | -->|Theory={{#arrayprint: arraySubdisciplineTheories|,|@@@@|@@@@}}|+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.