Difference between revisions of "Template:PrintTopicAcceptedTheoriesList"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
Line 28: Line 28:
 
   -->|sort=Accepted by Community,Accepted From<!--
 
   -->|sort=Accepted by Community,Accepted From<!--
 
   -->|order=ascending<!--
 
   -->|order=ascending<!--
   -->|template=TopicAcceptedTheories-ul-format<!--
+
   -->|template={{#ifeq: {{{bullets|}}}|Yes|TopicAcceptedTheories-ul-format|TopicAcceptedTheories-plain-format}}<!--
 
  -->}}<!-- ask
 
  -->}}<!-- ask
 
-->}}<!-- topic
 
-->}}<!-- topic
 
--></includeonly>
 
--></includeonly>

Revision as of 21:36, 26 August 2016

This template is used to print the accepted theories on this topic in a bullet point list. The output will say that theory A is accepted by community X, and theory B is accepted by community Y.

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

Parameters:

  • |topic= - the theory.
  • |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; otherwise (default) the list will simply start from a new line.