Difference between revisions of "Template:SetDisciplineCoreQuestions"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
  
 
For each community where the discipline has core questions, the template searches for core question claims and, if found, creates subobjects (one for each association claim) with the following properties:
 
For each community where the discipline has core questions, the template searches for core question claims and, if found, creates subobjects (one for each association claim) with the following properties:
* <code><nowiki>SubObjectCategory</nowiki></code> = "Discipline Core Questions".
+
* <code><nowiki>SubObjectCategory</nowiki></code> = "Discipline Core Question".
 
* <code><nowiki>Community</nowiki></code> - the community.
 
* <code><nowiki>Community</nowiki></code> - the community.
 
* <code><nowiki>Discipline</nowiki></code> - the discipline.
 
* <code><nowiki>Discipline</nowiki></code> - the discipline.
 
* <code><nowiki>Theory</nowiki></code> - the page for the accepted core question claim.
 
* <code><nowiki>Theory</nowiki></code> - the page for the accepted core question claim.
* <code><nowiki>Question</nowiki></code> - the core questions (topic page) for ease of access.
+
* <code><nowiki>Core Question</nowiki></code> - the core question (topic page) for ease of access.
 
* <code><nowiki>Sorting Order</nowiki></code> - the sorting order of the question.
 
* <code><nowiki>Sorting Order</nowiki></code> - the sorting order of the question.
 
* <code><nowiki>Completeness</nowiki></code> - {None, Complete, Partial}.
 
* <code><nowiki>Completeness</nowiki></code> - {None, Complete, Partial}.
Line 31: Line 31:
 
       --><!-- no claims found: store an empty subobject
 
       --><!-- no claims found: store an empty subobject
 
       -->{{#subobject:<!--  
 
       -->{{#subobject:<!--  
       -->|SubObjectCategory=Discipline Core Questions<!--  
+
       -->|SubObjectCategory=Discipline Core Question<!--  
 
       -->|Discipline={{{discipline|}}}<!--  
 
       -->|Discipline={{{discipline|}}}<!--  
 
       -->|Community=varCommunity<!--  
 
       -->|Community=varCommunity<!--  
 
       -->|Theory=<!--  
 
       -->|Theory=<!--  
       -->|Question=<!--
+
       -->|Core Question=<!--
 
       -->|Sorting Order=<!--
 
       -->|Sorting Order=<!--
 
       -->|Completeness=None<!--  
 
       -->|Completeness=None<!--  
Line 48: Line 48:
 
         --><!-- get the question and the sorting order
 
         --><!-- get the question and the sorting order
  
         -->{{#vardefine: varQuestion|{{#show: varTheory|?Question|link=none}}}}<!--
+
         -->{{#vardefine: varCoreQuestion|{{#show: varTheory|?Core Question|link=none}}}}<!--
         -->{{#vardefine: varSortingOrder|{{#show: {{#var:varQuestion}}|?Sorting Order|link=none}}}}<!--
+
         -->{{#vardefine: varSortingOrder|{{#show: {{#var:varCoreQuestion}}|?Sorting Order|link=none}}}}<!--
  
 
         --><!-- store the subobject
 
         --><!-- store the subobject
  
 
         -->{{#subobject:<!--  
 
         -->{{#subobject:<!--  
         -->|SubObjectCategory=Discipline Core Questions<!--  
+
         -->|SubObjectCategory=Discipline Core Question<!--  
 
         -->|Discipline={{{discipline|}}}<!--  
 
         -->|Discipline={{{discipline|}}}<!--  
 
         -->|Community=varCommunity<!--  
 
         -->|Community=varCommunity<!--  
 
         -->|Theory=varTheory<!--  
 
         -->|Theory=varTheory<!--  
         -->|Question={{#var: varQuestion}}<!--  
+
         -->|Core Question={{#var: varCoreQuestion}}<!--  
 
         -->|Sorting Order={{#var: varSortingOrder}}<!--
 
         -->|Sorting Order={{#var: varSortingOrder}}<!--
 
         -->|Completeness=Partial<!--  
 
         -->|Completeness=Partial<!--  

Latest revision as of 07:02, 30 June 2024

This template is used to save the currently accepted core question claims of the given discipline.

For each community where the discipline has core questions, the template searches for core question claims and, if found, creates subobjects (one for each association claim) with the following properties:

  • SubObjectCategory = "Discipline Core Question".
  • Community - the community.
  • Discipline - the discipline.
  • Theory - the page for the accepted core question claim.
  • Core Question - the core question (topic page) for ease of access.
  • Sorting Order - the sorting order of the question.
  • Completeness - {None, Complete, Partial}.

NOTE: As any "set" template, it doesn't print anything on the page, but merely sets the appropriate values.

Parameters:

  • |discipline= - the discipline page.