Difference between revisions of "Template:PrintCommunityTermCurrentSupertypesList"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
Line 33: Line 33:
 
  -->|<!--
 
  -->|<!--
 
   --><!-- no supertypes: return the default
 
   --><!-- no supertypes: return the default
   -->{{#ifeq: {{{communitiesfirst|}}}|yes|In [[{{{community|}}}|{{PAGENAME:{{{community|}}}}}]], there are currently no accepted supertypes of {{{term|}}}.&#32;|There are currently no accepted supertypes of {{{term|}}} in [[{{{community|}}}|{{PAGENAME:{{{community|}}}}}]].&#32;}}<!--
+
   -->{{#ifeq: {{{communitiesfirst|}}}|yes|In [[{{{community|}}}|{{PAGENAME:{{{community|}}}}}]], there are currently no accepted supertypes of [[{{{term|}}}]].&#32;|There are currently no accepted supertypes of [[{{{term|}}}]] in [[{{{community|}}}|{{PAGENAME:{{{community|}}}}}]].&#32;}}<!--
 
   --><!--
 
   --><!--
 
  -->|<!--
 
  -->|<!--
Line 50: Line 50:
 
   -->|<!--
 
   -->|<!--
 
     --><!-- add the intro
 
     --><!-- add the intro
     -->{{#ifeq: {{{communitiesfirst|}}}|yes|In [[{{{community|}}}|{{PAGENAME:{{{community|}}}}}]], the following {{#var: varTextSupertype}} of {{{term|}}} {{#var: varIsAre}} currently accepted|The following {{#var: varTextSupertype}} of {{{term|}}} {{#var: varIsAre}} currently accepted in [[{{{community|}}}|{{PAGENAME:{{{community|}}}}}]]}}&#58;&#32;<!--
+
     -->{{#ifeq: {{{communitiesfirst|}}}|yes|In [[{{{community|}}}|{{PAGENAME:{{{community|}}}}}]], the following {{#var: varTextSupertype}} of [[{{{term|}}}]]} {{#var: varIsAre}} currently accepted|The following {{#var: varTextSupertype}} of [[{{{term|}}}]] {{#var: varIsAre}} currently accepted in [[{{{community|}}}|{{PAGENAME:{{{community|}}}}}]]}}&#58;&#32;<!--
 
     --><!--  
 
     --><!--  
 
     -->{{#arrayprint: arraySupertypes||varSupertype|<!--
 
     -->{{#arrayprint: arraySupertypes||varSupertype|<!--
Line 60: Line 60:
 
     -->{{#ifeq: {{{communitiesfirst|}}}|yes<!--
 
     -->{{#ifeq: {{{communitiesfirst|}}}|yes<!--
 
     -->|<!--
 
     -->|<!--
       -->In [[{{{community|}}}|{{PAGENAME:{{{community|}}}}}]], it is currently accepted that {{#arrayprint: arraySupertypes||varSupertype|varSupertype|print=pretty}} {{#var: varIsAre}} the {{#var: varTextSupertype}} of {{{term|}}}.<!--
+
       -->In [[{{{community|}}}|{{PAGENAME:{{{community|}}}}}]], it is currently accepted that {{#arrayprint: arraySupertypes||varSupertype|varSupertype|print=pretty}} {{#var: varIsAre}} the {{#var: varTextSupertype}} of [[{{{term|}}}]].<!--
 
     -->|<!--
 
     -->|<!--
       -->{{#arrayprint: arraySupertypes||varSupertype|varSupertype|print=pretty}} {{#var: varIsAre}} currently accepted as the {{#var: varTextSupertype}} of {{{term|}}} in [[{{{community|}}}|{{PAGENAME:{{{community|}}}}}]].<!--
+
       -->{{#arrayprint: arraySupertypes||varSupertype|varSupertype|print=pretty}} {{#var: varIsAre}} currently accepted as the {{#var: varTextSupertype}} of [[{{{term|}}}]] in [[{{{community|}}}|{{PAGENAME:{{{community|}}}}}]].<!--
 
     -->}}<!--
 
     -->}}<!--
 
     --><!--  
 
     --><!--  

Revision as of 21:00, 28 December 2022

This template is used to print the list of subtypes of a term accepted by the community. The subtypes will be grouped by their disjoint groups. The template is called from Template:PrintTermAcceptedSupertypesList.

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

Parameters:

  • |community= - the community.
  • |term= - the topic.
  • |bullets= - if yes, bullets will appear before every disjoint group. Otherwise, the sentences will be formatted without bullets or line breaks.
  • |link= - determines whether the values are to be printed as links to the respective pages (where available); possible values are none, subject, all. If not given all is the default.
  • |communitiesfirst= - if yes, the communities will be mentioned first in the intro sentence. If no (default) the name of the theory will appear first.