Difference between revisions of "Template:PrintTopicAcceptedTheoriesList"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
(Created page with "<noinclude> 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...")
 
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>|link=</nowiki></code> - determines whether the values are to be printer as links to the respective pages (where available); possible values are ''none'', ''subject'', ''all''. If not given ''all'' is the default.
+
* <code><nowiki>|bullets=</nowiki></code> - if yes, a bullet-list will be produced; otherwise (default) the list will simply start from a new line.
  
 
</noinclude><includeonly><!--
 
</noinclude><includeonly><!--
Line 25: Line 25:
 
   -->|mainlabel=-<!--
 
   -->|mainlabel=-<!--
 
   -->|format=template<!--
 
   -->|format=template<!--
   -->|link={{{link|}}}<!--
+
   -->|link=none<!--
 
   -->|sort=Accepted by Community,Accepted From<!--
 
   -->|sort=Accepted by Community,Accepted From<!--
 
   -->|order=ascending<!--
 
   -->|order=ascending<!--

Revision as of 21:33, 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.