Difference between revisions of "Template:PrintModificationSupersededBy"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
 
Line 14: Line 14:
 
</noinclude><includeonly><!--
 
</noinclude><includeonly><!--
 
-->{{#ifeq: {{#show:{{{modification|}}}|?Verdict}}|Not Accepted<!--
 
-->{{#ifeq: {{#show:{{{modification|}}}|?Verdict}}|Not Accepted<!--
  -->|{{GetPropertyValues|object={{{modification|}}}|property=Superseded By|intro={{{intro|}}}|outro={{{outro|}}}|default={{{default|}}}|link={{{link|}}}|pretty={{{pretty|}}}|}}
+
  -->|{{GetPropertyValues|object={{{modification|}}}|property=Superseded By|intro={{{intro|}}}|outro={{{outro|}}}|default={{{default|}}}|link={{{link|}}}|pretty={{{pretty|}}}|}}<!--
 
-->}}<!-- if the verdict is Not Accepted  
 
-->}}<!-- if the verdict is Not Accepted  
 
--></includeonly>
 
--></includeonly>

Latest revision as of 02:03, 18 January 2017

This template is used to return the list of modifications that superseded the modification in one line with an option to add links and/or print it pretty.

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

Parameters:

  • |modification= - the fullpagename of the modification.
  • |intro= - initial text that prepends 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.
  • |link= - determines whether the values are to be printed as links to the respective pages (where available); possible values are none, subject, all. If not given all is the default.
  • |pretty= - if non empty, a pretty list is produced where the last two elements are chained with an and (or the local languages equivalent).