Difference between revisions of "Template:PrintTopicTheories"
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
'''Parameters:''' | '''Parameters:''' | ||
* <code><nowiki>|topic=</nowiki></code> - the topic. | * <code><nowiki>|topic=</nowiki></code> - the topic. | ||
− | * <code><nowiki>|intro=</nowiki></code> - if the results | + | * <code><nowiki>|intro=</nowiki></code> - initial text that prepends the output, if at least some results exist. |
+ | * <code><nowiki>|outro=</nowiki></code> - text that is appended to the output, if at least some results exist. | ||
+ | * <code><nowiki>|default=</nowiki></code> - if, for any reason, the query returns no results, this will be printed instead. | ||
</noinclude><includeonly>{{#ask: | </noinclude><includeonly>{{#ask: | ||
Line 16: | Line 18: | ||
|format=table | |format=table | ||
|intro={{{intro|}}} | |intro={{{intro|}}} | ||
+ | |outro={{{outro|}}} | ||
+ | |default={{{default|}}} | ||
|link=subject | |link=subject | ||
|headers=plain | |headers=plain |
Revision as of 20:31, 19 August 2016
This template is used to print all the theories on the topic.
NOTE: As any "printing" template, it doesn't store any values anywhere, but merely prints them on the page.
Parameters:
|topic=
- the topic.|intro=
- initial text that prepends 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.