Template:Year

 {{#ifeq:{{{#explode:{{PAGENAME}}| |0}}|FA|First Age of the Sun}}{{#ifeq:{{{#explode:{{PAGENAME}}| |0}}|SA|Second Age of the Sun}}{{#ifeq:{{{#explode:{{PAGENAME}}| |0}}|TA|Third Age of the Sun}}{{#ifeq:{{{#explode:{{PAGENAME}}| |0}}|FO|Fourth Age of the Sun}}{{#ifeq:{{{#explode:{{PAGENAME}}| |0}}|SR|Shire Reckoning}} {{#ifeq:{{{#explode:{{PAGENAME}}| |0}}|TA|{{#ifexpr:{{{#explode:{{PAGENAME}}| |1}}}>1600| also known as Shire Reckoning |1}}}-1600|}}|{{#expr:{{{#explode:{{PAGENAME}}| |1}}}-1600}}{{#ifexpr:{{{#explode:{{PAGENAME}}| |1}}}>3020| - also known as  |1}}}-3020|}}}} }}}}{{#ifeq:{{{#explode:{{PAGENAME}}| |0}}|FO| also known as Shire Reckoning |1}}}+1420|}}|{{#expr:{{{#explode:{{PAGENAME}}| |1}}}+1420}}{{#ifexpr:{{{#explode:{{PAGENAME}}| |1}}}=1| - also known as TA 3021}} }} {{#ifexpr:{{{#explode:{{PAGENAME}}| |1}}}>5|{{#ifexist:{{{#explode:{{PAGENAME}}| |0}}} {{#expr:{{{#explode:{{PAGENAME}}| |1}}}-5}}| |0}}} {{#expr: {{{#explode:{{PAGENAME}}| |1}}}-5}}|{{{#explode:{{PAGENAME}}| |0}}} {{#expr: {{{#explode:{{PAGENAME}}| |1}}}-5}}}} -|        }} {{#ifexpr:{{{#explode:{{PAGENAME}}| |1}}}>4|{{#ifexist:{{{#explode:{{PAGENAME}}| |0}}} {{#expr:{{{#explode:{{PAGENAME}}| |1}}}-4}}| |0}}} {{#expr: {{{#explode:{{PAGENAME}}| |1}}}-4}}|{{{#explode:{{PAGENAME}}| |0}}} {{#expr: {{{#explode:{{PAGENAME}}| |1}}}-4}}}} -|        }} {{#ifexpr:{{{#explode:{{PAGENAME}}| |1}}}>3|{{#ifexist:{{{#explode:{{PAGENAME}}| |0}}} {{#expr:{{{#explode:{{PAGENAME}}| |1}}}-3}}| |0}}} {{#expr: {{{#explode:{{PAGENAME}}| |1}}}-2}}|{{{#explode:{{PAGENAME}}| |0}}} {{#expr: {{{#explode:{{PAGENAME}}| |1}}}-3}}}} -|        }} {{#ifexpr:{{{#explode:{{PAGENAME}}| |1}}}>2|{{#ifexist:{{{#explode:{{PAGENAME}}| |0}}} {{#expr:{{{#explode:{{PAGENAME}}| |1}}}-2}}| |0}}} {{#expr: {{{#explode:{{PAGENAME}}| |1}}}-1}}|{{{#explode:{{PAGENAME}}| |0}}} {{#expr: {{{#explode:{{PAGENAME}}| |1}}}-2}}}} -|        }} {{#ifexpr:{{{#explode:{{PAGENAME}}| |1}}}>1|{{#ifexist:{{{#explode:{{PAGENAME}}| |0}}} {{#expr:{{{#explode:{{PAGENAME}}| |1}}}-1}}| |0}}} {{#expr: {{{#explode:{{PAGENAME}}| |1}}}-1}}|{{{#explode:{{PAGENAME}}| |0}}} {{#expr: {{{#explode:{{PAGENAME}}| |1}}}-1}}}} -|        }} {{{#explode:{{PAGENAME}}| |0}}} {{{#explode:{{PAGENAME}}| |1}}} {{#ifeq:{{{#explode:{{PAGENAME}}| |0}}|FA|{{#ifexpr:{{{#explode:{{PAGENAME}}| |1}}}<583|- {{#ifexist:{{{#explode:{{PAGENAME}}| |0}}} {{#expr:{{{#explode:{{PAGENAME}}| |1}}}+1}}| |0}}} {{#expr: {{{#explode:{{PAGENAME}}| |1}}}+1}}|{{{#explode:{{PAGENAME}}| |0}}} {{#expr: {{{#explode:{{PAGENAME}}| |1}}}+1}}}}|        }} {{#ifexpr:{{{#explode:{{PAGENAME}}| |1}}}<582|- {{#ifexist:{{{#explode:{{PAGENAME}}| |0}}} {{#expr:{{{#explode:{{PAGENAME}}| |1}}}+2}}| |0}}} {{#expr: {{{#explode:{{PAGENAME}}| |1}}}+2}}|{{{#explode:{{PAGENAME}}| |0}}} {{#expr: {{{#explode:{{PAGENAME}}| |1}}}+2}}}}|        }} {{#ifexpr:{{{#explode:{{PAGENAME}}| |1}}}<581|- {{#ifexist:{{{#explode:{{PAGENAME}}| |0}}} {{#expr:{{{#explode:{{PAGENAME}}| |1}}}+3}}| |0}}} {{#expr: {{{#explode:{{PAGENAME}}| |1}}}+3}}|{{{#explode:{{PAGENAME}}| |0}}} {{#expr: {{{#explode:{{PAGENAME}}| |1}}}+3}}}}|        }} {{#ifexpr:{{{#explode:{{PAGENAME}}| |1}}}<580|- {{#ifexist:{{{#explode:{{PAGENAME}}| |0}}} {{#expr:{{{#explode:{{PAGENAME}}| |1}}}+4}}| |0}}} {{#expr: {{{#explode:{{PAGENAME}}| |1}}}+4}}|{{{#explode:{{PAGENAME}}| |0}}} {{#expr: {{{#explode:{{PAGENAME}}| |1}}}+4}}}}|        }} {{#ifexpr:{{{#explode:{{PAGENAME}}| |1}}}<579|- {{#ifexist:{{{#explode:{{PAGENAME}}| |0}}} {{#expr:{{{#explode:{{PAGENAME}}| |1}}}+5}}| |0}}} {{#expr: {{{#explode:{{PAGENAME}}| |1}}}+5}}|{{{#explode:{{PAGENAME}}| |0}}} {{#expr: {{{#explode:{{PAGENAME}}| |1}}}+5}}}}|        }}}} {{#ifeq:{{{#explode:{{PAGENAME}}| |0}}|SA|{{#ifexpr:{{{#explode:{{PAGENAME}}| |1}}}<3441|- {{#ifexist:{{{#explode:{{PAGENAME}}| |0}}} {{#expr:{{{#explode:{{PAGENAME}}| |1}}}+1}}| |0}}} {{#expr: {{{#explode:{{PAGENAME}}| |1}}}+1}}|{{{#explode:{{PAGENAME}}| |0}}} {{#expr: {{{#explode:{{PAGENAME}}| |1}}}+1}}}}|        }} {{#ifexpr:{{{#explode:{{PAGENAME}}| |1}}}<3440|- {{#ifexist:{{{#explode:{{PAGENAME}}| |0}}} {{#expr:{{{#explode:{{PAGENAME}}| |1}}}+2}}| |0}}} {{#expr: {{{#explode:{{PAGENAME}}| |1}}}+2}}|{{{#explode:{{PAGENAME}}| |0}}} {{#expr: {{{#explode:{{PAGENAME}}| |1}}}+2}}}}|        }} {{#ifexpr:{{{#explode:{{PAGENAME}}| |1}}}<3439|- {{#ifexist:{{{#explode:{{PAGENAME}}| |0}}} {{#expr:{{{#explode:{{PAGENAME}}| |1}}}+3}}| |0}}} {{#expr: {{{#explode:{{PAGENAME}}| |1}}}+3}}|{{{#explode:{{PAGENAME}}| |0}}} {{#expr: {{{#explode:{{PAGENAME}}| |1}}}+3}}}}|        }} {{#ifexpr:{{{#explode:{{PAGENAME}}| |1}}}<3438|- {{#ifexist:{{{#explode:{{PAGENAME}}| |0}}} {{#expr:{{{#explode:{{PAGENAME}}| |1}}}+4}}| |0}}} {{#expr: {{{#explode:{{PAGENAME}}| |1}}}+4}}|{{{#explode:{{PAGENAME}}| |0}}} {{#expr: {{{#explode:{{PAGENAME}}| |1}}}+4}}}}|        }} {{#ifexpr:{{{#explode:{{PAGENAME}}| |1}}}<3437|- {{#ifexist:{{{#explode:{{PAGENAME}}| |0}}} {{#expr:{{{#explode:{{PAGENAME}}| |1}}}+5}}| |0}}} {{#expr: {{{#explode:{{PAGENAME}}| |1}}}+5}}|{{{#explode:{{PAGENAME}}| |0}}} {{#expr: {{{#explode:{{PAGENAME}}| |1}}}+5}}}}|        }}}} {{#ifeq:{{{#explode:{{PAGENAME}}| |0}}|TA|{{#ifexpr:{{{#explode:{{PAGENAME}}| |1}}}<3021|- {{#ifexist:{{{#explode:{{PAGENAME}}| |0}}} {{#expr:{{{#explode:{{PAGENAME}}| |1}}}+1}}| |0}}} {{#expr: {{{#explode:{{PAGENAME}}| |1}}}+1}}|{{{#explode:{{PAGENAME}}| |0}}} {{#expr: {{{#explode:{{PAGENAME}}| |1}}}+1}}}}|        }} {{#ifexpr:{{{#explode:{{PAGENAME}}| |1}}}<3020|- {{#ifexist:{{{#explode:{{PAGENAME}}| |0}}} {{#expr:{{{#explode:{{PAGENAME}}| |1}}}+2}}| |0}}} {{#expr: {{{#explode:{{PAGENAME}}| |1}}}+2}}|{{{#explode:{{PAGENAME}}| |0}}} {{#expr: {{{#explode:{{PAGENAME}}| |1}}}+2}}}}|        }} {{#ifexpr:{{{#explode:{{PAGENAME}}| |1}}}<3019|- {{#ifexist:{{{#explode:{{PAGENAME}}| |0}}} {{#expr:{{{#explode:{{PAGENAME}}| |1}}}+3}}| |0}}} {{#expr: {{{#explode:{{PAGENAME}}| |1}}}+3}}|{{{#explode:{{PAGENAME}}| |0}}} {{#expr: {{{#explode:{{PAGENAME}}| |1}}}+3}}}}|        }} {{#ifexpr:{{{#explode:{{PAGENAME}}| |1}}}<3018|- {{#ifexist:{{{#explode:{{PAGENAME}}| |0}}} {{#expr:{{{#explode:{{PAGENAME}}| |1}}}+4}}| |0}}} {{#expr: {{{#explode:{{PAGENAME}}| |1}}}+4}}|{{{#explode:{{PAGENAME}}| |0}}} {{#expr: {{{#explode:{{PAGENAME}}| |1}}}+4}}}}|        }} {{#ifexpr:{{{#explode:{{PAGENAME}}| |1}}}<3017|- {{#ifexist:{{{#explode:{{PAGENAME}}| |0}}} {{#expr:{{{#explode:{{PAGENAME}}| |1}}}+5}}| |0}}} {{#expr: {{{#explode:{{PAGENAME}}| |1}}}+5}}|{{{#explode:{{PAGENAME}}| |0}}} {{#expr: {{{#explode:{{PAGENAME}}| |1}}}+5}}}}|        }}}}

{{#ifeq:{{{#explode:{{PAGENAME}}| |0}}|FO|- {{#ifexist:{{{#explode:{{PAGENAME}}| |0}}} {{#expr:{{{#explode:{{PAGENAME}}| |1}}}+1}}| |0}}} {{#expr: {{{#explode:{{PAGENAME}}| |1}}}+1}}|{{{#explode:{{PAGENAME}}| |0}}} {{#expr: {{{#explode:{{PAGENAME}}| |1}}}+1}}}} - {{#ifexist:{{{#explode:{{PAGENAME}}| |0}}} {{#expr:{{{#explode:{{PAGENAME}}| |1}}}+2}}| |0}}} {{#expr: {{{#explode:{{PAGENAME}}| |1}}}+2}}|{{{#explode:{{PAGENAME}}| |0}}} {{#expr: {{{#explode:{{PAGENAME}}| |1}}}+2}}}} - {{#ifexist:{{{#explode:{{PAGENAME}}| |0}}} {{#expr:{{{#explode:{{PAGENAME}}| |1}}}+3}}| |0}}} {{#expr: {{{#explode:{{PAGENAME}}| |1}}}+3}}|{{{#explode:{{PAGENAME}}| |0}}} {{#expr: {{{#explode:{{PAGENAME}}| |1}}}+3}}}} - {{#ifexist:{{{#explode:{{PAGENAME}}| |0}}} {{#expr:{{{#explode:{{PAGENAME}}| |1}}}+4}}| |0}}} {{#expr: {{{#explode:{{PAGENAME}}| |1}}}+4}}|{{{#explode:{{PAGENAME}}| |0}}} {{#expr: {{{#explode:{{PAGENAME}}| |1}}}+4}}}} - {{#ifexist:{{{#explode:{{PAGENAME}}| |0}}} {{#expr:{{{#explode:{{PAGENAME}}| |1}}}+5}}| |0}}} {{#expr: {{{#explode:{{PAGENAME}}| |1}}}+5}}|{{{#explode:{{PAGENAME}}| |0}}} {{#expr: {{{#explode:{{PAGENAME}}| |1}}}+5}}}}}} {{#ifeq:{{{#explode:{{PAGENAME}}| |0}}|SR|- {{#ifexist:{{{#explode:{{PAGENAME}}| |0}}} {{#expr:{{{#explode:{{PAGENAME}}| |1}}}+1}}| |0}}} {{#expr: {{{#explode:{{PAGENAME}}| |1}}}+1}}|{{{#explode:{{PAGENAME}}| |0}}} {{#expr: {{{#explode:{{PAGENAME}}| |1}}}+1}}}} - {{#ifexist:{{{#explode:{{PAGENAME}}| |0}}} {{#expr:{{{#explode:{{PAGENAME}}| |1}}}+2}}| |0}}} {{#expr: {{{#explode:{{PAGENAME}}| |1}}}+2}}|{{{#explode:{{PAGENAME}}| |0}}} {{#expr: {{{#explode:{{PAGENAME}}| |1}}}+2}}}} - {{#ifexist:{{{#explode:{{PAGENAME}}| |0}}} {{#expr:{{{#explode:{{PAGENAME}}| |1}}}+3}}| |0}}} {{#expr: {{{#explode:{{PAGENAME}}| |1}}}+3}}|{{{#explode:{{PAGENAME}}| |0}}} {{#expr: {{{#explode:{{PAGENAME}}| |1}}}+3}}}} - {{#ifexist:{{{#explode:{{PAGENAME}}| |0}}} {{#expr:{{{#explode:{{PAGENAME}}| |1}}}+4}}| |0}}} {{#expr: {{{#explode:{{PAGENAME}}| |1}}}+4}}|{{{#explode:{{PAGENAME}}| |0}}} {{#expr: {{{#explode:{{PAGENAME}}| |1}}}+4}}}} - {{#ifexist:{{{#explode:{{PAGENAME}}| |0}}} {{#expr:{{{#explode:{{PAGENAME}}| |1}}}+5}}| |0}}} {{#expr: {{{#explode:{{PAGENAME}}| |1}}}+5}}|{{{#explode:{{PAGENAME}}| |0}}} {{#expr: {{{#explode:{{PAGENAME}}| |1}}}+5}}}}}}  First Age - Second Age - Third Age - Fourth Age - Shire Reckoning {{#ifeq:{{{#explode:{{PAGENAME}}| |0}}|FA|}} {{#ifeq:{{{#explode:{{PAGENAME}}| |0}}|SA|}} {{#ifeq:{{{#explode:{{PAGENAME}}| |0}}|TA|}} {{#ifeq:{{{#explode:{{PAGENAME}}| |0}}|FO|}} {{#ifeq:{{{#explode:{{PAGENAME}}| |0}}|SR|}}