Difference between revisions of "Template:PrintTopicAcceptedTheoriesList"
Jump to navigation
Jump to search
Line 15: | Line 15: | ||
* <code><nowiki>|linebreak=</nowiki></code> - if ''yes'', each theory's entry will start from a new line; if ''no'' (default), a mere space will be added between sentences. | * <code><nowiki>|linebreak=</nowiki></code> - if ''yes'', each theory's entry will start from a new line; if ''no'' (default), a mere space will be added between sentences. | ||
* <code><nowiki>|communitiesfirst=</nowiki></code> - if ''yes'', the communities will be mentioned first in the sentence. If ''no'' (default) the name of the theory will appear first. | * <code><nowiki>|communitiesfirst=</nowiki></code> - if ''yes'', the communities will be mentioned first in the sentence. If ''no'' (default) the name of the theory will appear first. | ||
+ | * <code><nowiki>|skipacceptedincommunities=</nowiki></code> - if ''yes'', it won't be mentioned that the theory is accepted in such and such communities. If ''no'' (default) the acceptance statements will be added. | ||
* <code><nowiki>|groupbycommunity=</nowiki></code> - if ''yes'', the result will be grouped by community (e.g. Theories A, B, C are accepted by community X. Theories A, D, E are accepted by community Y.) If ''no'' (default) the result will be grouped by theory (e.g. Theory A is accepted in communities X and Y.). | * <code><nowiki>|groupbycommunity=</nowiki></code> - if ''yes'', the result will be grouped by community (e.g. Theories A, B, C are accepted by community X. Theories A, D, E are accepted by community Y.) If ''no'' (default) the result will be grouped by theory (e.g. Theory A is accepted in communities X and Y.). | ||
Line 46: | Line 47: | ||
-->|{{#ifeq: {{{linebreak|}}}|yes|<nowiki/> | -->|{{#ifeq: {{{linebreak|}}}|yes|<nowiki/> | ||
| }}{{#ifeq: {{{bullets|}}}|yes|*<nowiki> </nowiki>|}}<!-- | | }}{{#ifeq: {{{bullets|}}}|yes|*<nowiki> </nowiki>|}}<!-- | ||
− | -->{{PrintCommunityTopicCurrentTheoriesList|community=@@@@|topic={{{topic|}}}|communitiesfirst={{{communitiesfirst|no}}}|link=all|linktheory=yes}}<!-- | + | -->{{PrintCommunityTopicCurrentTheoriesList|community=@@@@|topic={{{topic|}}}|skipacceptedincommunities={{{skipacceptedincommunities|no}}}|communitiesfirst={{{communitiesfirst|no}}}|link=all|linktheory=yes}}<!-- |
-->}}<!--arrayprint | -->}}<!--arrayprint | ||
-->{{{outro|}}}<!-- | -->{{{outro|}}}<!-- | ||
Line 111: | Line 112: | ||
-->|{{#ifeq: {{{linebreak|}}}|yes|<nowiki/> | -->|{{#ifeq: {{{linebreak|}}}|yes|<nowiki/> | ||
| }}{{#ifeq: {{{bullets|}}}|yes|*<nowiki> </nowiki>|}}<!-- | | }}{{#ifeq: {{{bullets|}}}|yes|*<nowiki> </nowiki>|}}<!-- | ||
− | -->{{PrintTheoryCurrentlyAcceptedInCommunities|theory=@@@@|communitiesfirst={{{communitiesfirst|no}}}|link=all|linktheory=yes|formulationtext={{{formulationtext|}}}|formulationfile={{{formulationfile|}}}|description={{{description}}}|}}<!-- | + | -->{{PrintTheoryCurrentlyAcceptedInCommunities|theory=@@@@|skipacceptedincommunities={{{skipacceptedincommunities|no}}}|communitiesfirst={{{communitiesfirst|no}}}|link=all|linktheory=yes|formulationtext={{{formulationtext|}}}|formulationfile={{{formulationfile|}}}|description={{{description}}}|}}<!-- |
-->}}<!--arrayprint | -->}}<!--arrayprint | ||
-->{{{outro|}}}<!-- | -->{{{outro|}}}<!-- |
Revision as of 15:55, 29 December 2022
This template is used to print a list of accepted theories on this topic. It looks for the accepted theories on the topic and then indicates which communities it is currently accepted by.
NOTE: As any "printing" template, it doesn't store any values anywhere, but merely prints them on the page.
Parameters:
|topic=
- the topic.|intro=
- initial text that precedes the output, if at least some results exist.|outro=
- text that is appended to the output, if at least some results exist.|default=
- if, for any reason, the query returns no results, this will be printed instead.|formulationtext=
- if yes, then the formulation of the theory is added to each record.|formulationfile=
- if yes, then the file with the formulation diagram is added to each record.|description=
- if yes, then the first paragraph of the description is added to each record.|bullets=
- if yes, a bullet-list will be produced.|linebreak=
- if yes, each theory's entry will start from a new line; if no (default), a mere space will be added between sentences.|communitiesfirst=
- if yes, the communities will be mentioned first in the sentence. If no (default) the name of the theory will appear first.|skipacceptedincommunities=
- if yes, it won't be mentioned that the theory is accepted in such and such communities. If no (default) the acceptance statements will be added.|groupbycommunity=
- if yes, the result will be grouped by community (e.g. Theories A, B, C are accepted by community X. Theories A, D, E are accepted by community Y.) If no (default) the result will be grouped by theory (e.g. Theory A is accepted in communities X and Y.).