Open main menu

Changes

no edit summary
<noinclude>
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:PrintTermAcceptedSupertypesList]].
'''NOTE:''' As any "printing" template, it doesn't store any values anywhere, but merely prints them on the page.
-->|, |unique<!--
-->}}<!-- array define
--><!--
-->{{#ifeq: {{{link|}}}|none<!--
-->|<!--
-->{{#vardefine: varCommunity|{{{community}}}|}}<!--
-->{{#vardefine: varTerm|{{{term}}}|}}<!--
-->|<!--
-->{{#vardefine: varCommunity|[[{{{community|}}}|{{PAGENAME:{{{community|}}}}}]]|}}<!--
-->{{#vardefine: varTerm|[[{{{term|}}}]]|}}<!--
-->}}<!-- ifeq
--><!--
--><!--
--><!--
-->{{#ifeq: {{#arraysize: arraySupertypes}}|0<!--
-->|<!--
--><!-- no supertypes: return the default
-->{{#ifeq: {{{communitiesfirst|}}}|yes|In [[{{{community|}}}|{{PAGENAME#var:{{{community|}}}varCommunity}}]], there are currently no accepted supertypes of {{{term|}#var: varTerm}}.&#32;|There are currently no accepted supertypes of {{{term|}#var: varTerm}} in [[{{{community|}}}|{{PAGENAME#var:{{{community|}}}varCommunity}}]].&#32;}}<!--
--><!--
-->|<!--
-->{{#vardefine: varIsAre|is}}<!--
-->|<!-- plural
-->{{#vardefine: varTextSubtypevarTextSupertype|supertypes}}<!--
-->{{#vardefine: varIsAre|are}}<!--
-->}}<!-- ifeq
--><!--
--><!-- add the intro
-->{{#ifeq: {{{communitiesfirst|}}}|yes|In [[{{{community|}}}|{{PAGENAME:{{{community|}}}}}]], the following supertypes of {{{term|}}} are currently accepted|The following supertypes of {{{term|}}} are currently accepted in [[{{{community|}}}|{{PAGENAME:{{{community|}}}}}]]}}&#58;&#32;<!--
--><!--
--><!-- print
-->{{#ifeq: {{{bullets|}}}|yes<!--
-->|<!--
--><!-- add the intro
-->{{#ifeq: {{{communitiesfirst|}}}|yes|In {{#var: varCommunity}}, the following {{#var: varTextSupertype}} of {{#var: varTerm}} {{#var: varIsAre}} currently accepted|The following {{#var: varTextSupertype}} of {{#var: varTerm}} {{#var: varIsAre}} currently accepted in {{#var: varCommunity}}|}}&#58;&#32;<!--
--><!--
-->{{#arrayprint: arraySupertypes||varSupertype|<!--
-->* varSupertype<!--
-->}}<!--
-->|<!--
--><!-- add the intro -->{{#ifeq: {{{communitiesfirst|}}}|yes<!-- -->|<!-- -->In {{#var: varCommunity}}, it is currently accepted that {{#arrayprint: arraySupertypes||varSupertype|varSupertype|print=pretty}}{{#var: varIsAre}} the {{#var: varTextSupertype}} of {{#var: varTerm}}.<!-- -->|<!-- -->{{#arrayprint: arraySupertypes||varSupertype|varSupertype|print=pretty}} {{#var: varIsAre}} currently accepted as the {{#var: varTextSupertype}} of {{#var: varTerm}} in {{#var: varCommunity}}.<!-- -->}}<!-- --><!--
-->}}<!-- ifeq bullets
--><!--