Difference between revisions of "Template:PrintTopicAcceptedTheoriesList"
Jump to navigation
Jump to search
Line 12: | Line 12: | ||
* <code><nowiki>|bullets=</nowiki></code> - if ''yes'', a bullet-list will be produced. | * <code><nowiki>|bullets=</nowiki></code> - if ''yes'', a bullet-list will be produced. | ||
* <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. | ||
</noinclude><includeonly><!-- | </noinclude><includeonly><!-- | ||
Line 41: | Line 42: | ||
| }}{{#ifeq: {{{bullets|}}}|yes|*<nowiki> </nowiki>|}}<!-- | | }}{{#ifeq: {{{bullets|}}}|yes|*<nowiki> </nowiki>|}}<!-- | ||
-->{{#ifeq: {{{details|}}}|yes<!-- | -->{{#ifeq: {{{details|}}}|yes<!-- | ||
− | -->|{{PrintTheoryCurrentlyAcceptedInCommunities|theory=@@@@|communitiesfirst= | + | -->|{{PrintTheoryCurrentlyAcceptedInCommunities|theory=@@@@|communitiesfirst={{{communitiesfirst|no}}}|link=all|linktheory=yes}}<!-- |
--><nowiki/> {{#show: @@@@|?Formulation Text|link=none}}<!-- | --><nowiki/> {{#show: @@@@|?Formulation Text|link=none}}<!-- | ||
--><!-- | --><!-- | ||
Line 51: | Line 52: | ||
<!-- | <!-- | ||
-->}}<!-- if diagram | -->}}<!-- if diagram | ||
− | -->|{{PrintTheoryCurrentlyAcceptedInCommunities|theory=@@@@|communitiesfirst= | + | -->|{{PrintTheoryCurrentlyAcceptedInCommunities|theory=@@@@|communitiesfirst={{{communitiesfirst|no}}}|link=all|linktheory=yes}}<!-- |
-->}}<!-- if details | -->}}<!-- if details | ||
-->}}<!--arrayprint | -->}}<!--arrayprint |
Revision as of 17:03, 5 September 2016
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 theory.|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.|details=
- if yes, then details of the theory such as its formulation and diagram are 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.