Difference between revisions of "Template:PrintCommunityTopicCurrentTheories"
Jump to navigation
Jump to search
Line 64: | Line 64: | ||
--><!-- | --><!-- | ||
-->{{#vardefine: varCommunityPrint|[[{{{community|}}}|{{PAGENAME:{{{community|}}}}}]] }}<!-- | -->{{#vardefine: varCommunityPrint|[[{{{community|}}}|{{PAGENAME:{{{community|}}}}}]] }}<!-- | ||
+ | -->{{#vardefine: varTheoryPrint|[[{{#arrayindex: varTheories|0}}]]|}}<!-- | ||
--><!-- | --><!-- | ||
-->|<!-- | -->|<!-- | ||
Line 69: | Line 70: | ||
--><!-- | --><!-- | ||
-->{{#vardefine: varCommunityPrint|{{PAGENAME:{{{community|}}}}} }}<!-- | -->{{#vardefine: varCommunityPrint|{{PAGENAME:{{{community|}}}}} }}<!-- | ||
+ | -->{{#vardefine: varTheoryPrint|{{#arrayindex: varTheories|0}}|}}<!-- | ||
--><!-- | --><!-- | ||
-->}}<!-- if links | -->}}<!-- if links |
Latest revision as of 23:17, 26 February 2023
This template is used to print the list of theories accepted by the community on the given topic. By default, the template prints the page names only; it doesn't print the formulations.
NOTE: As any "printing" template, it doesn't store any values anywhere, but merely prints them on the page.
Parameters:
|community=
- the community.|topic=
- the topic.|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.|link=
- if yes, then the links to pages will be printed; otherwise (default) no links will be added.|formulationtext=
- if yes, the formulation text will also be printed.|communityfirst=
- if yes, the community will be mentioned first in the sentence. If no (default), the name of the theories will appear first.