Difference between revisions of "Template:PrintCommunityTermCurrentSupertypesList"
Jump to navigation
Jump to search
Line 42: | Line 42: | ||
-->{{#vardefine: varIsAre|is}}<!-- | -->{{#vardefine: varIsAre|is}}<!-- | ||
-->|<!-- plural | -->|<!-- plural | ||
− | -->{{#vardefine: | + | -->{{#vardefine: varTextSupertype|supertypes}}<!-- |
-->{{#vardefine: varIsAre|are}}<!-- | -->{{#vardefine: varIsAre|are}}<!-- | ||
-->}}<!-- ifeq | -->}}<!-- ifeq | ||
− | |||
− | |||
− | |||
--><!-- | --><!-- | ||
--><!-- print | --><!-- print | ||
-->{{#ifeq: {{{bullets|}}}|yes<!-- | -->{{#ifeq: {{{bullets|}}}|yes<!-- | ||
-->|<!-- | -->|<!-- | ||
+ | --><!-- 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|}}}}}]]}}: <!-- | ||
+ | --><!-- | ||
-->{{#arrayprint: arraySupertypes||varSupertype|<!-- | -->{{#arrayprint: arraySupertypes||varSupertype|<!-- | ||
-->* varSupertype<!-- | -->* varSupertype<!-- | ||
Line 57: | Line 57: | ||
-->}}<!-- | -->}}<!-- | ||
-->|<!-- | -->|<!-- | ||
− | -->{{#arrayprint: arraySupertypes||varSupertype|varSupertype|print=pretty}}<!-- | + | --><!-- add the intro |
+ | -->{{#ifeq: {{{communitiesfirst|}}}|yes<!-- | ||
+ | -->|<!-- | ||
+ | -->In [[{{{community|}}}|{{PAGENAME:{{{community|}}}}}]], it is currently accepted that {{#arrayprint: arraySupertypes||varSupertype|varSupertype|print=pretty}} {{#var: varIsAre}} the {{#var: varTextSupertype}} of {{{term|}}}.<!-- | ||
+ | -->|<!-- | ||
+ | -->{{#arrayprint: arraySupertypes||varSupertype|varSupertype|print=pretty}} {{#var: varIsAre}} currently accepted as the {{#var: varTextSupertype}} of {{{term|}}} in [[{{{community|}}}|{{PAGENAME:{{{community|}}}}}]].<!-- | ||
+ | -->}}<!-- | ||
+ | --><!-- | ||
-->}}<!-- ifeq bullets | -->}}<!-- ifeq bullets | ||
--><!-- | --><!-- |
Revision as of 20:02, 28 December 2022
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.
Parameters:
|community=
- the community.|term=
- the topic.|bullets=
- if yes, bullets will appear before every disjoint group. Otherwise, the sentences will be formatted without bullets or line breaks.|link=
- determines whether the values are to be printed as links to the respective pages (where available); possible values are none, subject, all. If not given all is the default.|communitiesfirst=
- if yes, the communities will be mentioned first in the intro sentence. If no (default) the name of the theory will appear first.