Template:BCH: Difference between revisions

Template page
m (if BCH = 0)
Line 14: Line 14:


Output: {{BCH|40}}
Output: {{BCH|40}}
{{BCH|0}}


===Three Digit or Higher Dates===  
===Three Digit or Higher Dates===  

Revision as of 21:16, 4 February 2024

Documentation

Allows for the conversion of BCH (Before Colonial Holocaust) dates to YR dates established in Caprica, and linking these to redirects that point to specific timeline pages.

This template automatically calculates BCH events based on Caprica YR dates. A two digit BCH date will result in YR statements, while anything three digits or higher results will result in BYR dates.

Example

One to Two Digit Dates

{{BCH|40}}

Output: 40 BCH (60YR)

0 BCH (2000BYR100YR)

Three Digit or Higher Dates

{{BCH|101}}

Output: 101 BCH (1899BYR)