Difference between revisions of "Template:PrintModificationSupersededBy"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
(Created page with "<noinclude> 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''. ''...")
 
Line 12: Line 12:
 
* <code><nowiki>|pretty=</nowiki></code> - if non empty, a ''pretty'' list is produced where the last two elements are chained with an ''and'' (or the local languages equivalent).
 
* <code><nowiki>|pretty=</nowiki></code> - if non empty, a ''pretty'' list is produced where the last two elements are chained with an ''and'' (or the local languages equivalent).
  
</noinclude><includeonly>{{GetPropertyValues|object={{{modification|}}}|property=Superseded By|intro={{{intro|}}}|outro={{{outro|}}}|default={{{default|}}}|link={{{link|}}}|pretty={{{pretty|}}}|}}</includeonly>
+
</noinclude><includeonly><!--
 +
-->{{#ifeq: {{#show:{{{modification|}}}|?Verdict}}|Not Accepted<!--
 +
-->|{{GetPropertyValues|object={{{modification|}}}|property=Superseded By|intro={{{intro|}}}|outro={{{outro|}}}|default={{{default|}}}|link={{{link|}}}|pretty={{{pretty|}}}|}}
 +
-->}}<!-- if the verdict is Not Accepted
 +
--></includeonly>

Revision as of 01:59, 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).