Difference between revisions of "Template:PrintAuthorModifications"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
 
(4 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 modifications 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:Modification]]
 
  [[Category:Modification]]
 
  [[Has Author::{{{author|}}}]]  
 
  [[Has Author::{{{author|}}}]]  
|?Year Suggested
 
|?Summary
 
|?Verdict
 
|?Year Assessed
 
|?Verdict Rationale
 
 
  |format=template
 
  |format=template
 
  |intro={{{intro|}}}  
 
  |intro={{{intro|}}}  
  |sort=Year Suggested
+
  |outro={{{outro|}}}
  |sep=;
+
|default={{{default|}}}
 +
|order=asc
 +
  |link=none
 
  |template=Modification-ul-format
 
  |template=Modification-ul-format
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 20:43, 31 August 2016

Use this template to print all the modifications 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.