Difference between revisions of "Template:PrintTopicAcceptedTheoriesList"
Jump to navigation
Jump to search
Line 11: | Line 11: | ||
* <code><nowiki>|details=</nowiki></code> - if ''yes'', then details of the theory such as its formulation and diagram are added to each record. | * <code><nowiki>|details=</nowiki></code> - if ''yes'', then details of the theory such as its formulation and diagram are added to each record. | ||
* <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. | ||
</noinclude><includeonly><!-- | </noinclude><includeonly><!-- | ||
Line 37: | Line 38: | ||
-->{{#arrayprint: varAccTheories<!-- | -->{{#arrayprint: varAccTheories<!-- | ||
-->||@@@@<!-- | -->||@@@@<!-- | ||
− | -->|<nowiki/> | + | -->|{{#ifeq: {{{linebreak|}}}|yes|<nowiki/> |
− | {{#ifeq: {{{bullets|}}}|yes|*<nowiki> </nowiki>|}}{{PrintTheoryCurrentlyAcceptedInCommunities|theory=@@@@|pretty=yes}}<!-- | + | }}{{#ifeq: {{{bullets|}}}|yes|*<nowiki> </nowiki>|}}{{PrintTheoryCurrentlyAcceptedInCommunities|theory=@@@@|pretty=yes}}<!-- |
-->{{#ifeq: {{{details|}}}|yes|<!-- | -->{{#ifeq: {{{details|}}}|yes|<!-- | ||
--><!-- | --><!-- |
Revision as of 14:28, 31 August 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.