Template:Roman/doc

This template converts Arabic numerals (that is, 1, 2, 3, etc.) into Roman numerals (I, II, III etc.). It currently works for any whole number between 1 and 4999999.

Usage
Replace  with the number you would like to be converted to Roman numerals. For numbers higher than 4999999 the template outputs "N/A". This can be changed by replacing  with your preferred text.

An overline, representing multiplication by 1000, is used to extend the upper range of the function.

See Roman numerals for further information.

Fraction support
The template can accept parsing decimals, fractions, and arithmetic expressions. This is not enabled by default. To enable this, supply yes, i.e.  or.

Roman numeral output for fractional values uses these symbols:
 * S = &frac12;
 * : = 1/6
 * • = 1/12
 * Є = 1/24
 * ƧƧ = 1/36
 * Ɔ = 1/48
 * Ƨ = 1/72
 * Ƨ = 1/144
 * ℈ = 1/288
 * » = 1/1728
 * N = 0

Examples
If the number provided is negative, the template will output an error message. If the first parameter provided cannot be interpreted as a number, the template will also output an error message. If no arguments are given, the template produces no output.

Examples:

TemplateData
{	"params": { "1": {			"type": "number", "label": "Number", "example": "69105", "description": "The number to be converted to Roman numerals. If the parameter passed cannot be interpreted as a numerical value, no output is generated." },		"2": {			"default": "N/A", "label": "Message", "example": "Too big", "description": "Message to display for numbers that are too big to be displayed in Roman numerals. (The largest number supported is 4999999.)", "type": "string" }	},	"description": "Convert numbers to Roman numerals." }