Difference between revisions of "Template:PrintCommunityTopicCurrentTheories"
Jump to navigation
Jump to search
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
− | 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. | + | 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:''' | '''Parameters:''' | ||
Line 76: | Line 64: | ||
--><!-- | --><!-- | ||
-->{{#vardefine: varCommunityPrint|[[{{{community|}}}|{{PAGENAME:{{{community|}}}}}]] }}<!-- | -->{{#vardefine: varCommunityPrint|[[{{{community|}}}|{{PAGENAME:{{{community|}}}}}]] }}<!-- | ||
+ | -->{{#vardefine: varTheoryPrint|[[{{#arrayindex: varTheories|0}}]]|}}<!-- | ||
--><!-- | --><!-- | ||
-->|<!-- | -->|<!-- | ||
Line 81: | Line 70: | ||
--><!-- | --><!-- | ||
-->{{#vardefine: varCommunityPrint|{{PAGENAME:{{{community|}}}}} }}<!-- | -->{{#vardefine: varCommunityPrint|{{PAGENAME:{{{community|}}}}} }}<!-- | ||
+ | -->{{#vardefine: varTheoryPrint|{{#arrayindex: varTheories|0}}|}}<!-- | ||
--><!-- | --><!-- | ||
-->}}<!-- if links | -->}}<!-- if links | ||
Line 139: | Line 129: | ||
--><!-- Check if the formulations are to be printed here | --><!-- Check if the formulations are to be printed here | ||
--><!-- | --><!-- | ||
− | -->{{#ifeq: {{{formulationtext|no}}}|yes | + | -->{{#ifeq: {{{formulationtext|no}}}|yes<!-- |
− | --> | + | -->|<!-- |
− | |||
− | |||
− | + | --><!-- print | |
− | --> | + | -->They can be summarized as follows. <!-- |
− | + | --><!-- | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | -->{{#ask:<!-- | |
− | + | -->[[SubObjectCategory::Current Answer]]<!-- | |
− | + | -->[[Community::{{{community|}}}]]<!-- | |
+ | -->[[Topic::{{{topic|}}}]]<!-- | ||
+ | -->[[Answer Type::Complete||Inherited||Partial]]<!-- | ||
+ | -->|?Formulation Text<!-- | ||
+ | -->|mainlabel=-<!-- | ||
+ | -->|headers=hide<!-- | ||
+ | -->|sort=Answer Type, Sorting Order<!-- | ||
+ | -->|order=asc, asc<!-- | ||
+ | -->|format=template<!-- | ||
+ | -->|template=Result-space-separated<!-- | ||
+ | -->|link=none<!-- | ||
+ | -->|limit=10000<!-- | ||
+ | -->}}<!-- | ||
+ | --><!-- | ||
− | |||
-->}}<!-- ifeq formulation text | -->}}<!-- ifeq formulation text | ||
− | |||
--><!-- | --><!-- |
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.