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

Template:BCH: Difference between revisions

Template page
Joe Beaudoin Jr. (talk | contribs)
No edit summary
Joe Beaudoin Jr. (talk | contribs)
No edit summary
Line 11: Line 11:


==Usage==
==Usage==
To use this template, provide the BCH date as the first parameter. You can optionally provide a `format` parameter to control the output order.
To use this template, provide the BCH date as the first parameter. You can optionally provide a format parameter to control the output order.


* `{{BCH|58}}` or `{{BCH|58|format=bch_yr}}` will output: `58 BCH (42YR)`
* {{tlp|BCH|58}} or {{tlp|BCH|58|format=bch_yr}} will output: 58 BCH (42YR)
* `{{BCH|58|format=yr_bch}}` will output: `42YR (58 BCH)`
* {{tlp|BCH|58|format=yr_bch}} will output: 42YR (58 BCH)
* `{{BCH|101}}` or `{{BCH|101|format=bch_yr}}` will output: `101 BCH (1899BYR)`
* {{tlp|BCH|101}} or {{tlp|BCH|101|format=bch_yr}} will output: 101 BCH (1899BYR)
* `{{BCH|101|format=yr_bch}}` will output: `1899BYR (101 BCH)`
* {{tlp|BCH|101|format=yr_bch}} will output: 1899BYR (101 BCH)


==Examples==
==Examples==

Revision as of 04:51, 23 July 2025

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.

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

Usage

To use this template, provide the BCH date as the first parameter. You can optionally provide a format parameter to control the output order.

  • {{BCH|58}} or {{BCH|58}} will output: 58 BCH (42YR)
  • {{BCH|58}} will output: 42YR (58 BCH)
  • {{BCH|101}} or {{BCH|101}} will output: 101 BCH (1899BYR)
  • {{BCH|101}} will output: 1899BYR (101 BCH)

Examples

One to Two Digit Dates

{{BCH|40}}

Output: 40 BCH (60YR)

{{BCH|40|format=yr_bch}}

Output: 60YR (40 BCH)

Three Digit or Higher Dates

{{BCH|101}}

Output: 101 BCH (1899BYR)

{{BCH|101|format=yr_bch}}

Output: 1899BYR (101 BCH)

Creates and maintains links between BCH and YR calendar dates within the Re-imagined Series universe.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
BCH1

The BCH number that allows translation into YR.

Default
58
Numberrequired
Output Formatformat

Specifies the output format: 'bch_yr' for BCH (YR) or 'yr_bch' for YR (BCH).

Suggested values
bch_yr yr_bch
Default
bch_yr
Stringoptional