Template:Dr-yr

From Empire of Dragons
Revision as of 10:22, 16 August 2024 by Oberoten (talk | contribs) (Created page with "<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}}. Sec...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search