Difference between revisions of "Template:PrintCommunityTermCurrentSubtypesList"
Jump to navigation
Jump to search
Line 12: | Line 12: | ||
</noinclude><includeonly><!-- | </noinclude><includeonly><!-- | ||
+ | --><!-- | ||
+ | -->{{#ifeq: {{{link|}}}|none<!-- | ||
+ | -->|<!-- | ||
+ | -->{{#vardefine: varCommunity|{{{community}}}|}}<!-- | ||
+ | -->{{#vardefine: varTerm|{{{term}}}|}}<!-- | ||
+ | -->|<!-- | ||
+ | -->{{#vardefine: varCommunity|[[{{{community|}}}|{{PAGENAME:{{{community|}}}}}]]|}}<!-- | ||
+ | -->{{#vardefine: varTerm|[[{{{term|}}}]]|}}<!-- | ||
+ | -->}}<!-- ifeq | ||
--><!-- | --><!-- | ||
-->{{#ask:<!-- | -->{{#ask:<!-- | ||
Line 22: | Line 31: | ||
-->|?Theory<!-- | -->|?Theory<!-- | ||
-->|?Subtypes<!-- | -->|?Subtypes<!-- | ||
− | -->|intro={{#ifeq: {{{communitiesfirst|}}}|yes|In | + | -->|intro={{#ifeq: {{{communitiesfirst|}}}|yes|In {{#var: varCommunity}}, the following subtypes of {{#var: varTerm}} are currently accepted|The following subtypes of {{#var: varTerm}} are currently accepted in {{#var: varCommunity}}|}}{{#ifeq: {{{bullets|}}}|yes|:|.}} <!-- |
− | -->|default={{#ifeq: {{{communitiesfirst|}}}|yes|In | + | -->|default={{#ifeq: {{{communitiesfirst|}}}|yes|In {{#var: varCommunity}}, there are currently no accepted subtypes of {{#var: varTerm}}|There are currently no accepted subtypes of {{#var: varTerm}} in {{#var: varCommunity}}|}}. <!-- |
-->|sort=Disjoint Group Order, Disjoint Group<!-- | -->|sort=Disjoint Group Order, Disjoint Group<!-- | ||
-->|order=asc, asc<!-- | -->|order=asc, asc<!-- |
Revision as of 21:15, 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:PrintTermAcceptedSubtypesList.
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.