Difference between revisions of "Template:PrintTermAcceptedAssociationsList"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
(Created page with "<noinclude> This template is used to print a list of accepted associations of a term. It looks for communities where the term is listed to have associations and then, for each...")
 
 
Line 37: Line 37:
 
     -->|{{{intro|}}}<!--
 
     -->|{{{intro|}}}<!--
 
     -->{{#arrayprint: varAccCommunities||varCommunity<!--
 
     -->{{#arrayprint: varAccCommunities||varCommunity<!--
       -->|{{#ifeq: {{{linebreak|}}}|yes|<nowiki/>
+
       -->|<!--
|&#32;}}<!--
+
      -->{{#ifeq: {{{linebreak|}}}|yes|<p>|}}<!--
      -->{{PrintCommunityTermCurrentAssociationsList|community=varCommunity|term={{{term|}}}|bullets={{{bullets|}}}|communitiesfirst={{{communitiesfirst|no}}}|link=all}}<!--  
+
      -->{{PrintCommunityTermCurrentAssociationsList|community=varCommunity|term={{{term|}}}|bullets={{{bullets|}}}|communitiesfirst={{{communitiesfirst|no}}}|link=all}}<!--
 +
      -->{{#ifeq: {{{linebreak|}}}|yes|</p>|&#32;}}<!--
 
     -->}}<!--arrayprint  
 
     -->}}<!--arrayprint  
 
     -->{{{outro|}}}<!--
 
     -->{{{outro|}}}<!--

Latest revision as of 20:33, 5 February 2023

This template is used to print a list of accepted associations of a term. It looks for communities where the term is listed to have associations and then, for each community, prints the list of the associations.

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

Parameters:

  • |term= - the term.
  • |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.
  • |bullets= - if yes, a bullet-list will be produced.
  • |linebreak= - if yes, each disjoint group entry will start from a new line; if no (default), a mere space will be added between sentences.
  • |communitiesfirst= - if yes, the communities will be mentioned first in the sentence. If no (default) the name of the theory will appear first.