Difference between revisions of "Template:PrintRecentModifications"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
 
'''NOTE:''' As any "printing" template, it doesn't store any values anywhere, but merely prints them on the page.
 
'''NOTE:''' As any "printing" template, it doesn't store any values anywhere, but merely prints them on the page.
  
'''Parameters:'''
 
* <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]]
 
  |format=template
 
  |format=template
|intro={{{intro|}}}
 
|outro={{{outro|}}}
 
|default={{{default|}}}
 
|order=asc
 
 
  |link=none
 
  |link=none
 
  |template=Modification-news-format
 
  |template=Modification-news-format
 
  |limit=3
 
  |limit=3
|sort=Date Suggested
 
 
  |order=desc
 
  |order=desc
 
  |searchlabel=
 
  |searchlabel=
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 20:38, 2 April 2018

Use this template to print the three most recently suggested modifications.

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