Difference between revisions of "Template:Subtypes-text-format"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
Line 20: Line 20:
 
-->{{#switch: {{{Disjoint Group|}}}<!--
 
-->{{#switch: {{{Disjoint Group|}}}<!--
 
  -->|Main=<!--  
 
  -->|Main=<!--  
   -->{{#ifeq: {{{#userparam}}}|1<!--
+
   -->The main {{#var: varTextSubtype}} of {{{Term|}}} {{#var: varIsAre}} {{#arrayprint: varSubtypes||@@@@|@@@@|print=pretty}}.&#32;<!--   
  -->|{{#var: varIsAre}} {{#arrayprint: varSubtypes||@@@@|@@@@|print=pretty}}.&#32;<!-- 
 
  -->|The main {{#var: varTextSubtype}} of {{{Term|}}} {{#var: varIsAre}} {{#arrayprint: varSubtypes||@@@@|@@@@|print=pretty}}.&#32;<!--   
 
  -->}}<!-- ifeq
 
 
  -->|None=<!--  
 
  -->|None=<!--  
   -->{{#ifeq: {{{#userparam}}}|1<!--
+
   -->{{{Term|}}} also has {{#arrayprint: varSubtypes||@@@@|@@@@|print=pretty}} as its non-disjoint (overlapping) {{#var: varTextSubtype}}.&#32;<!--  
  -->|{{#var: varIsAre}} {{#arrayprint: varSubtypes||@@@@|@@@@|print=pretty}}.&#32;<!-- 
 
  -->|{{{Term|}}} also has {{#arrayprint: varSubtypes||@@@@|@@@@|print=pretty}} as its non-disjoint (overlapping) {{#var: varTextSubtype}}.&#32;<!--  
 
  -->}}<!-- ifeq
 
 
  -->|<!-- other groups  
 
  -->|<!-- other groups  
 
   -->On the basis of {{{Disjoint Group|}}}, the {{#var: varTextSubtype}} of {{{Term|}}} {{#var: varIsAre}} {{#arrayprint: varSubtypes||@@@@|@@@@|print=pretty}}.&#32;<!--  
 
   -->On the basis of {{{Disjoint Group|}}}, the {{#var: varTextSubtype}} of {{{Term|}}} {{#var: varIsAre}} {{#arrayprint: varSubtypes||@@@@|@@@@|print=pretty}}.&#32;<!--  
 
-->}}<!-- switch   
 
-->}}<!-- switch   
 
--></includeonly>
 
--></includeonly>

Revision as of 22:11, 11 February 2023

This template is called from other templates that use #ask semantic function (such as Template:PrintCommunityTermCurrentSubtypesList) to format each disjoint group of subtypes as a separate sentence (no bullets, same line).