Difference between revisions of "Template:PrintCommunityTermCurrentSubtypesList"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
Line 42: Line 42:
 
   --><!-- one subobject (i.e. one group of subtypes)
 
   --><!-- one subobject (i.e. one group of subtypes)
 
   --><!--
 
   --><!--
   -->{{#arraydefine: arraySubtypes|{{#show: {{#arrayindex: arraySOs|0}}|?Subtypes|link=none}}| , | unique}}<!--
+
   -->{{#arraydefine: arraySubtypes|{{#show: {{#arrayindex: arraySOs|0}}|?Subtypes|link=link={{{link|all}}}|}}| , | unique}}<!--
 
   -->{{#switch: {{#arraysize: arraySubtypes}}<!--
 
   -->{{#switch: {{#arraysize: arraySubtypes}}<!--
 
   -->|1=<!--
 
   -->|1=<!--
Line 68: Line 68:
 
     -->|<!--
 
     -->|<!--
 
       --><!--
 
       --><!--
       -->{{#arrayprint: arraySubtypes||varSubtype|varSubtype|print=pretty}}.&#32;<!--
+
       -->&#32;{{#arrayprint: arraySubtypes||varSubtype|varSubtype|print=pretty}}.&#32;<!--
 
       --><!--
 
       --><!--
 
       --><!--
 
       --><!--

Revision as of 22:18, 11 February 2023

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:PrintTermAcceptedSubtypesList.

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.