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

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
(Created page with "<noinclude> This template is called from other templates that use <code><nowiki>#ask</nowiki></code> semantic function (such as Template:PrintCommunityTermCurrentSubtypesLis...")
 
Line 20: Line 20:
 
-->{{#switch: {{{Disjoint Group|}}}<!--
 
-->{{#switch: {{{Disjoint Group|}}}<!--
 
  -->|Main=<!--  
 
  -->|Main=<!--  
   -->The main {{#var: varTextSubtype}} of {{{Term|}}} {{#var: varIsAre}} {{#arrayprint: varSubtypes||@@@@|@@@@|print=pretty}}.&#32;<!--  
+
   -->{{#ifeq: {{{userparam|}}}|1<!--
 +
  -->|{{#var: varIsAre}} {{#arrayprint: varSubtypes||@@@@|@@@@|print=pretty}}.&#32;<!-- 
 +
  -->|The main {{#var: varTextSubtype}} of {{{Term|}}} {{#var: varIsAre}} {{#arrayprint: varSubtypes||@@@@|@@@@|print=pretty}}.&#32;<!--  
 +
  -->}}<!-- ifeq
 
  -->|None=<!--  
 
  -->|None=<!--  
   -->{{{Term|}}} also has {{#arrayprint: varSubtypes||@@@@|@@@@|print=pretty}} as its non-disjoint (overlapping) {{#var: varTextSubtype}}.&#32;<!--  
+
   -->{{#ifeq: {{{userparam|}}}|1<!--
 +
  -->|{{#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 21:34, 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).