Difference between revisions of "Template:Subtypes-text-format"
Jump to navigation
Jump to search
Line 20: | Line 20: | ||
-->{{#switch: {{{Disjoint Group|}}}<!-- | -->{{#switch: {{{Disjoint Group|}}}<!-- | ||
-->|Main=<!-- | -->|Main=<!-- | ||
− | -->{{#ifeq: {{{userparam | + | -->{{#ifeq: {{{#userparam}}}|1<!-- |
-->|{{#var: varIsAre}} {{#arrayprint: varSubtypes||@@@@|@@@@|print=pretty}}. <!-- | -->|{{#var: varIsAre}} {{#arrayprint: varSubtypes||@@@@|@@@@|print=pretty}}. <!-- | ||
− | -->| | + | -->|The main {{#var: varTextSubtype}} of {{{Term|}}} {{#var: varIsAre}} {{#arrayprint: varSubtypes||@@@@|@@@@|print=pretty}}. <!-- |
-->}}<!-- ifeq | -->}}<!-- ifeq | ||
-->|None=<!-- | -->|None=<!-- | ||
− | -->{{#ifeq: {{{userparam | + | -->{{#ifeq: {{{#userparam}}}|1<!-- |
-->|{{#var: varIsAre}} {{#arrayprint: varSubtypes||@@@@|@@@@|print=pretty}}. <!-- | -->|{{#var: varIsAre}} {{#arrayprint: varSubtypes||@@@@|@@@@|print=pretty}}. <!-- | ||
-->|{{{Term|}}} also has {{#arrayprint: varSubtypes||@@@@|@@@@|print=pretty}} as its non-disjoint (overlapping) {{#var: varTextSubtype}}. <!-- | -->|{{{Term|}}} also has {{#arrayprint: varSubtypes||@@@@|@@@@|print=pretty}} as its non-disjoint (overlapping) {{#var: varTextSubtype}}. <!-- |
Revision as of 21:38, 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).