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. | + | * <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. |
</noinclude><includeonly><!-- | </noinclude><includeonly><!-- | ||
Line 39: | Line 39: | ||
-->||@@@@<!-- | -->||@@@@<!-- | ||
-->|{{#ifeq: {{{linebreak|}}}|yes|<nowiki/> | -->|{{#ifeq: {{{linebreak|}}}|yes|<nowiki/> | ||
− | }}{{#ifeq: {{{bullets|}}}|yes|*<nowiki> </nowiki>|}}<!-- | + | | }}{{#ifeq: {{{bullets|}}}|yes|*<nowiki> </nowiki>|}}<!-- |
-->{{#ifeq: {{{details|}}}|yes<!-- | -->{{#ifeq: {{{details|}}}|yes<!-- | ||
-->|{{PrintTheoryCurrentlyAcceptedInCommunities|theory=@@@@|communitiesfirst=yes|link=all|linktheory=yes}}<!-- | -->|{{PrintTheoryCurrentlyAcceptedInCommunities|theory=@@@@|communitiesfirst=yes|link=all|linktheory=yes}}<!-- |
Revision as of 14:55, 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; if no (default), a mere space will be added between sentences.