Tolkien Gateway

Template:SR

(Difference between revisions)
m (Another Fix)
m (Think I've finally cracked it.)
Line 4: Line 4:
  
 
At '''1''', enter the date in [[Shire Reckoning]]; the template will automatically convert to [[Third Age]]/[[Fourth Age]] dates.</noinclude><includeonly>
 
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}}} - 3021}}|{{{1}}}]]}}</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>

Revision as of 15:26, 3 June 2010

Usage

{{SR|1}}

At 1, enter the date in Shire Reckoning; the template will automatically convert to Third Age/Fourth Age dates.