Difference between revisions of "Template:PrintAuthorTheories"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
 
(9 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
'''Parameters:'''
 
'''Parameters:'''
 
* <code><nowiki>|author=</nowiki></code> - the author's full name.
 
* <code><nowiki>|author=</nowiki></code> - the author's full name.
* <code><nowiki>|intro=</nowiki></code> - the text that should precede the list, e.g. "Here are the theories suggested by the author:".
+
* <code><nowiki>|intro=</nowiki></code> - initial text that precedes 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.
</noinclude><includeonly>{{#ask:
+
* <code><nowiki>|default=</nowiki></code> - if, for any reason, the query returns no results, this will be printed instead.
  [[Category:Theory]]
+
 
  [[Has Author::{{{author|}}}]]  
+
</noinclude><includeonly><!--
  |mainlabel=Theory
+
-->{{#ask:<!--
  |?Formulation Text=Formulation
+
  -->[[Category:Theory]]<!--
  |?Year Formulated=Year Formulated
+
  -->[[Has Author::{{{author|}}}]]<!--
  |format=table
+
  -->|mainlabel=Title<!--
  |intro={{{intro|}}}  
+
-->|?Theory Type=Type<!--
  |link=subject
+
  -->|?Formulation Text=Formulation<!--
  |headers=plain
+
  -->|?Formulated Year=Formulated In<!--
  |sort=Year Formulated
+
  -->|format=table<!--
  |order=ascending
+
  -->|intro={{{intro|}}}<!--
}}</includeonly>
+
  -->|outro={{{outro|}}}<!--
 +
-->|default={{{default|}}}<!--
 +
-->|link=subject<!--
 +
  -->|headers=plain<!--
 +
  -->|sort=Formulated Year<!--
 +
  -->|order=ascending<!--
 +
-->}}<!--
 +
--></includeonly>

Latest revision as of 05:20, 3 September 2016

Use this template to print all the theories suggested by the author.

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

Parameters:

  • |author= - the author's full name.
  • |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.