Difference between revisions of "Template:PrintTopicAcceptedTheoriesFormulations"
Jump to navigation
Jump to search
Line 11: | Line 11: | ||
* <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 disjoint group 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 disjoint group entry will start from a new line; if ''no'' (default), a mere space will be added between sentences. | ||
− | * <code><nowiki>|communitiesfirst=</nowiki></code> - | + | |
+ | '''NOTE:''' | ||
+ | * <code><nowiki>|communitiesfirst=</nowiki></code> - is UNAVAILABLE, since the community should be printed first; otherwise it looks ugly. | ||
</noinclude><includeonly><!-- | </noinclude><includeonly><!-- | ||
Line 45: | Line 47: | ||
-->|topic={{{topic|}}}<!-- | -->|topic={{{topic|}}}<!-- | ||
-->|default=There is currently no accepted answer to this question in [[varCommunity|{{PAGENAME:varCommunity}}]]. <!-- | -->|default=There is currently no accepted answer to this question in [[varCommunity|{{PAGENAME:varCommunity}}]]. <!-- | ||
− | |||
-->|link=yes<!-- | -->|link=yes<!-- | ||
-->|linktheory=yes<!-- | -->|linktheory=yes<!-- |
Revision as of 16:37, 26 January 2023
This template is used to print a list of accepted answers to a question. It groups the answers by community: for each community where the topic is accepted, it looks for the accepted answers and prints the answers by grouping the multiple results as needed.
NOTE: As any "printing" template, it doesn't store any values anywhere, but merely prints them on the page.
Parameters:
|topic=
- the term.|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.|bullets=
- if yes, a bullet-list will be produced.|linebreak=
- if yes, each disjoint group entry will start from a new line; if no (default), a mere space will be added between sentences.
NOTE:
|communitiesfirst=
- is UNAVAILABLE, since the community should be printed first; otherwise it looks ugly.