Difference between revisions of "Template:Modification"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
 
(48 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
{{Modification
 
{{Modification
 
|Summary=
 
|Summary=
 +
|Community=
 
|Date Suggested Era=
 
|Date Suggested Era=
 
|Date Suggested Year=
 
|Date Suggested Year=
Line 16: Line 17:
 
|To Accept=
 
|To Accept=
 
|To Reject=
 
|To Reject=
|Parent Modification=
+
|To Accept Questions=
 +
|To Reject Questions=
 +
|Parent Modifications=
 +
|Incompatible Modifications=
 
|Verdict=
 
|Verdict=
 
|Date Assessed Era=
 
|Date Assessed Era=
Line 24: Line 28:
 
|Date Assessed Approximate=
 
|Date Assessed Approximate=
 
|Verdict Rationale=
 
|Verdict Rationale=
 +
|Superseded By=
 +
|Automatic=
 
}}
 
}}
 
</pre>
 
</pre>
Line 31: Line 37:
 
--><!--  
 
--><!--  
 
--><!-- set the values
 
--><!-- set the values
-->{{#set:Summary={{{Summary|}}}|Resource={{{Resource|}}}|}}<!--
+
-->{{#set:Community={{{Community|}}}|Summary={{{Summary|}}}|Resource={{{Resource|}}}|Verdict Chart={{{Verdict Chart|}}}|Automatic={{{Automatic|No}}}|}}<!--
 
--><!--  
 
--><!--  
 
--><!-- set the authors
 
--><!-- set the authors
Line 44: Line 50:
 
--><!-- set To Reject theories
 
--><!-- set To Reject theories
 
-->{{SetMultipleValues|values={{{To Reject|}}}|property=To Reject}}<!--
 
-->{{SetMultipleValues|values={{{To Reject|}}}|property=To Reject}}<!--
 +
--><!--
 +
--><!-- set To Accept questions
 +
-->{{SetMultipleValues|values={{{To Accept Questions|}}}|property=To Accept Questions}}<!--
 +
--><!--
 +
--><!-- set To Reject questions
 +
-->{{SetMultipleValues|values={{{To Reject Questions|}}}|property=To Reject Questions}}<!--
 +
--><!--
 +
--><!-- set Parent Modifications
 +
-->{{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|link=none}} }}<!--
 +
-->{{#arrayunique: parentsArray}}<!--
 +
-->{{#arrayprint: parentsArray||@@@@|<!--
 +
-->{{#ifeq: {{#show: @@@@|?Verdict}}|Not Accepted|{{#set:Not Accepted Parent=@@@@}}|}}<!--
 +
-->}}<!-- print
 +
--><!--
 +
--><!-- set Incompatible Modifications
 +
-->{{SetMultipleValues|values={{{Incompatible Modifications|}}}|property=Incompatible Modifications|excludeself=yes}}<!--
 
--><!--  
 
--><!--  
 
--><!-- 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}}<!--
-->{{#arrayprint:theoriesArray||@@@@|{{#set:Answers Question={{#show: @@@@|?Topic|link=none}} }}|}}<!--  
+
-->{{#arrayprint:theoriesArray||@@@@|{{#set:Answers Question={{#show: @@@@|?Topic|link=none}}|+sep=,}}|}}<!--  
 +
 
 +
 
 
--><!--  
 
--><!--  
--><!-- set the parent modification if the parent itself doesn't have a parent
+
-->{{#if: {{GetPropertyValues|object={{FULLPAGENAME}}|property=Parent Modifications|link=none}}<!--
-->{{#if: {{{Parent Modification|}}}| <!--  
+
-->|<!-- if there are parents
--><!--  
+
  -->{{#switch: {{PrintParentModificationsVerdict|modification={{FULLPAGENAME}}|}}<!--
--><!-- the parent cannot be self
+
  --><!-- if at least one of the parent modifications is not accepted, then neither is this one
-->{{#ifeq: {{{Parent Modification|}}}|{{FULLPAGENAME}}<!--  
+
  -->|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. |}}<!--
 +
    -->{{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
 +
  -->|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
 +
  -->|Accepted=<!--
 +
    -->{{#set: Verdict={{{Verdict|}}}|Parent Verdict=Parent Accepted|Verdict Rationale={{#replace:{{{Verdict Rationale|}}}|CiteRef::|CITE_}}|}}<!--
 +
    -->{{SetDatePropertyValue|property=Date Assessed|year={{{Date Assessed Year|}}}|month={{{Date Assessed Month|}}}|day={{{Date Assessed Day|}}}|era={{{Date Assessed Era|}}}|approximate={{{Date Assessed Approximate|}}}|}}<!--  
 +
    --><!-- store the Superseded By values if own verdict is Not Accepted
 +
    -->{{#ifeq: {{{Verdict|}}}|Not Accepted<!--
 +
    -->|{{#if: {{{Superseded By|}}}<!--
 +
      -->|{{SetMultipleValues|values={{{Superseded By|}}}|property=Superseded By}}<!--
 +
      -->}}<!-- if Superseded By
 +
    -->}}<!-- if verdict is Not Accepted
 +
  --><!--
 +
  -->}}<!-- switch Parent's verdict
 
   --><!--  
 
   --><!--  
  -->|{{note}} The acceptance of a modification cannot depend upon itself: the parent modification should either be empty or refer to some other modification.<!--  
+
--><!-- else (no parents): store the regular values
  --><!--
+
 
  -->|{{#if: {{#show: {{{Parent Modification|}}} |?Parent Modification}} <!--
+
  -->|{{#set: Verdict={{{Verdict|}}}|Verdict Rationale={{#replace:{{{Verdict Rationale|}}}|CiteRef::|CITE_}}|}}<!--  
    --><!--
+
  -->{{SetDatePropertyValue|property=Date Assessed|year={{{Date Assessed Year|}}}|month={{{Date Assessed Month|}}}|day={{{Date Assessed Day|}}}|era={{{Date Assessed Era|}}}|approximate={{{Date Assessed Approximate|}}}|}}<!--
    -->|{{note}} A modification that itself has a parent modification cannot be a parent: the depth of the modification tree can not exceed 2 levels.<!--
+
  --><!-- store the Superseded By values if own verdict is Not Accepted
    --><!-- all good - go ahead set the modification  
+
  -->{{#ifeq: {{{Verdict|}}}|Not Accepted<!--
    -->|{{#set: Parent Modification={{{Parent Modification|}}}|}}<!--
+
  -->|{{#if: {{{Superseded By|}}}<!--
    --><!--
+
    -->|{{SetMultipleValues|values={{{Superseded By|}}}|property=Superseded By}}<!--
    -->{{#switch: {{#show: {{{Parent Modification|}}} |?Verdict}}<!--
+
    -->}}<!-- if Superseded By
    --><!-- if the parent modification is not accepted, then neither is this one
+
  -->}}<!-- if verdict is Not Accepted
    -->|Not Accepted=<!--
 
      -->{{#set: Verdict=Not Accepted|Verdict Rationale=Parent Not Accepted|}}<!--
 
      -->{{SetDatePropertyValueFromAnotherProperty|property=Date Assessed|sourceobject={{{Parent Modification|}}}|sourceproperty=Date Assessed}}<!--
 
    --><!-- if the parent modification is still open, then so is this one
 
    -->|Open={{#set: Verdict=Open|Verdict Rationale=Parent Open|}}<!--
 
    --><!-- it the parent modification is accepted, then this one can have any one of the three verdicts
 
    -->|Accepted=<!--
 
      -->{{#set: Verdict={{{Verdict|}}}|Verdict Rationale={{{Verdict Rationale|}}}|}}<!--
 
      -->{{SetDatePropertyValue|property=Date Assessed|year={{{Date Assessed Year|}}}|month={{{Date Assessed Month|}}}|day={{{Date Assessed Day|}}}|era={{{Date Assessed Era|}}}|approximate={{{Date Assessed Approximate|}}}|}}<!--  
 
    --><!--  
 
    -->}}<!-- switch Parent's verdict
 
    --><!--  
 
  -->}}<!-- if the parent has a parent
 
  --><!--  
 
-->}}<!-- ifeq parent=self
 
 
  --><!--  
 
  --><!--  
--><!-- else: store the regular values
+
-->}}<!-- if parent modifications are given
-->|{{#set: Verdict={{{Verdict|}}}|Verdict Rationale={{{Verdict Rationale|}}}|}}<!--
+
 
  -->{{SetDatePropertyValue|property=Date Assessed|year={{{Date Assessed Year|}}}|month={{{Date Assessed Month|}}}|day={{{Date Assessed Day|}}}|era={{{Date Assessed Era|}}}|approximate={{{Date Assessed Approximate|}}}|}}<!--
 
--><!--
 
-->}}<!-- if parent modification is given
 
 
--><!--  
 
--><!--  
 
--><!-- print the page  
 
--><!-- print the page  
 
-->{{{Summary|}}}
 
-->{{{Summary|}}}
  
{{PrintModificationAuthorYearResource|modification={{FULLPAGENAME}}|}}
+
{{PrintModificationDetails|modification={{FULLPAGENAME}}|}}
{{PrintModificationParentModification|modification={{FULLPAGENAME}}|}}
+
<!--
 +
-->{{PrintModificationParentModifications|modification={{FULLPAGENAME}}|}}<!--
 +
-->{{PrintModificationIncompatibleModifications|modification={{FULLPAGENAME}}|}}<!--
 +
-->{{PrintModificationVerdict|modification={{FULLPAGENAME}}|}}<!--
 +
-->{{PrintModificationSupersededBy|modification={{FULLPAGENAME}}|intro=It was superseded by&#32;|outro=.|link=all|pretty=yes}}
 
==Preamble==
 
==Preamble==
 +
{{PrintSectionVideos|page={{FULLPAGENAME}}|section=Preamble}}
 
{{{Preamble|}}}  
 
{{{Preamble|}}}  
  
 
==Modification==
 
==Modification==
 +
{{PrintSectionVideos|page={{FULLPAGENAME}}|section=Modification}}
 
{{{Modification|}}}  
 
{{{Modification|}}}  
 
 
{{PrintModificationToAccept
 
{{PrintModificationToAccept
 
  |modification={{FULLPAGENAME}}
 
  |modification={{FULLPAGENAME}}
 
  |diagram=yes
 
  |diagram=yes
  |intro='''To Accept:'''
+
  |intro=<nowiki> </nowiki>
  |default=This modification doesn't seem to suggest any new theories to be accepted, which is very strange (perhaps the data is incomplete). Please click on "Edit" and enter the theories that are to be accepted.
+
===Theories To Accept===
}}
+
<nowiki> </nowiki>
 
+
}}{{PrintModificationToReject
{{PrintModificationToReject
+
  |modification={{FULLPAGENAME}}
 +
|intro=<nowiki> </nowiki> 
 +
===Theories To Reject===  
 +
<nowiki> </nowiki> 
 +
}}{{PrintModificationToAcceptQuestions
 +
|modification={{FULLPAGENAME}}
 +
|intro=<nowiki> </nowiki>
 +
===Questions To Accept===
 +
<nowiki> </nowiki>
 +
}}{{PrintModificationToRejectQuestions
 
  |modification={{FULLPAGENAME}}
 
  |modification={{FULLPAGENAME}}
  |intro='''To Reject:'''
+
  |intro=<nowiki> </nowiki>
  |default=This modification doesn't suggest any rejections.
+
===Questions To Reject===
}}
+
<nowiki> </nowiki>  
{{PrintModificationQuestionsAnswered
+
}}{{PrintModificationQuestionsAnswered
 
  |modification={{FULLPAGENAME}}
 
  |modification={{FULLPAGENAME}}
  |intro===Questions Answered==
+
  |intro=<nowiki> </nowiki> 
 +
==Questions Answered==
 
This modification attempts to answer the following question(s):
 
This modification attempts to answer the following question(s):
 
}}
 
}}
 +
==Verdict==
 +
{{PrintSectionVideos|page={{FULLPAGENAME}}|section=Verdict}}
 
{{PrintModificationVerdict
 
{{PrintModificationVerdict
 
  |modification={{FULLPAGENAME}}
 
  |modification={{FULLPAGENAME}}
  |intro===Verdict==
+
  |print verdict rationale=yes
<nowiki> </nowiki>
+
|print verdict chart=yes
 
}}
 
}}
Click on the Discussion tab for comments.
+
{{PrintModificationSupersededBy
 
+
  |modification={{FULLPAGENAME}}
<!--add categories -->
+
|intro=This modification was superseded by&#32;
{{#switch: {{#show:{{FULLPAGENAME}}|?Verdict}}
+
  |outro=.
  |Accepted=[[Category:Accepted Modification]] [[Category:{{GetDatePropertyValueYearWithBCE|object={{FULLPAGENAME}}|property=Date Assessed}} Assessed Modification]]
+
|link=all
  |Not Accepted=[[Category:Not Accepted Modification]] [[Category:{{GetDatePropertyValueYearWithBCE|object={{FULLPAGENAME}}|property=Date Assessed}} Assessed Modification]]
+
  |pretty=yes
  |[[Category:Open Modification]]
 
 
}}
 
}}
 
+
Click on the [[{{TALKPAGENAME}}|Discussion]] tab for comments.<!--
{{DEFAULTSORT: {{FULLPAGENAME}} }}
+
--><!--
__NOEDITSECTION__
+
--><!--add categories
__NOCACHE__
+
--><!--
</includeonly>
+
-->[[Category:Modification]]<!--
 +
--><!--
 +
-->{{#switch: {{#show:{{FULLPAGENAME}}|?Verdict}}<!--
 +
--> |Accepted=[[Category:Accepted Modification]] [[Category:{{GetDatePropertyValueYearWithBCE|object={{FULLPAGENAME}}|property=Date Assessed}} Assessed Modification]]<!--
 +
--> |Not Accepted=[[Category:Not Accepted Modification]] [[Category:{{GetDatePropertyValueYearWithBCE|object={{FULLPAGENAME}}|property=Date Assessed}} Assessed Modification]]<!--
 +
--> |[[Category:Open Modification]]<!--
 +
-->}}<!-- switch
 +
--><!--
 +
--><!-- add default sort
 +
-->{{DEFAULTSORT: {{FULLPAGENAME}} }}<!--
 +
--><!--
 +
--><!-- add magic words
 +
-->__NOEDITSECTION__ <!--
 +
-->__NOCACHE__ <!--
 +
--></includeonly>

Latest revision as of 14:19, 29 July 2023

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=
|To Accept Questions=
|To Reject Questions=
|Parent Modifications=
|Incompatible Modifications=
|Verdict=
|Date Assessed Era=
|Date Assessed Year=
|Date Assessed Month=
|Date Assessed Day=
|Date Assessed Approximate=
|Verdict Rationale=
|Superseded By=
|Automatic=
}}

Edit the page to see the template text.