Difference between revisions of "Template:Subtypes-text-format"
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}}. <!-- | + | -->{{#ifeq: {{{userparam|}}}|1<!-- |
+ | -->|{{#var: varIsAre}} {{#arrayprint: varSubtypes||@@@@|@@@@|print=pretty}}. <!-- | ||
+ | -->|The main {{#var: varTextSubtype}} of {{{Term|}}} {{#var: varIsAre}} {{#arrayprint: varSubtypes||@@@@|@@@@|print=pretty}}. <!-- | ||
+ | -->}}<!-- ifeq | ||
-->|None=<!-- | -->|None=<!-- | ||
− | -->{{{Term|}}} also has {{#arrayprint: varSubtypes||@@@@|@@@@|print=pretty}} as its non-disjoint (overlapping) {{#var: varTextSubtype}}. <!-- | + | -->{{#ifeq: {{{userparam|}}}|1<!-- |
+ | -->|{{#var: varIsAre}} {{#arrayprint: varSubtypes||@@@@|@@@@|print=pretty}}. <!-- | ||
+ | -->|{{{Term|}}} also has {{#arrayprint: varSubtypes||@@@@|@@@@|print=pretty}} as its non-disjoint (overlapping) {{#var: varTextSubtype}}. <!-- | ||
+ | -->}}<!-- ifeq | ||
-->|<!-- other groups | -->|<!-- other groups | ||
-->On the basis of {{{Disjoint Group|}}}, the {{#var: varTextSubtype}} of {{{Term|}}} {{#var: varIsAre}} {{#arrayprint: varSubtypes||@@@@|@@@@|print=pretty}}. <!-- | -->On the basis of {{{Disjoint Group|}}}, the {{#var: varTextSubtype}} of {{{Term|}}} {{#var: varIsAre}} {{#arrayprint: varSubtypes||@@@@|@@@@|print=pretty}}. <!-- | ||
-->}}<!-- 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).