No edit summary |
m (Protected "Template:YR": Sensitive Page ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#ifexpr: {{{1}}} < 100 or {{{1}}} = 0 | {{BCH|{{#expr:100 - {{{1}}}}}}} | {{ACH|{{#expr: | <includeonly>{{#ifexpr: {{{1}}} < 100 or {{{1}}} = 0 | {{BCH|{{#expr:100 - {{{1}}}}}}} | {{ACH|{{#expr:{{{1}}}-100}}}}}}</includeonly><noinclude> | ||
=Documentation= | =Documentation= | ||
Allows for the conversion of YR dates established in ''{{RDM|Caprica}}'' to BCH (Before [[Fall of the Twelve Colonies|Colonial Holocaust]]) dates referenced previously, and linking these to redirects that point to specific timeline pages. | Allows for the conversion of YR dates established in ''{{RDM|Caprica}}'' to BCH (Before [[Fall of the Twelve Colonies|Colonial Holocaust]]) dates referenced previously, and linking these to redirects that point to specific timeline pages. |
Latest revision as of 00:36, 15 July 2024
Documentation
Allows for the conversion of YR dates established in Caprica to BCH (Before Colonial Holocaust) dates referenced previously, and linking these to redirects that point to specific timeline pages.
This template automatically calculates Caprica YR dates to BCH event. A two digit YR date will result in BCH statements, while anything three digits or higher results will result in ACH dates.
Example
One to Two Digit Dates
{{YR|40}}
Three Digit or Higher Dates
{{YR|101}}