Difference between revisions of "Template:PrintTopicTheories"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
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 printed as links to the respective pages (where available); possible values are ''none'', ''subject'', ''all''. If not given ''all'' is the default.
  
</noinclude><includeonly>{{#ask:
+
</noinclude><includeonly><!--
  [[Category:Theory]]
+
-->{{#ask:<!--
  [[Topic::{{{topic|}}}]]  
+
  -->[[Category:Theory]]<!--
  |mainlabel=Theory
+
  -->[[Topic::{{{topic|}}}]]<!--
  |?Formulation Text=Formulation
+
  -->|mainlabel=Theory<!--
  |?Year Formulated=Year Formulated
+
  -->|?Formulation Text=Formulation<!--
  |format=table
+
  -->|?Formulated Year=Formulated In<!--
  |intro={{{intro|}}}  
+
  -->|format=table<!--
  |outro={{{outro|}}}  
+
  -->|intro={{{intro|}}}<!--
  |default={{{default|}}}  
+
  -->|outro={{{outro|}}}<!--
  |link=subject
+
  -->|default={{{default|}}}<!--
  |headers=plain
+
  -->|link={{{link|}}}<!--
  |sort=Year Formulated
+
  -->|headers=plain<!--
  |order=ascending
+
  -->|sort=Formulated Year<!--
}}</includeonly>
+
  -->|order=asc<!--
 +
-->}}<!--
 +
--></includeonly>

Latest revision as of 04:02, 3 September 2016

This template is used to print all the theories on the topic.

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

Parameters:

  • |topic= - the topic.
  • |intro= - initial text that prepends 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.