Difference between revisions of "Template:PrintTopicSubtopics"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
Line 9: Line 9:
 
* <code><nowiki>|outro=</nowiki></code> - text that is appended to 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.
 
* <code><nowiki>|default=</nowiki></code> - if, for any reason, the query returns no results, this will be printed instead.
* <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.
  
 
</noinclude><includeonly><!--
 
</noinclude><includeonly><!--

Revision as of 15:02, 30 August 2016

This template is used to print an array of subtopics of the given topic.

NOTE: As any "printing" template, it doesn't store any values anywhere, but merely prints them on the page.

Parameters:

  • |topic= - the topic for which subtopics are to be printed.
  • |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.