|
|
(2 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| {{#switch: {{{1}}} | | <onlyinclude>{{#switch: {{{1}}} |
| | {{{1}}} > 2015 = {{#expr:{{{1}}}-1982}} ABY | | | {{{1}}} > 2015 = {{#expr:{{{1}}}-1982}} ABY |
| | {{{1}}} < 2003 = {{#expr:{{{1}}}-1990}} ABY | | | {{{1}}} < 2003 = {{#expr:{{{1}}}-1990}} ABY |
Line 19: |
Line 19: |
| | {{{1}} == 2009 = 25 ABY | | | {{{1}} == 2009 = 25 ABY |
| | {{{1}} == 2010 = 27 ABY | | | {{{1}} == 2010 = 27 ABY |
| | ({{{1}}} == 2011 and {{{2}}} > 3) or ({{{1}}} == 2012 and {{{2}}} < 4) = 29 | | | ({{{1}}} == 2011 and {{{2}}} > 3) or ({{{1}}} == 2012 and {{{2}}} < 4) = 29 ABY |
| | ({{{1}}} == 2012 and {{{2}}} > 3) or ({{{1}}} == 2013 and {{{2}}} < 4) = 30 | | | ({{{1}}} == 2012 and {{{2}}} > 3) or ({{{1}}} == 2013 and {{{2}}} < 4) = 30 ABY |
| | ({{{1}}} == 2013 and {{{2}}} > 3) or ({{{1}}} == 2014 and {{{2}}} < 4) = 31 | | | ({{{1}}} == 2013 and {{{2}}} > 3) or ({{{1}}} == 2014 and {{{2}}} < 4) = 31 ABY |
| | ({{{1}}} == 2014 and {{{2}}} > 3) or ({{{1}}} == 2015 and {{{2}}} < 4) = 32 | | | ({{{1}}} == 2014 and {{{2}}} > 3) or ({{{1}}} == 2015 and {{{2}}} < 4) = 32 ABY |
| | {{{1}} == 2015 = 33 ABY | | | {{{1}} == 2015 = 33 ABY |
| | {{{1}}} }} | | | {{{1}}} }}</onlyinclude> |
| | <noinclude> |
|
| |
|
| <noinclude>
| |
| To use this template, enter <nowiki>{{DByear|real year in YYYY format|optional month in M format}}</nowiki>. This will convert the calendar year to the DB date for years prior to the Exodus (1994-2002) and after the DB year was mapped to the calendar year (2016-present). For the period when the DB year cycled every April and November, you should also include the month for accurate results. If you don't, the template will make a best guess with 50% accuracy. | | To use this template, enter <nowiki>{{DByear|real year in YYYY format|optional month in M format}}</nowiki>. This will convert the calendar year to the DB date for years prior to the Exodus (1994-2002) and after the DB year was mapped to the calendar year (2016-present). For the period when the DB year cycled every April and November, you should also include the month for accurate results. If you don't, the template will make a best guess with 50% accuracy. |
|
| |
|
| [[Category: Utility templates|{{PAGENAME}}]]</noinclude> | | [[Category: Utility templates|{{PAGENAME}}]]</noinclude> |
{{{1}}}
To use this template, enter {{DByear|real year in YYYY format|optional month in M format}}. This will convert the calendar year to the DB date for years prior to the Exodus (1994-2002) and after the DB year was mapped to the calendar year (2016-present). For the period when the DB year cycled every April and November, you should also include the month for accurate results. If you don't, the template will make a best guess with 50% accuracy.