Template:AD/BC year
Jump to navigation
Jump to search
2024
Use this template to convert astronomically numbered years to AD or BC years. If the parameter given is positive, then the template will just return back the same value.
Examples (for years near the beginning of the Common Era)
{{AD/BC year|-2}}
gives3 BC
(expected answer: 3 BC){{AD/BC year|-1}}
gives2 BC
(expected answer: 2 BC){{AD/BC year|0}}
gives1 BC
(expected answer: 1 BC){{AD/BC year|1}}
gives1
(expected answer: 1){{AD/BC year|2}}
gives2
(expected answer: 2){{AD/BC year|3}}
gives3
(expected answer: 3)
The above documentation is transcluded from Template:AD/BC year/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |