Difference between revisions of "Template:PrintTopicSubtopics"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
(Created page with "<noinclude> 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...")
 
Line 23: Line 23:
 
   -->|link=subject<!--
 
   -->|link=subject<!--
 
   -->|order=ascending<!--
 
   -->|order=ascending<!--
   -->|template={{#ifeq: {{{bullets|}}}|Yes|TopicSubtopics-ul-format|TopicSubtopics-plain-format}}<!--
+
   -->|template={{#ifeq: {{{bullets|}}}|yes|TopicSubtopics-ul-format|TopicSubtopics-plain-format}}<!--
 
  -->}}<!-- ask
 
  -->}}<!-- ask
 
-->}}<!-- topic
 
-->}}<!-- topic
 
--></includeonly>
 
--></includeonly>

Revision as of 13:54, 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.