Difference between revisions of "Template:Acceptance Record"

From Encyclopedia of Scientonomy
Jump to navigation Jump to search
Line 5: Line 5:
 
<pre>
 
<pre>
 
{{Acceptance Record
 
{{Acceptance Record
|Target= // the full page name of the theory or topic. If empty, the {{FULLPAGENAME}} will be used instead
+
|Target= // the full page name of the epistemic element. If empty, the {{FULLPAGENAME}} will be used instead
 
|Community=
 
|Community=
 
|Accepted From Era=
 
|Accepted From Era=
Line 25: Line 25:
 
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 full page name of the theory/topic.
+
* <code><nowiki>Element</nowiki></code> - the full page name of the epistemic element.
* <code><nowiki>Topic</nowiki></code> - the question the theory is trying to answer (empty for topics).
+
* <code><nowiki>Topic</nowiki></code> - the question the theory is trying to answer (used only for theories ).
* <code><nowiki>Parent Topic</nowiki></code> - the topic's parent topic for ease of access (empty for topics).
+
* <code><nowiki>Parent Topic</nowiki></code> - the topic's parent topic for ease of access (used only for theories).
* <code><nowiki>Community</nowiki></code> - the community that accepted the theory/topic.
+
* <code><nowiki>Community</nowiki></code> - the community that accepted the element.
* <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 From</nowiki></code> - the start of the period of acceptance; if empty, the element was accepted since the inception of 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>Still Accepted</nowiki></code> - if Yes, the element 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.  
+
* <code><nowiki>Accepted Until</nowiki></code> - the end of the period of acceptance; if empty, the element 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 38: Line 38:
 
</noinclude><includeonly><!--
 
</noinclude><includeonly><!--
 
--><!--  
 
--><!--  
--><!-- get the theory name from the target. if not give, load from the full page name
+
--><!-- get the element from the target. If not given, load from the full page name
 
-->{{#if: {{{Target|}}}<!--  
 
-->{{#if: {{{Target|}}}<!--  
  -->|{{#vardefine: varTheory|{{{Target|}}}|}}<!--  
+
  -->|{{#vardefine: varElement|{{{Target|}}}|}}<!--  
  -->|{{#vardefine: varTheory|{{FULLPAGENAME}}|}}<!--  
+
  -->|{{#vardefine: varElement|{{FULLPAGENAME}}|}}<!--  
 
-->}}<!-- if  
 
-->}}<!-- if  
 
--><!--  
 
--><!--  
-->{{#vardefine: varTopic|{{#show: {{#var:varTheory}}|?Topic|link=none}}|}}<!--  
+
-->{{#vardefine: varTopic|{{#show: {{#var:varElement}}|?Topic|link=none}}|}}<!--  
 
-->{{#if: {{#var:varTopic}}|{{#vardefine: varParentTopic|{{#show: {{#var:varTopic}}|?Parent Topic|link=none}}|}}|}}<!--  
 
-->{{#if: {{#var:varTopic}}|{{#vardefine: varParentTopic|{{#show: {{#var:varTopic}}|?Parent Topic|link=none}}|}}|}}<!--  
 
--><!--  
 
--><!--  
Line 50: Line 50:
 
-->{{#subobject:<!--  
 
-->{{#subobject:<!--  
 
  -->|SubObjectCategory=Acceptance Record<!--  
 
  -->|SubObjectCategory=Acceptance Record<!--  
  -->|Theory={{#var:varTheory}}<!--  
+
  -->|Element={{#var:varElement}}<!--  
 
  -->|Topic={{#var:varTopic}}<!-- 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
 
  -->|Parent Topic={{#var:varParentTopic}}<!-- save the parent topic too for ease of access
Line 61: Line 61:
 
  -->|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|}}}<!--  
 
  -->|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 elements. 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|}}}|}}|}}<!--  
 
  -->|Accepted Until Era={{#ifeq:{{{Still Accepted|}}}|No|{{{Accepted Until Era|}}}|}}<!-- store era only if not still accepted  
 
  -->|Accepted Until Era={{#ifeq:{{{Still Accepted|}}}|No|{{{Accepted Until Era|}}}|}}<!-- store era only if not still accepted  

Revision as of 21:10, 21 December 2022

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. Normally, the template is called from the same page for which the record should be created. If it should be called from another page, the Target parameter should indicate the page for which an acceptance record is to be created. At the moment the template is used by theories and topics.

It should be called in the following format:

{{Acceptance Record
|Target= // the full page name of the epistemic element. If empty, the {{FULLPAGENAME}} will be used instead
|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".
  • Element - the full page name of the epistemic element.
  • Topic - the question the theory is trying to answer (used only for theories ).
  • Parent Topic - the topic's parent topic for ease of access (used only for theories).
  • Community - the community that accepted the element.
  • Accepted From - the start of the period of acceptance; if empty, the element was accepted since the inception of the community.
  • Still Accepted - if Yes, the element is still accepted and Accepted Until fields are empty
  • Accepted Until - the end of the period of acceptance; if empty, the element 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.