Difference between revisions of "Template:PrintAuthorTheories"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
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.
 +
* <code><nowiki>|default=</nowiki></code> - if, for any reason, the query returns no results, this will be printed instead.
 +
 
 
</noinclude><includeonly>{{#ask:
 
</noinclude><includeonly>{{#ask:
 
  [[Category:Theory]]
 
  [[Category:Theory]]
Line 16: Line 18:
 
  |format=table
 
  |format=table
 
  |intro={{{intro|}}}  
 
  |intro={{{intro|}}}  
 +
|outro={{{outro|}}}
 +
|default={{{default|}}}
 
  |link=subject
 
  |link=subject
 
  |headers=plain
 
  |headers=plain

Revision as of 20:33, 19 August 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.