Difference between revisions of "Template:SetDisciplineCoreQuestions"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
 
Line 7: Line 7:
 
* <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 35: Line 35:
 
       -->|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
Line 58: Line 58:
 
         -->|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.