Difference between revisions of "Template:Modification"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
Line 52: Line 52:
 
--><!--  
 
--><!--  
 
--><!-- store the list of not accepted parents (deduce from the list of parent modifications)
 
--><!-- store the list of not accepted parents (deduce from the list of parent modifications)
-->{{#arraydefine:parentsArray|{{GetPropertyValues|object={{FULLPAGENAME}}|property=Parent Modifications}} }}<!--
+
-->{{#arraydefine: parentsArray|{{GetPropertyValues|object={{FULLPAGENAME}}|property=Parent Modifications|link=none}} }}<!--
-->{{#arrayunique:parentsArray}}<!--
+
-->{{#arrayunique: parentsArray}}<!--
-->{{#arrayprint:parentsArray||@@@@|<!--
+
-->{{#arrayprint: parentsArray||@@@@|<!--
 
  -->{{#ifeq: {{#show: @@@@|?Verdict}}|Not Accepted|{{#set:Not Accepted Parent=@@@@}}|}}<!--
 
  -->{{#ifeq: {{#show: @@@@|?Verdict}}|Not Accepted|{{#set:Not Accepted Parent=@@@@}}|}}<!--
 
-->}}<!-- print
 
-->}}<!-- print
Line 73: Line 73:
 
   --><!-- if at least one of the parent modifications is not accepted, then neither is this one
 
   --><!-- if at least one of the parent modifications is not accepted, then neither is this one
 
   -->|Not Accepted=<!--
 
   -->|Not Accepted=<!--
     -->{{#set: Verdict=Not Accepted|Parent Verdict=Parent Not Accepted}}<!--
+
     -->{{#set: Verdict=Not Accepted|Parent Verdict=Parent Not Accepted|}}<!--
 
     -->{{#set: Verdict Rationale=The modification was not accepted because its acceptance was contingent upon the acceptance of {{GetPropertyValues|object={{FULLPAGENAME}}|property=Not Accepted Parent|pretty=yes|link=all|intro=modifications&#32;|outro=&#32;which were|intro one=modification&#32;|outro one=&#32;which was}} deemed unacceptable. |}}<!--
 
     -->{{#set: Verdict Rationale=The modification was not accepted because its acceptance was contingent upon the acceptance of {{GetPropertyValues|object={{FULLPAGENAME}}|property=Not Accepted Parent|pretty=yes|link=all|intro=modifications&#32;|outro=&#32;which were|intro one=modification&#32;|outro one=&#32;which was}} deemed unacceptable. |}}<!--
 
     -->{{SetDatePropertyValueFromAnotherProperty|property=Date Assessed|sourceobject={{PrintModificationEarliestNotAcceptedParentModification|modification={{FULLPAGENAME}} }}|sourceproperty=Date Assessed}}<!--
 
     -->{{SetDatePropertyValueFromAnotherProperty|property=Date Assessed|sourceobject={{PrintModificationEarliestNotAcceptedParentModification|modification={{FULLPAGENAME}} }}|sourceproperty=Date Assessed}}<!--
 
   --><!-- if no parent modification is not accepted but at least one of them is still open, then so is this one
 
   --><!-- if no parent modification is not accepted but at least one of them is still open, then so is this one
   -->|Open={{#set: Verdict=Open|Parent Verdict=Parent Open|Verdict Rationale=The modification can only become accepted once {{GetPropertyValues|object={{FULLPAGENAME}}|property=Parent Modifications|pretty=yes|link=all|intro=modifications&#32;|outro=&#32;all become|intro one=modification&#32;|outro one=&#32;becomes}} accepted.|}}<!--  
+
   -->|Open=<!--
 +
    -->{{#set: Verdict=Open|Parent Verdict=Parent Open|}}<!--
 +
    -->{{#set: Verdict Rationale=The modification can only become accepted once {{GetPropertyValues|object={{FULLPAGENAME}}|property=Parent Modifications|pretty=yes|link=all|intro=modifications&#32;|outro=&#32;all become|intro one=modification&#32;|outro one=&#32;becomes}} accepted.|}}<!--  
 
   --><!-- it the parent modification is accepted, then this one can have any one of the three verdicts
 
   --><!-- it the parent modification is accepted, then this one can have any one of the three verdicts
 
   -->|Accepted=<!--
 
   -->|Accepted=<!--

Revision as of 02:03, 21 May 2017

This is the "Modification" template. It should be called in the following format:

{{Modification
|Summary=
|Community=
|Date Suggested Era=
|Date Suggested Year=
|Date Suggested Month=
|Date Suggested Day=
|Date Suggested Approximate=
|Resource=
|Authors List=
|Preamble=
|Modification=
|To Accept=
|To Reject=
|Parent Modifications=
|Incompatible Modifications=
|Verdict=
|Date Assessed Era=
|Date Assessed Year=
|Date Assessed Month=
|Date Assessed Day=
|Date Assessed Approximate=
|Verdict Rationale=
|Superseded By=
}}

Edit the page to see the template text.