|
|
Line 1: |
Line 1: |
| {{#switch: {{{1}}} | {{{1}}} > 2015 = {{#expr:{{{1}}}-1982}} | {{{1}}} < 2003 = {{#expr:{{{1}}}-1990}} | {{{1}}} }} | | {{#switch: {{{1}}} |
| | | {{{1}}} > 2015 = {{#expr:{{{1}}}-1982}} ABY |
| | | {{{1}}} < 2003 = {{#expr:{{{1}}}-1990}} ABY |
| | | ({{{1}}} == 2010 and {{{2}}} > 3) or ({{{1}}} == 2011 and {{{2}}} < 4) = 14 ABY |
| | | ({{{1}}} == 2010 and {{{2}}} > 3) or ({{{1}}} == 2011 and {{{2}}} < 4) = 16 ABY |
| | | ({{{1}}} == 2010 and {{{2}}} > 3) or ({{{1}}} == 2011 and {{{2}}} < 4) = 18 ABY |
| | | ({{{1}}} == 2010 and {{{2}}} > 3) or ({{{1}}} == 2011 and {{{2}}} < 4) = 20 ABY |
| | | ({{{1}}} == 2010 and {{{2}}} > 3) or ({{{1}}} == 2011 and {{{2}}} < 4) = 22 ABY |
| | | ({{{1}}} == 2010 and {{{2}}} > 3) or ({{{1}}} == 2011 and {{{2}}} < 4) = 23 ABY |
| | | ({{{1}}} == 2010 and {{{2}}} > 3) or ({{{1}}} == 2011 and {{{2}}} < 4) = 24 ABY |
| | | ({{{1}}} == 2010 and {{{2}}} > 3) or ({{{1}}} == 2011 and {{{2}}} < 4) = 26 ABY |
| | | ({{{1}}} == 2010 and {{{2}}} > 3) or ({{{1}}} == 2011 and {{{2}}} < 4) = 28 ABY |
| | | {{{1}} == 2003 = 13 ABY |
| | | {{{1}} == 2004 = 15 ABY |
| | | {{{1}} == 2005 = 17 ABY |
| | | {{{1}} == 2006 = 19 ABY |
| | | {{{1}} == 2007 = 21 ABY |
| | | {{{1}} == 2008 = 23 ABY |
| | | {{{1}} == 2009 = 25 ABY |
| | | {{{1}} == 2010 = 27 ABY |
| | | ({{{1}}} == 2011 and {{{2}}} > 3) or ({{{1}}} == 2012 and {{{2}}} < 4) = 29 |
| | | ({{{1}}} == 2012 and {{{2}}} > 3) or ({{{1}}} == 2013 and {{{2}}} < 4) = 30 |
| | | ({{{1}}} == 2013 and {{{2}}} > 3) or ({{{1}}} == 2014 and {{{2}}} < 4) = 31 |
| | | ({{{1}}} == 2014 and {{{2}}} > 3) or ({{{1}}} == 2015 and {{{2}}} < 4) = 32 |
| | | {{{1}} == 2015 = 33 ABY |
| | | {{{1}}} }} |
|
| |
|
| <clear><noinclude>
| | <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|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> |