Difference between revisions of "Temp"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
+
{{#ask:<!--  
 
+
   -->[[SubObjectCategory::Discipline Current Hierarchy]]<!--  
{{#vardefine: varDiscipline|Scientonomy}}<!--
+
   -->[[Community::Community:Scientonomy]]<!--  
   --><!-- get the topic page
+
  -->|?Discipline<!--  
  -->{{#vardefine: varTopic|{{FormatSubdisciplinesTopicTitle|discipline={{#var: varDiscipline}}|}}|}}<!--
+
  -->|root=Scientonomy<!--
  -->Topic: {{#var: varTopic}}
+
  -->|parent=Superdisciplines<!--
 
+
   -->|mainlabel=-<!--
<!--
+
  -->|format=tree<!--
  --><!-- get the list of the communities where the topic is accepted
+
  -->|sep=,<!--
  -->{{#arraydefine: varCommunities|{{PrintTopicCurrentlyAcceptedInCommunitiesList|topic={{#var: varTopic}}|link=none}}|,|unique}}<!--
+
  -->|link=all<!--
  -->{{#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: get the names of disjoint groups in the correct order
 
      -->{{#arraydefine: varGroups|{{PrintAcceptedDisjointGroupsList|discipline={{#var: varDiscipline}}|community=varCommunity}}|,|}}<!--
 
      --><!--
 
      --><!-- for each group, get the accepted theories
 
      -->{{#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
 
    --><!--
 
  -->}}
 
 
 
 
 
 
 
----
 
 
 
 
 
 
 
----
 
 
 
 
 
Year: {{#if: {{GetDatePropertyValuePart|object={{FULLPAGENAME}}|property=tempProp|part=Year|}}|{{GetDatePropertyValuePart|object={{FULLPAGENAME}}|property=tempProp|part=Year|}}|unassigned}}
 
 
 
Month: {{#if: {{GetDatePropertyValuePart|object={{FULLPAGENAME}}|property=tempProp|part=Month|}}|{{GetDatePropertyValuePart|object={{FULLPAGENAME}}|property=tempProp|part=Month|}}|unassigned}}
 
 
 
Day: {{#if: {{GetDatePropertyValuePart|object={{FULLPAGENAME}}|property=tempProp|part=Day|}}|{{GetDatePropertyValuePart|object={{FULLPAGENAME}}|property=tempProp|part=Day|}}|unassigned}}
 
 
 
{{SetDatePropertyValueFromDateString|property=tempProp2|datestring=0016 BC/08|reporterror=yes}}
 
  
 
__NOCACHE__
 
__NOCACHE__

Latest revision as of 13:01, 2 July 2024