Difference between revisions of "Template:PrintAuthorModifications"

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 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:
Line 18: Line 20:
 
  |format=template
 
  |format=template
 
  |intro={{{intro|}}}  
 
  |intro={{{intro|}}}  
 +
|outro={{{outro|}}}
 +
|default={{{default|}}}
 
  |sort=Year Suggested
 
  |sort=Year Suggested
 
  |sep=;
 
  |sep=;
 
  |template=Modification-ul-format
 
  |template=Modification-ul-format
 
}}</includeonly>
 
}}</includeonly>

Revision as of 21:02, 19 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.