Template:Dr-yr/sandbox
Appearance
![]() | This is the template sandbox page for Template:Dr-yr (diff). See also the companion subpage for test cases. |
![](http://upload.wikimedia.org/wikipedia/commons/thumb/4/43/Test_Template_Info-Icon_-_Version_%282%29.svg/50px-Test_Template_Info-Icon_-_Version_%282%29.svg.png)
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 {{dr}}. Second parameter is y/d/c/m.