Difference between revisions of "Template:Acceptance Record"
Jump to navigation
Jump to search
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. | ||
+ | |||
It should be called in the following format: | It should be called in the following format: | ||
<pre> | <pre> | ||
{{Acceptance Record | {{Acceptance Record | ||
|Accepted by Community= | |Accepted by Community= | ||
− | |Accepted From= | + | |Accepted From Era= |
− | |Accepted Until= | + | |Accepted From Year= |
+ | |Accepted From Day= | ||
+ | |Accepted From Month= | ||
+ | |Accepted From Approximate= | ||
+ | |Accepted Until Era= | ||
+ | |Accepted Until Year= | ||
+ | |Accepted Until Day= | ||
+ | |Accepted Until Month= | ||
+ | |Accepted Until Approximate= | ||
}} | }} | ||
</pre> | </pre> | ||
Line 26: | Line 35: | ||
-->|Topic={{#show: {{FULLPAGENAME}}|?Topic|link=none}}<!-- save the topic too for ease of access | -->|Topic={{#show: {{FULLPAGENAME}}|?Topic|link=none}}<!-- save the topic too for ease of access | ||
-->|Accepted by Community={{{Accepted by Community|}}}<!-- | -->|Accepted by Community={{{Accepted by Community|}}}<!-- | ||
− | -->|Accepted From={{#if: {{{Accepted From|}}}|{{{Accepted From|}}}|beginning}}<!-- | + | -->|Accepted From={{#if: {{{Accepted From Year|}}}|{{PrintDateValue|era={{{Accepted From Era|}}}|year={{{Accepted From Year|}}}|month={{{Accepted From Month|}}}|day={{{Accepted From Day|}}}|}}|beginning}}<!-- |
− | -->|Accepted Until={{#if: {{{Accepted Until|}}}|{{{Accepted Until|}}}|present}}<!-- | + | -->|Accepted From Era={{#if: {{{Accepted From Year|}}}|{{{Accepted From Era|}}}|}}<!-- store era only if the year is given |
+ | -->|Accepted From Year={{{Accepted From Year|}}}<!-- | ||
+ | -->|Accepted From Month={{#if: {{{Accepted From Year|}}}|{{{Accepted From Month|}}}|}}<!-- store the month only if the year is 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 Until={{#if: {{{Accepted Until Year|}}}|{{PrintDateValue|era={{{Accepted Until Era|}}}|year={{{Accepted Until Year|}}}|month={{{Accepted Until Month|}}}|day={{{Accepted Until Day|}}}|}}|present}}<!-- | ||
+ | -->|Accepted Until Era={{#if: {{{Accepted Until Year|}}}|{{{Accepted Until Era|}}}|}}<!-- store era only if the year is given | ||
+ | -->|Accepted Until Year={{{Accepted Until Year|}}}<!-- | ||
+ | -->|Accepted Until Month={{#if: {{{Accepted Until Year|}}}|{{{Accepted Until Month|}}}|}}<!-- store the month only if 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 Approximate={{#if: {{{Accepted Until Year|}}}|{{{Accepted Until Approximate|}}}|}}<!-- store approximate only if the year is given | ||
-->}}<!-- | -->}}<!-- | ||
--><!-- | --><!-- | ||
--><!-- nothing to print<!-- | --><!-- nothing to print<!-- | ||
--></includeonly> | --></includeonly> |
Revision as of 23:38, 25 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= |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; a special value "beginning" indicates that the theory was accepted since the inception of the community.Accepted Until
- the end of the period of acceptance; a special value "present" indicates that the theory is still accepted by the community.
Edit the page to see the template text.