Difference between revisions of "Template:Acceptance Record"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This is the "Acceptance Record" template. This template is used from within all theory templates to create subobjects for all individual acceptances/rejections.
+
This is the "Acceptance Record" template. This template is used from within all theory templates to create subobjects for all individual acceptances/rejections. The template can be in principle used by any type of entity that can be accepted. At the moment it is used by theories and topics.
  
 
It should be called in the following format:
 
It should be called in the following format:
Line 11: Line 11:
 
|Accepted From Month=
 
|Accepted From Month=
 
|Accepted From Approximate=
 
|Accepted From Approximate=
 +
|Acceptance Indicators=
 
|Still Accepted=
 
|Still Accepted=
 
|Accepted Until Era=
 
|Accepted Until Era=
Line 17: Line 18:
 
|Accepted Until Month=
 
|Accepted Until Month=
 
|Accepted Until Approximate=
 
|Accepted Until Approximate=
 +
|Rejection Indicators=
 
}}
 
}}
 
</pre>
 
</pre>
Line 22: Line 24:
 
The template creates a subobject with the following properties:
 
The template creates a subobject with the following properties:
 
* <code><nowiki>SubObjectCategory</nowiki></code> = "Acceptance Record".
 
* <code><nowiki>SubObjectCategory</nowiki></code> = "Acceptance Record".
* <code><nowiki>Theory</nowiki></code> - the theory.
+
* <code><nowiki>Theory</nowiki></code> - the full page name of the theory/topic.
* <code><nowiki>Topic</nowiki></code> - the question the theory is trying to answer.
+
* <code><nowiki>Topic</nowiki></code> - the question the theory is trying to answer (empty for topics).
* <code><nowiki>Community</nowiki></code> - the community that accepted the theory.
+
* <code><nowiki>Parent Topic</nowiki></code> - the topic's parent topic for ease of access (empty for topics).
* <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>Community</nowiki></code> - the community that accepted the theory/topic.
* <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 From</nowiki></code> - the start of the period of acceptance; if empty, the theory/topic was accepted since the inception of 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.  
+
* <code><nowiki>Still Accepted</nowiki></code> - if Yes, the theory/topic 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/topic is still accepted by the community.  
  
 
'''NOTE:''' All date fields include all normal date parts (Year, Month, Day, etc.).
 
'''NOTE:''' All date fields include all normal date parts (Year, Month, Day, etc.).
Line 34: Line 37:
 
</noinclude><includeonly><!--
 
</noinclude><includeonly><!--
 
--><!-- store as a subobject
 
--><!-- store as a subobject
 +
-->{{#vardefine: varTopic|{{#show: {{FULLPAGENAME}}|?Topic|link=none}}|}}<!--
 +
-->{{#if: {{#var:varTopic}}|{{#vardefine: varParentTopic|{{#show: {{#var:varTopic}}|?Parent Topic|link=none}}|}}|}}<!--
 
-->{{#subobject:<!--  
 
-->{{#subobject:<!--  
 
  -->|SubObjectCategory=Acceptance Record<!--  
 
  -->|SubObjectCategory=Acceptance Record<!--  
 
  -->|Theory={{FULLPAGENAME}}<!--  
 
  -->|Theory={{FULLPAGENAME}}<!--  
  -->|Topic={{#show: {{FULLPAGENAME}}|?Topic|link=none}}<!-- save the topic too for ease of access
+
  -->|Topic={{#var:varTopic}}<!-- save the topic too for ease of access
 +
-->|Parent Topic={{#var:varParentTopic}}<!-- save the parent topic too for ease of access
 
  -->|Community={{{Community|}}}<!--  
 
  -->|Community={{{Community|}}}<!--  
 
  -->|Accepted From={{PrintDateValue|era={{{Accepted From Era|}}}|year={{{Accepted From Year|}}}|month={{{Accepted From Month|}}}|day={{{Accepted From Day|}}}|}}<!--  
 
  -->|Accepted From={{PrintDateValue|era={{{Accepted From Era|}}}|year={{{Accepted From Year|}}}|month={{{Accepted From Month|}}}|day={{{Accepted From Day|}}}|}}<!--  
Line 45: Line 51:
 
  -->|Accepted From Day={{#if: {{{Accepted From Year|}}}|{{#if: {{{Accepted From Month|}}}|{{{Accepted From Day|}}}|}}|}}<!-- store the day only if the year and month are given
 
  -->|Accepted From Day={{#if: {{{Accepted From Year|}}}|{{#if: {{{Accepted From Month|}}}|{{{Accepted From Day|}}}|}}|}}<!-- store the day only if the year and month are given
 
  -->|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  
 +
-->|Acceptance Indicators={{{Acceptance Indicators|}}}<!--
 
  -->|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={{#ifeq:{{{Still Accepted|}}}|No|{{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|}}}|}}|}}<!--  
Line 52: Line 59:
 
  -->|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 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={{#ifeq:{{{Still Accepted|}}}|No|{{#if: {{{Accepted Until Year|}}}|{{{Accepted Until Approximate|}}}|}}|}}<!-- store approximate only if not still accepted and 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  
 +
-->|Rejection Indicators={{{Rejection Indicators|}}}<!-- 
 
-->}}<!--
 
-->}}<!--
 
--><!--  
 
--><!--  
 
--><!-- nothing to print  
 
--><!-- nothing to print  
 
--></includeonly>
 
--></includeonly>

Revision as of 21:29, 2 September 2016

This is the "Acceptance Record" template. This template is used from within all theory templates to create subobjects for all individual acceptances/rejections. The template can be in principle used by any type of entity that can be accepted. At the moment it is used by theories and topics.

It should be called in the following format:

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

The template creates a subobject with the following properties:

  • SubObjectCategory = "Acceptance Record".
  • Theory - the full page name of the theory/topic.
  • Topic - the question the theory is trying to answer (empty for topics).
  • Parent Topic - the topic's parent topic for ease of access (empty for topics).
  • Community - the community that accepted the theory/topic.
  • Accepted From - the start of the period of acceptance; if empty, the theory/topic was accepted since the inception of the community.
  • Still Accepted - if Yes, the theory/topic is still accepted and Accepted Until fields are empty
  • Accepted Until - the end of the period of acceptance; if empty, the theory/topic 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.