Difference between revisions of "Template:PrintModificationVerdict"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
Line 17: Line 17:
 
   --><!-- add the verdict
 
   --><!-- add the verdict
 
   -->{{#switch: {{#show:{{{modification|}}}|?Verdict}}<!--
 
   -->{{#switch: {{#show:{{{modification|}}}|?Verdict}}<!--
   -->|Open=The modification is currently being evaluated; a verdict is pending. <!--
+
   -->|Open=The modification is currently being evaluated; a verdict is pending.&#32;<!--
   -->|Accepted=The modification was accepted {{PrintDatePropertyInOnString|object={{{modification|}}}|property=Date Assessed|link=none}}.<!--
+
   -->|Accepted=The modification was accepted {{PrintDatePropertyInOnString|object={{{modification|}}}|property=Date Assessed|link=none}}.&#32;<!--
   -->|Not Accepted=The discussion was closed {{PrintDatePropertyInOnString|object={{{modification|}}}|property=Date Assessed|link=none}} and the modification was not accepted.<!--
+
   -->|Not Accepted=The discussion was closed {{PrintDatePropertyInOnString|object={{{modification|}}}|property=Date Assessed|link=none}} and the modification was not accepted.&#32;<!--
 
   -->}}<!-- switch end
 
   -->}}<!-- switch end
 
   --><!-- the rationale should always be printed since there might be something to say even when it is open (e.g. Parent Open case)
 
   --><!-- the rationale should always be printed since there might be something to say even when it is open (e.g. Parent Open case)
   -->{{#ifeq: {{{print verdict rationale|no}}}|yes|&#32;{{PrintModificationVerdictRationale|modification={{{modification|}}}|}}|}}<!--
+
   -->{{#ifeq: {{{print verdict rationale|no}}}|yes|{{PrintModificationVerdictRationale|modification={{{modification|}}}|}}|}}<!--
 
   -->{{{outro|}}}<!--
 
   -->{{{outro|}}}<!--
 
   --><!--
 
   --><!--
 
  -->|{{{default|}}}<!--
 
  -->|{{{default|}}}<!--
 
-->}}</includeonly>
 
-->}}</includeonly>

Revision as of 17:49, 9 April 2017

This template is used to print the verdict of a modification including its year of assessment and verdict rational.

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

Parameters:

  • |modification= - the modification whose verdict is to be printed.
  • |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.
  • |print verdict rationale= - if not empty, then the verdict rationale will also be printed.