Difference between revisions of "Template:Acceptance Record"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
Line 26: Line 26:
 
* <code><nowiki>Accepted by Community</nowiki></code> - the community that accepted the theory.
 
* <code><nowiki>Accepted by Community</nowiki></code> - the community that accepted the theory.
 
* <code><nowiki>Accepted From</nowiki></code> - the start of the period of acceptance; if empty, the theory was accepted since the inception of the community.  
 
* <code><nowiki>Accepted From</nowiki></code> - the start of the period of acceptance; if empty, the theory was accepted since the inception of the community.  
* <code><nowiki>Still Accepted</nowiki></code> - if Yes, the theory is still accepted.
+
* <code><nowiki>Still Accepted</nowiki></code> - if Yes, the theory is still accepted and <code><nowiki>Accepted Until</nowiki></code> fields are empty
 
* <code><nowiki>Accepted Until</nowiki></code> - the end of the period of acceptance; if empty, the theory is still accepted by the community.  
 
* <code><nowiki>Accepted Until</nowiki></code> - the end of the period of acceptance; if empty, the theory is still accepted by the community.  
  
All date fields include all normal date parts (Year, Month, etc.).
+
'''NOTE:''' All date fields include all normal date parts (Year, Month, Day, etc.).
  
 
Edit the page to see the template text.
 
Edit the page to see the template text.
Line 46: Line 46:
 
  -->|Accepted From Approximate={{#if: {{{Accepted From Year|}}}|{{{Accepted From Approximate|}}}|}}<!-- store approximate only if the year is given  
 
  -->|Accepted From Approximate={{#if: {{{Accepted From Year|}}}|{{{Accepted From Approximate|}}}|}}<!-- store approximate only if the year is given  
 
  -->|Still Accepted={{{Still Accepted|Yes}}}<!-- this field for the ease of querying currently accepted theories. Yes is the default.
 
  -->|Still Accepted={{{Still Accepted|Yes}}}<!-- this field for the ease of querying currently accepted theories. Yes is the default.
  -->|Accepted Until={{PrintDateValue|era={{{Accepted Until Era|}}}|year={{{Accepted Until Year|}}}|month={{{Accepted Until Month|}}}|day={{{Accepted Until Day|}}}|}}<!--  
+
  -->|Accepted Until={{#ifeq:{{{Still Accepted|}}}|No|{{PrintDateValue|era={{{Accepted Until Era|}}}|year={{{Accepted Until Year|}}}|month={{{Accepted Until Month|}}}|day={{{Accepted Until Day|}}}|}}|}}<!--  
  -->|Accepted Until Era={{#if: {{{Accepted Until Year|}}}|{{{Accepted Until Era|}}}|}}<!-- store era only if the year is given
+
  -->|Accepted Until Era={{#ifeq:{{{Still Accepted|}}}|No|{{{Accepted Until Era|}}}|}}<!-- store era only if not still accepted
  -->|Accepted Until Year={{{Accepted Until Year|}}}<!--  
+
  -->|Accepted Until Year={{#ifeq:{{{Still Accepted|}}}|No|{{{Accepted Until Year|}}}|}}<!-- store year only if not still accepted
  -->|Accepted Until Month={{#if: {{{Accepted Until Year|}}}|{{{Accepted Until Month|}}}|}}<!-- store the month only if the year is given
+
  -->|Accepted Until Month={{#ifeq:{{{Still Accepted|}}}|No|{{#if: {{{Accepted Until Year|}}}|{{{Accepted Until Month|}}}|}}|}}<!-- store the month only if not still accepted and the year is given
  -->|Accepted Until Day={{#if: {{{Accepted Until Year|}}}|{{#if: {{{Accepted Until Month|}}}|{{{Accepted Until Day|}}}|}}|}}<!-- store the day only if the year and month are given
+
  -->|Accepted Until Day={{#ifeq:{{{Still Accepted|}}}|No|{{#if: {{{Accepted Until Year|}}}|{{#if: {{{Accepted Until Month|}}}|{{{Accepted Until Day|}}}|}}|}}|}}<!-- store the day only if not still accepted and the year and month are given
  -->|Accepted Until Approximate={{#if: {{{Accepted Until Year|}}}|{{{Accepted Until Approximate|}}}|}}<!-- store approximate only if the year is given  
+
  -->|Accepted Until Approximate={{#ifeq:{{{Still Accepted|}}}|No|{{#if: {{{Accepted Until Year|}}}|{{{Accepted Until Approximate|}}}|}}|}}<!-- store approximate only if not still accepted and the year is given  
 
-->}}<!--
 
-->}}<!--
 
--><!--  
 
--><!--  
 
--><!-- nothing to print  
 
--><!-- nothing to print  
 
--></includeonly>
 
--></includeonly>

Revision as of 05:25, 27 August 2016

This is the "Acceptance Record" template. This template is used from within all theory templates to create subobjects for all individual acceptances/rejections.

It should be called in the following format:

{{Acceptance Record
|Accepted by Community=
|Accepted From Era=
|Accepted From Year=
|Accepted From Day=
|Accepted From Month=
|Accepted From Approximate=
|Still Accepted=
|Accepted Until Era=
|Accepted Until Year=
|Accepted Until Day=
|Accepted Until Month=
|Accepted Until Approximate=
}}

The template creates a subobject with the following properties:

  • SubObjectCategory = "Acceptance Record".
  • Theory - the theory.
  • Topic - the question the theory is trying to answer.
  • Accepted by Community - the community that accepted the theory.
  • Accepted From - the start of the period of acceptance; if empty, the theory was accepted since the inception of the community.
  • Still Accepted - if Yes, the theory is still accepted and Accepted Until fields are empty
  • Accepted Until - the end of the period of acceptance; if empty, the theory is still accepted by the community.

NOTE: All date fields include all normal date parts (Year, Month, Day, etc.).

Edit the page to see the template text.