Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:YR: Difference between revisions

Template page
Joe Beaudoin Jr. (talk | contribs)
Created page with "<includeonly>{{#ifexpr: {{{1}}} < 100 or {{{1}}} = 0 | {{BCH|{{#expr:100 - {{{1}}}}}}} | {{ACH|{{#expr:{{{1}}}-100}}}}}}</includeonly><noinclude> =Documentation= Allows for the conversion of YR dates established in ''{{RDM|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..."
Tag: 2017 source edit
 
Joe Beaudoin Jr. (talk | contribs)
m Protected "Template:YR": critical template ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
 
(No difference)

Latest revision as of 21:09, 19 January 2025

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.

Note that the epoch of the timeline, as established by Caprica's writers, is 0 BCH (2000BYR).

Example

One to Two Digit Dates

{{YR|40}}

Output: 60 BCH (40YR)

Three Digit or Higher Dates

{{YR|101}}

Output: 1 ACH (2000BYR)