Difference between revisions of "Template:Modification"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
Line 50: Line 50:
 
--><!-- set Parent Modifications
 
--><!-- set Parent Modifications
 
-->{{SetMultipleValues|values={{{Parent Modifications|}}}|property=Parent Modifications|excludeself=yes}}<!--
 
-->{{SetMultipleValues|values={{{Parent Modifications|}}}|property=Parent Modifications|excludeself=yes}}<!--
 +
--><!--
 +
--><!-- store the list of not accepted parents (deduce from the list of parent modifications)
 +
-->{{#arraydefine:parentsArray|{{GetPropertyValues|object={{FULLPAGENAME}}|property=Parent Modifications}} }}<!--
 +
-->{{#arrayunique:parentsArray}}<!--
 +
-->{{#arrayprint:parentsArray||@@@@|<!--
 +
-->{{#ifeq: {{#show: @@@@|?Verdict}}|Not Accepted|{{#set:Not Accepted Parent=@@@@}}|}}<!--
 +
-->}}<!-- print
 
--><!--  
 
--><!--  
 
--><!-- set Incompatible Modifications
 
--><!-- set Incompatible Modifications
Line 55: Line 62:
 
--><!--  
 
--><!--  
 
--><!-- set the questions answered (deduce from the list of To Accept theories)
 
--><!-- set the questions answered (deduce from the list of To Accept theories)
--><!--
 
 
-->{{#arraydefine:theoriesArray|{{{To Accept|}}} }}<!--
 
-->{{#arraydefine:theoriesArray|{{{To Accept|}}} }}<!--
 
-->{{#arrayunique:theoriesArray}}<!--
 
-->{{#arrayunique:theoriesArray}}<!--
Line 67: 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|Verdict Rationale=The modification was not accepted because its acceptance was contingent upon the acceptance of modification(s) {{GetPropertyValues|object={{FULLPAGENAME}}|property=Parent Modifications|pretty=yes|link=all}} at least one of which was deemed not acceptable.|}}<!--
+
     -->{{#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. |}}<!--
 
     -->{{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 modification(s) {{GetPropertyValues|object={{FULLPAGENAME}}|property=Parent Modifications|pretty=yes|link=all}} become(s) accepted.|}}<!--  
+
   -->|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.|}}<!--  
 
   --><!-- 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 01:46, 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.