Difference between revisions of "Template:PrintTopicAcceptedTheoriesList"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
Line 39: Line 39:
 
     -->||@@@@<!--
 
     -->||@@@@<!--
 
     -->|{{#ifeq: {{{linebreak|}}}|yes|<nowiki/>
 
     -->|{{#ifeq: {{{linebreak|}}}|yes|<nowiki/>
}}{{#ifeq: {{{bullets|}}}|yes|*<nowiki> </nowiki>|}}{{PrintTheoryCurrentlyAcceptedInCommunities|theory=@@@@|pretty=yes}}<!--
+
}}{{#ifeq: {{{bullets|}}}|yes|*<nowiki> </nowiki>|}}<!--
     -->{{#ifeq: {{{details|}}}|yes|<!--
+
     -->{{#ifeq: {{{details|}}}|yes<!--
     --><!--  
+
     -->|{{PrintTheoryCurrentlyAcceptedInCommunities|theory=@@@@|communitiesfirst=yes}}<!--  
    --><nowiki/>: {{#show: @@@@|?Formulation Text|link=none}}<!--  
+
      --><nowiki/> {{#show: @@@@|?Formulation Text|link=none}}<!--  
    --><!--  
+
      --><!--  
    --><!-- add image if exists  Formulation File  
+
      --><!-- add image if exists  Formulation File  
    -->{{#if: {{#show: @@@@|?Formulation File|link=none}}|<nowiki/>
+
      -->{{#if: {{#show: @@@@|?Formulation File|link=none}}|<nowiki/>
  
 
{{PrintDiagramFile|diagram file={{#show: @@@@|?Formulation File|link=none}}|}}
 
{{PrintDiagramFile|diagram file={{#show: @@@@|?Formulation File|link=none}}|}}
 
<nowiki/>
 
<nowiki/>
 
<!--  
 
<!--  
    -->}}<!-- if diagram  
+
      -->}}<!-- if diagram  
 +
    -->|{{PrintTheoryCurrentlyAcceptedInCommunities|theory=@@@@|communitiesfirst=no}}<!--
 
     -->}}<!-- if details
 
     -->}}<!-- if details
 
   -->}}<!--arrayprint  
 
   -->}}<!--arrayprint  

Revision as of 14:38, 31 August 2016

This template is used to print a list of accepted theories on this topic. It looks for the accepted theories on the topic and then indicates which communities it is currently accepted by.

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

Parameters:

  • |topic= - the theory.
  • |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.
  • |details= - if yes, then details of the theory such as its formulation and diagram are added to each record.
  • |bullets= - if yes, a bullet-list will be produced.
  • |linebreak= - if yes, each theory's entry will start from a new line.