Difference between revisions of "Template:PrintDisciplineAcceptedCoreQuestionsDetails"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
Line 85: Line 85:
  
 
       --><!-- check the array size and print the details  
 
       --><!-- check the array size and print the details  
       -->{{#ifeq: {{#arraysize: varAnswers}}|0||<!--
+
       -->{{#ifeq: {{#arraysize: varAnswers}}|0||
      --><div class="mw-collapsible mw-collapsed"><!--
+
====Current View====
 +
<div class="mw-collapsible mw-collapsed"><!--
 +
 
 
       --><!-- print
 
       --><!-- print
 
       -->{{#arrayprint: varAnswers||varTheory<!--
 
       -->{{#arrayprint: varAnswers||varTheory<!--
Line 101: Line 103:
 
       -->}}<!--arrayprint  
 
       -->}}<!--arrayprint  
 
        
 
        
       --></div><!--
+
       -->
 +
 
 +
</div><!--
  
 
       -->}}<!-- ifeq
 
       -->}}<!-- ifeq

Revision as of 13:02, 29 June 2024

This template is used to print the details of accepted core questions of the given discipline. It displays the descriptions of questions and other details of theories accepted on a given topic by sorting them according to their topic's sorting order. Each question is presented under its own subheading.

The template is community-agnostic: it presents all the answers to the topic accepted by any community.


NOTE: As any "printing" template, it doesn't store any values anywhere, but merely prints them on the page.


Parameters:

  • |discipline= - the discipline.
  • |intro= - initial text that precedes the output, if at least some results exist.
  • |outro= - text that is appended to the output, if at least some results exist.
  • |default= - if, for any reason, the query returns no results, this will be printed instead.