|
|
Line 1: |
Line 1: |
| {{#ifexpr: {{1}} > 2015 | {{#expr:{{1}}-1982}} | {{1}} }} | | {{#switch: {{{1}}} | {{{1}}} > 2015 = {{#expr:{{{1}}}-1982}} | {{{1}}} < 2003 = {{#expr:{{{1}}}-1990}} | {{{1}}} }} |
|
| |
|
| <noinclude> | | <clear><noinclude> |
| To use this template, enter <nowiki>{{DByear|real year in YYYY format}}</nowiki>. This will convert the calendar year to the DB date for years after the DB year was mapped to the calendar year (2016-present). | | To use this template, enter <nowiki>{{DByear|real year in YYYY format}}</nowiki>. This will convert the calendar year to the DB date for years after the DB year was mapped to the calendar year (2016-present). |
|
| |
|
| [[Category: Utility templates|{{PAGENAME}}]]</noinclude> | | [[Category: Utility templates|{{PAGENAME}}]]</noinclude> |
Revision as of 14:03, 19 April 2024
{{{1}}}
<clear>
To use this template, enter {{DByear|real year in YYYY format}}. This will convert the calendar year to the DB date for years after the DB year was mapped to the calendar year (2016-present).