Difference between revisions of "Template:Modification"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
 
(16 intermediate revisions by the same user not shown)
Line 17: Line 17:
 
|To Accept=
 
|To Accept=
 
|To Reject=
 
|To Reject=
 +
|To Accept Questions=
 +
|To Reject Questions=
 
|Parent Modifications=
 
|Parent Modifications=
 
|Incompatible Modifications=
 
|Incompatible Modifications=
Line 27: Line 29:
 
|Verdict Rationale=
 
|Verdict Rationale=
 
|Superseded By=
 
|Superseded By=
 +
|Automatic=
 
}}
 
}}
 
</pre>
 
</pre>
Line 34: Line 37:
 
--><!--  
 
--><!--  
 
--><!-- set the values
 
--><!-- set the values
-->{{#set:Community={{{Community|}}}|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 47: 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
 
--><!-- set Parent Modifications
Line 52: Line 61:
 
--><!--  
 
--><!--  
 
--><!-- 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 64: Line 73:
 
-->{{#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=,}}|}}<!--  
  
  
 
--><!--  
 
--><!--  
 
-->{{#if: {{GetPropertyValues|object={{FULLPAGENAME}}|property=Parent Modifications|link=none}}<!--  
 
-->{{#if: {{GetPropertyValues|object={{FULLPAGENAME}}|property=Parent Modifications|link=none}}<!--  
  -->|{{PrintParentModificationsVerdict|modification={{FULLPAGENAME}} |}} <!-- if there are parents  
+
  -->|<!-- if there are parents  
 
   -->{{#switch: {{PrintParentModificationsVerdict|modification={{FULLPAGENAME}}|}}<!--  
 
   -->{{#switch: {{PrintParentModificationsVerdict|modification={{FULLPAGENAME}}|}}<!--  
 
   --><!-- 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=<!--
     -->{{#set: Verdict={{{Verdict|}}}|Parent Verdict=Parent Accepted|Verdict Rationale={{{Verdict Rationale|}}}|}}<!--
+
     -->{{#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|}}}|}}<!--  
 
     -->{{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  
 
     --><!-- store the Superseded By values if own verdict is Not Accepted  
Line 93: Line 104:
 
  --><!-- else (no parents): store the regular values
 
  --><!-- else (no parents): store the regular values
  
  -->|{{#set: Verdict={{{Verdict|}}}|Verdict Rationale={{{Verdict Rationale|}}}|}}<!--  
+
  -->|{{#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|}}}|}}<!--
 
   -->{{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  
 
   --><!-- store the Superseded By values if own verdict is Not Accepted  
Line 115: Line 126:
 
-->{{PrintModificationSupersededBy|modification={{FULLPAGENAME}}|intro=It was superseded by&#32;|outro=.|link=all|pretty=yes}}
 
-->{{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
Line 123: Line 136:
 
  |diagram=yes
 
  |diagram=yes
 
  |intro=<nowiki> </nowiki>
 
  |intro=<nowiki> </nowiki>
===To Accept===  
+
===Theories To Accept===  
 
<nowiki> </nowiki>
 
<nowiki> </nowiki>
 
}}{{PrintModificationToReject
 
}}{{PrintModificationToReject
 
  |modification={{FULLPAGENAME}}
 
  |modification={{FULLPAGENAME}}
 
  |intro=<nowiki> </nowiki>   
 
  |intro=<nowiki> </nowiki>   
===To Reject===  
+
===Theories To Reject===
 +
<nowiki> </nowiki> 
 +
}}{{PrintModificationToAcceptQuestions
 +
|modification={{FULLPAGENAME}}
 +
|intro=<nowiki> </nowiki>
 +
===Questions To Accept===
 +
<nowiki> </nowiki>
 +
}}{{PrintModificationToRejectQuestions
 +
|modification={{FULLPAGENAME}}
 +
|intro=<nowiki> </nowiki>
 +
===Questions To Reject===  
 
<nowiki> </nowiki>   
 
<nowiki> </nowiki>   
 
}}{{PrintModificationQuestionsAnswered
 
}}{{PrintModificationQuestionsAnswered
Line 136: Line 159:
 
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}}
 
  |print verdict rationale=yes
 
  |print verdict rationale=yes
  |intro===Verdict==
+
  |print verdict chart=yes
<nowiki> </nowiki>
 
 
}}
 
}}
 
{{PrintModificationSupersededBy
 
{{PrintModificationSupersededBy
Line 149: Line 173:
 
  |pretty=yes
 
  |pretty=yes
 
}}
 
}}
Click on the [[{{TALKPAGENAME}}|Discussion]] tab for comments.
+
Click on the [[{{TALKPAGENAME}}|Discussion]] tab for comments.<!--
 
+
--><!--
<!--add categories -->
+
--><!--add categories  
{{#switch: {{#show:{{FULLPAGENAME}}|?Verdict}}
+
--><!--
|Accepted=[[Category:Accepted Modification]] [[Category:{{GetDatePropertyValueYearWithBCE|object={{FULLPAGENAME}}|property=Date Assessed}} Assessed Modification]]
+
-->[[Category:Modification]]<!--
|Not Accepted=[[Category:Not Accepted Modification]] [[Category:{{GetDatePropertyValueYearWithBCE|object={{FULLPAGENAME}}|property=Date Assessed}} Assessed Modification]]
+
--><!--
|[[Category:Open 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]]<!--
{{DEFAULTSORT: {{FULLPAGENAME}} }}
+
--> |[[Category:Open Modification]]<!--
__NOEDITSECTION__
+
-->}}<!-- switch
__NOCACHE__
+
--><!--
</includeonly>
+
--><!-- 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.