Template:SR: Difference between revisions
From Tolkien Gateway
KingAragorn (talk | contribs) mNo edit summary |
m (Trying to figure out glitch) |
||
Line 1: | Line 1: | ||
<includeonly>{{#if: {{{1|}}}|{{#ifexpr:{{{1}}}<=1421|{{#if: {{{2|}}}|[[Third Age {{#expr: {{{1}}} + 1600}}|{{{1}}}]]|[[Shire Reckoning|S.R.]] [[Third Age {{#expr: {{{1}}} + 1600}}|{{{1}}}]]}}|{{#if: {{{2|}}}|[[Fourth Age {{#expr: {{{1}}} - 1421}}|{{{1}}}]]|[[Shire Reckoning|S.R.]] [[Fourth Age {{#expr: {{{1}}} - 1421}}|{{{1}}}]]}}}}|[[Shire Reckoning|S.R.]]}}</includeonly> | <includeonly>{{#if: {{{1|}}}|{{#ifexpr:{{{1}}}<=1421|{{#if: {{{2|}}}|[[Third Age {{#expr: {{{1}}} + 1600}}|{{{1}}}]]|[[Shire Reckoning|S.R.]] [[Third Age {{#expr: {{{1}}} + 1600}}|{{{1}}}]]}}|{{#if: {{{2|}}}|[[Fourth Age {{#expr: {{{1}}} - 1421}}|{{{1}}}]]|[[Shire Reckoning|S.R.]] [[Fourth Age {{#expr: {{{1}}} - 1421}}|{{{1}}}]]}}}}|[[Shire Reckoning|S.R.]]}}</includeonly><noinclude> | ||
<noinclude> | |||
===Usage=== | ===Usage=== | ||
<nowiki>{{SR|</nowiki>'''1'''<nowiki>}}</nowiki> | <nowiki>{{SR|</nowiki>'''1'''<nowiki>}}</nowiki> |
Latest revision as of 15:07, 15 July 2011
Usage[edit source]
{{SR|1}}
At 1, enter the date in Shire Reckoning; the template will automatically convert to Third Age/Fourth Age dates.