Template:RomanPageToNegativeArabic
Revision as of 14:31, 25 June 2017 by Hakob Barseghyan (talk | contribs)
Use this template to convert a roman page number into a negative arabic number, where zero iz -10000. Thus, the roman number is converted into arabic value, and the result is -10000 + value. For instance, if value=x
, the template will return -9990. If value=iv
, the template will return -9996. If an empty string is passed as a value, an empty string is returned. All non roman characters are ignored.
NOTE: As any "printing" template, it doesn't store any values anywhere, but merely prints them on the page.
Parameters:
|value=
- the roman page number to convert. E.g. "xiv", "lx", "mmx", etc.