Template:BCH: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly>{{#switch:{{{1|}}} | <includeonly>{{#switch:{{{1|}}}|#default=[[{{#ifexist:{{{1}}} BCH||Timeline (RDM)#{{{1}}} BCH{{!}}}}{{{1}}} BCH]] ({{#ifexpr: {{{1}}} > 99 or {{{1}}} = 0 | [[{{#ifexist:{{#expr:2000 - {{{1}}}}}BYR||Timeline (RDM)#{{#expr:2000 - {{{1}}}}}BYR{{!}}}}{{#expr:2000 - {{{1}}}}}BYR]]}}{{#ifexpr: {{{1}}} < 100 and {{{1}}} > 0| [[{{#ifexist:{{#expr:100 - {{{1}}}}}YR||Timeline (RDM)#{{#expr:100 - {{{1}}}}}YR{{!}}}}{{#expr:100 - {{{1}}}}}YR]]}})}}</includeonly><noinclude> | ||
|#default=[[{{#ifexist:{{{1}}} BCH||Timeline (RDM)#{{{1}}} BCH{{!}}}}{{{1}}} BCH]] ({{#ifexpr: {{{1}}} > 99 or {{{1}}} = 0 | [[{{#ifexist:{{#expr:2000 - {{{1}}}}}BYR||Timeline (RDM)#{{#expr:2000 - {{{1}}}}}BYR{{!}}}}{{#expr:2000 - {{{1}}}}}BYR]]}}{{#ifexpr: {{{1}}} < 100 and {{{1}}} > 0| [[{{#ifexist:{{#expr:100 - {{{1}}}}}YR||Timeline (RDM)#{{#expr:100 - {{{1}}}}}YR{{!}}}}{{#expr:100 - {{{1}}}}}YR]]}}) | |||
}}</includeonly><noinclude> | |||
=Documentation= | =Documentation= | ||
Allows for the conversion of BCH (Before [[Fall of the Twelve Colonies|Colonial Holocaust]]) dates to YR dates established in ''{{RDM|Caprica}}'', and linking these to redirects that point to specific timeline pages. | Allows for the conversion of BCH (Before [[Fall of the Twelve Colonies|Colonial Holocaust]]) dates to YR dates established in ''{{RDM|Caprica}}'', and linking these to redirects that point to specific timeline pages. | ||
Revision as of 01:23, 15 June 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.
Example
One to Two Digit Dates
{{BCH|40}}
Three Digit or Higher Dates
{{BCH|101}}Creates and maintains links between BCH and YR calendar dates within the Re-imagined Series universe.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| BCH | 1 | The BCH number that allows translation into YR.
| Number | required |