More actions
updated |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#switch:{{{1|}}} | <includeonly>{{#switch:{{{1|}}} | ||
|#default=[[{{#ifexist:{{{1}}} BCH||Timeline (RDM){{!}}}}{{{1}}} BCH]] ({{#ifexpr: {{{1}}} > 99 | [[{{#ifexist:{{#expr:2000 - {{{1}}}}}BYR||Timeline (RDM){{!}}}}{{#expr:2000 - {{{1}}}}}BYR]]}}{{#ifexpr: {{{1}}} < 100 | [[{{#ifexist:{{#expr:100 - {{{1}}}}}YR||Timeline (RDM){{!}}}}{{#expr:100 - {{{1}}}}}YR]]}}) | |#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> | }}</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. | ||
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. | 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 {{BCH|0}}.'' | |||
==Example== | ==Example== | ||
Line 11: | Line 13: | ||
===One to Two Digit Dates=== | ===One to Two Digit Dates=== | ||
<pre>{{BCH| | <pre>{{BCH|40}}</pre> | ||
Output: {{BCH| | Output: {{BCH|40}} | ||
===Three Digit or Higher Dates=== | ===Three Digit or Higher Dates=== |
Latest revision as of 21:21, 4 February 2024
Documentation[edit]
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[edit]
One to Two Digit Dates[edit]
{{BCH|40}}
Three Digit or Higher Dates[edit]
{{BCH|101}}