Changes

Jump to navigation Jump to search
no edit summary
'''Parameters:'''
* <code><nowiki>|topic=</nowiki></code> - the theorytopic.
* <code><nowiki>|intro=</nowiki></code> - initial text that precedes the output, if at least some results exist.
* <code><nowiki>|outro=</nowiki></code> - text that is appended to the output, if at least some results exist.
* <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>|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.).
</noinclude><includeonly><!--
-->{{#if: {{{topic|}}} |<!--
--><!-- check the grouping flag -->{{#ifeq: {{{groupbycommunity|no}}}|yes<!-- -->|<!-- yes --><!-- get the theories communities first -->{{#arraydefine: varAccTheoriesvarAccCommunities<!-- -->|{{#ask:<!-- -->[[SubObjectCategory::Acceptance Record]]<!-- -->[[Topic::{{{topic|}}}]]<!-- -->[[Still Accepted::true]]<!-- -->|?TheoryCommunity<!-- -->|mainlabel=-<!-- -->|headers=hide<!-- -->|link=none<!-- -->|limit=10000<!-- -->}}<!-- -->| , |unique<!-- -->}}<!-- arraydefine --><!-- --><!-- remove duplicates -->{{#arrayunique: varAccTheoriesvarAccCommunities}}<!-- --><!-- -->{{#switch: {{#arraysize: varAccTheoriesvarAccCommunities}}<!-- -->|0={{{default|}}}<!-- -->|{{{intro|}}}<!-- -->{{#arrayprint: varAccTheoriesvarAccCommunities<!-- -->||@@@@<!-- -->|{{#ifeq: {{{linebreak|}}}|yes|<nowiki/>
|&#32;}}{{#ifeq: {{{bullets|}}}|yes|*<nowiki> </nowiki>|}}<!--
-->{{PrintCommunityTopicCurrentTheoriesList|community=@@@@|topic={{{topic|}}}|communitiesfirst={{{communitiesfirst|no}}}|link=all|linktheory=yes}}<!-- -->}}<!--arrayprint -->{{{outro|}}}<!-- -->}}<!-- switch --><!-- --><!-- in this version the theory details are ignored --><!-- -->|<!-- no --><!-- get the theories first -->{{#arraydefine: varAccTheories<!-- -->|{{#ask:<!-- -->[[SubObjectCategory::Acceptance Record]]<!-- -->[[Topic::{{{topic|}}}]]<!-- -->[[Still Accepted::true]]<!-- -->|?Theory<!-- -->|mainlabel=-<!-- -->|headers=hide<!-- -->|link=none<!-- -->|limit=10000<!-- -->}}<!-- -->| , |unique<!-- -->}}<!-- arraydefine --><!-- --><!-- remove duplicates -->{{#arrayunique: varAccTheories}}<!-- --><!-- -->{{#switch: {{#arraysize: varAccTheories}}<!-- -->|0={{{default|}}}<!-- -->|{{{intro|}}}<!-- -->{{#arrayprint: varAccTheories<!-- -->||@@@@<!-- -->|{{#ifeq: {{{linebreak|}}}|yes|<nowiki/>|&#32;}}{{#ifeq: {{{bullets|}}}|yes|*<nowiki> </nowiki>|}}<!-- -->{{#ifeq: {{{details|}}}|yes<!-- -->|{{PrintTheoryCurrentlyAcceptedInCommunities|theory=@@@@|communitiesfirst={{{communitiesfirst|no}}}|link=all|linktheory=yes}}<!-- --><nowiki/> {{#show: @@@@|?Formulation Text|link=none}}<!-- --><!-- --><!-- add image if exists Formulation File -->{{#if: {{#show: @@@@|?Formulation File|link=none}}|<nowiki/>
{{PrintDiagramFile|diagram file={{#show: @@@@|?Formulation File|link=none}}|}}
<nowiki/>
<!--
-->}}<!-- if diagram -->|{{PrintTheoryCurrentlyAcceptedInCommunities|theory=@@@@|communitiesfirst={{{communitiesfirst|no}}}|link=all|linktheory=yes}}<!-- -->}}<!-- if details -->}}<!--arrayprint -->{{{outro|}}}<!-- -->}}<!-- switch --><!-- -->}}<!-- switchifeq
--><!--
-->}}<!-- if
--></includeonly>

Navigation menu