Template:R2A/documentation

Documentation for Template:R2A. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.

Usage edit

This template converts Roman numerals to (western) Arabic numerals using Module:roman numerals. The Roman numerals may be expressed using uppercase or lowercase letters. J or j for I or i can also be used.

  • {{R2A|C}} → 100
  • {{R2A|c}} → 100

The template can also be used to check if the specified parameter is a Roman numeral, like this:

{{#if:{{R2A|{{{parameter|}}}|no_error=1}}
  | The parameter is a Roman numeral
  | The parameter is not a Roman numeral
}}

Parameters edit

  • |1=: The Roman numeral to be converted to Arabic numerals

See also edit