Template talk:Roman

message: 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.  To use it, enter , replacing "YOURNUMBER" with a number.
 Examples of Roman numeral conversion
Arabic Numerals	Template Call                           	Roman Numerals
1              	                             	
2              	                             	
49             	                            	
50             	                            	
51             	                            	
1024           	                          	
4999           	                          	
5000           	                          	
5001           	                          	
1048576        	                       	
7654321        	                       	
7654321        		
For example,  returns MMVI. Warofdreams talk 22:51, 28 May 2006 (UTC)
thread_title: Documentation

message: I've added a "font" param to the template to allow the serif font to be turned off. It still defaults to "serif", but passing "inherit" will cause it to appear in the same font as the containing text. Mike Dillon 15:24, 3 December 2006 (UTC)
replies: text: I really needed this to be the default font for what I'm doing. It does look good with serif though. Is there a way to default it to whatever the default is, but give the option of serif? (The opposite of now?) → JARED (t)  15:38, 3 December 2006 (UTC)
replies: text: I've just reverted the removal of the font span. Please discuss changes that affect the appearance of templates in widespread use. I may ask to have this template protected because it is in every "year" article (e.g. 2006). Mike Dillon 15:41, 3 December 2006 (UTC)

text: I don't think changing the default of something already in use in hundreds of articles is reasonable. You can use "font=inherit" for your specific purposes. Mike Dillon 15:42, 3 December 2006 (UTC)

text: I've removed the font styling from this template and moved it up to  to keep this as a purely functional template. I'm going to contact User:AzaToth (the user who added it) to say that I've removed the font styling. Mike Dillon 17:27, 3 December 2006 (UTC)
replies: text: So I was right all along... haha. → JARED (t)  17:32, 3 December 2006 (UTC)
replies: text: It would seem so. Let's hope everyone else agrees ;) Mike Dillon 17:38, 3 December 2006 (UTC)
thread_title:  Font-family 

message: I've requested that this page be fully protected because it is esoteric and in widespread use. See Wikipedia:Requests for page protection. Mike Dillon 15:47, 3 December 2006 (UTC)
replies: text: I appologize if I've brought on this request. I didn't realize how widespread it was. → JARED (t)  16:24, 3 December 2006 (UTC)
replies: text: No need to apologize. Protection of widespread templates is not a bad thing. It just means we have to discuss changes before making them. Mike Dillon 16:31, 3 December 2006 (UTC)
thread_title:  Protection 

message: Please update  with . Per Wikipedia:Template documentation/List Thankyou. -- ṃ•α•Ł•ṭ•ʰ•Ə•Щ•  @ 05:57, 28 April 2008 (UTC)
replies: text: Done. – Luna Santin (talk) 08:34, 28 April 2008 (UTC)
thread_title:  Edit request 

message: See User:Stelio/Roman for an extended version of this template. That alternative version has the following differences to the current version here (as at 13 March 2009):
* The alternative version includes handling for fractional values with a precision of 1/1728 (following the rules in Roman numerals).
* The alternative version avoids the use of 'div' and 'mod' in the mathematical expressions, since their algorithms currently differ from the standard algorithms (see Bugzilla:6068), and their calculation algorithm may therefore potentially be altered in the future.
* The alternative version renders 4000 as  as per Roman numerals, as opposed to 'MMMM' as this template currently does.
* The alternative version handles errors through more detailed messages, rather than returning 'N/A' (and the option to override the error message is still there). A negative argument is treated as an error.
* The current version produces erroneous results if the argument passed to it is a calculation. For example  currently returns 'MCXII' rather than 'II'. This can be fixed by wrapping all references to the argument in brackets (so using '()' rather than ''); the alternative version includes this fix.
-Stelio (talk) 16:35, 13 March 2009 (UTC)
replies: text:  Make it official, this template deserves a jubilation.--Neurorebel (talk) 01:37, 12 June 2017 (UTC)
thread_title:  Extended template 

message: I made the template substable - but only the first tranch of numbers. Big numbers will require  sorting out. Rich Farmbrough, 23:42, 18 May 2011 (UTC)
thread_title: Subst

message: According to mw:Help:Extension:ParserFunctions#.23time  parser function can handle numbers between 1 and 3000. Using this might simplify the template. For example  gives  and  gives . --Jarekt (talk) 16:05, 7 September 2011 (UTC)
thread_title:  <nowiki>{{#time}}</nowiki> 

message: please update using the current version in the sandbox.  a recent change to the "mod" function in the backend software has made this template generate incorrect results.  you can clearly see the problem in the testcases. Frietjes (talk) 19:57, 18 December 2012 (UTC)
replies: text: Done --Redrose64 (talk) 20:14, 18 December 2012 (UTC)
thread_title:  Edit request on 18 December 2012 

message: ::Handle negative with an "m" example: -1521=mMDXXI
::before the - sign existed an m was used.  — Preceding unsigned comment added by Neurorebel (talk • contribs) 01:47, 12 June 2017 (UTC)
replies: text: I would support this.  All the best: Rich Farmbrough, 11:07, 28 July 2017 (UTC)

text: This could affect things if my edit is picked up—things would potentially be unclear if 'mdccc' is taken as input—would need to check case of input if all lowercase then must ignore and not take 'm' as negative sign?  Trivial to work around but should likely specify behavior in doc –ASiplas (talk) 09:38, 20 February 2018 (UTC)
thread_title: Negative Numbers

message: See Module:ConvertNumeric's roman_to_numeral
: Question: would it not be more intuitive to create a different template to do the conversion the other way round? — Martin (MSGJ · talk) 20:51, 20 February 2018 (UTC)
replies: text: First intuition was  as template for new module but that was taken… Ideas on something just as apt? Seemed logical second choice to add to  at that point.  Would be happy to rewrite some more efficient code under a new name; main focus is driving use to help minimize transcription errors and best name is part of that whether that's Roman or not. –ASiplas (talk) 21:30, 20 February 2018 (UTC)
replies: text:  this I see is duplicate of Module:ConvertNumeric going to Revert Module:Roman/sandbox and Module:Roman/doc –ASiplas (talk) 21:57, 20 February 2018 (UTC)
thread_title: Roman → Arabic

message: I think the title is pretty self-explanatory, and this could be implemented as a flag, e.g.  would display as , which would be functionally equivalent to .-Ich (talk) 07:54, 13 August 2018 (UTC)
thread_title:  Feature request: hovertext with arabic numerals 

message: The ƻ is wrong in the fractions, albeit for a decent reason: There's a system of reversing characters in place, but the most correct character, 𐆔 has basically no support. But we can do far, far better in a very simple way:  We should replace ƻ with Ƨ
a.k.a. Ƨ  by simple search-replace substitution. I'll admit, I'm not good with modern lua-y templates, so can't say where the thing is. Adam Cuerden (talk) 23:23, 2 November 2018 (UTC)
replies: text: This is on line 80 of Module:Roman. — xaosflux Talk 16:00, 3 November 2018 (UTC)
thread_title: Edit request

message: According to the article Roman numerals, ancient Romans used Є· for 1/8. Can this particular numeral be added?
—Yours sincerely, Soumyabrata 17:55, 12 July 2019 (UTC)
thread_title:  Edit request