Changes

Jump to navigation Jump to search
documentation
<includeonly>{{#switch:{{{2}}}|y={{{1}}}|d={{#switch:w{{{1}}}|w0=1|w-0=-8|{{#expr:
{{{1}}}*10{{#ifexpr:{{{1}}}<0|-8|+1}}}}}}|c={{#expr:{{{1}}}*100{{#ifexpr: {{{1}}}>0|-98|+1}}}}|m={{#expr:{{{1}}}*1000{{#ifexpr:{{{1}}}>0|-998|+1}}}}}}</includeonly><noinclude>
{{documentation|content=Converts a year/decade/century/millennium number (prefix a minus for BC) into a representative year (the second year, for decades/centuries/millennia) of that period, for use in {{tl|dr}}. Second parameter is y/d/c/m.

[[Category:Historical period subtemplates|Dr-yr]]
}}</noinclude>
Anonymous user

Navigation menu