Difference between revisions of "Template:PrintSubjectsTopics"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
(Created page with "<noinclude> This template is used to print an array of question concerning the given subject. '''NOTE:''' As any "printing" template, it doesn't store any values anywhere, b...")
 
Line 12: Line 12:
 
* <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>{{GetPropertyValuesList|object={{{subject|}}}|property=Subject|intro={{{intro|}}}|outro={{{outro|}}}|default={{{default|}}}|link={{{link|}}}|bullets={{{bullets|}}}|}}</includeonly>
+
</noinclude><includeonly>{{GetObjectsWithValueList|property=Subject|value={{{subject|}}}|intro={{{intro|}}}|outro={{{outro|}}}|default={{{default|}}}|link={{{link|}}}|bullets={{{bullets|}}}|}}</includeonly>

Revision as of 20:45, 19 January 2023

This template is used to print an array of question concerning the given subject.

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

Parameters:

  • |subject= - the page that is the subject of questions.
  • |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.
  • |link= - determines whether the values are to be printed as links to the respective pages (where available); possible values are none, subject, all. If not given all is the default.
  • |bullets= - if yes, a bullet-list will be produced.