Template:SR: Difference between revisions
From Tolkien Gateway
m (More tweaks to formatting) |
m (Updated to allow for both hiding of "S.R." and displaying of "S.R." only) |
||
Line 3: | Line 3: | ||
<nowiki>{{SR|</nowiki>'''1'''<nowiki>}}</nowiki> | <nowiki>{{SR|</nowiki>'''1'''<nowiki>}}</nowiki> | ||
At '''1''', enter the date in [[Shire Reckoning]]; the template will automatically convert to [[Third Age]]/[[Fourth Age]] dates.</noinclude><includeonly>{{#ifexpr:{{{1}}}<=1421|[[Shire Reckoning|S.R.]] [[Third Age {{#expr: {{{1}}} + 1600}}|{{{1}}}]]|[[Shire Reckoning|S.R.]] [[Fourth Age {{#expr: {{{1}}} - 1421}}|{{{1}}}]]}}</includeonly> | At '''1''', enter the date in [[Shire Reckoning]]; the template will automatically convert to [[Third Age]]/[[Fourth Age]] dates.</noinclude><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> |
Revision as of 14:53, 1 December 2010
Usage
{{SR|1}}
At 1, enter the date in Shire Reckoning; the template will automatically convert to Third Age/Fourth Age dates.