Jump to content

Template talk:Indian rupee

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
[edit]

Please change the template to:

[[Image:Indian Rupee symbol.svg|link=Indian rupee|baseline|{{{1|7px}}}]]<noinclude>
{{pp-template}} 
{{documentation}}</noinclude>

Currently, clicking the symbol leads to the SVG file. Although the symbol should link to Indian rupee.

Avenue X at Cicero (talk) 08:11, 3 July 2011 (UTC)[reply]

That would create alsways a link when the template is used. Another option is: use a parameter, so the editor can link:
[[Image:Indian Rupee symbol.svg|'''link={{{link|}}}'''|baseline|{{{1|7px}}}]]<noinclude>
{{pp-template}} 
{{documentation}}</noinclude>

Usage example: {{Indian rupee|link=currency}}. -DePiep (talk) 16:25, 3 July 2011 (UTC)[reply]

Changed from image to Unicode text symbol U+20B9

[edit]

The Unicode position U+20B9 was formally assigned 14 months ago (and in beta, two months before that). The creation date of this template predates that, so when originally created it used an image. However, operating systems have been updated by now. Therefore changed to text as per WP:BOLD.

Although a few might still use an un-updated operating system, they are partially accommodated by the mouseover text "INR", and in any case the inconvenience to them must be weighed against the problems that were caused by the use of an image:

  1. Search functionality is broken when an image is used instead of text.
  2. Screen readers for the blind can't parse an image (and in practice, the |alt= option was hardly ever invoked).
  3. A one-size-fits-all 7px image does not work well when text might be displayed at a wide range of font sizes (on different screen resolutions, or by user choice in resizing, in browsers or mobile multitouch devices).

So it is arguably a case of least inconvenience to the larger number of users. -- P.T. Aufrette (talk) 03:35, 4 December 2011 (UTC)[reply]

Subsequent change attempts

[edit]

January 2013, and I've also been bold and changed this to Unicode again. The graphical way of doing it was ugly and had many problems, which have already been discussed here. My two year old non-Indian laptop seems to display the symbol fine, so... :D Xmoogle (talk) 15:28, 14 January 2013 (UTC)[reply]

For the record, the svg image was replaced by a unicode symbol again in June 2014 and reverted shortly thereafter by an editor who said he could not see the symbol. – Jonesey95 (talk) 17:06, 27 October 2014 (UTC)[reply]

Be careful with automated find-and-replace

[edit]

I have been fixing broken URLs in citations recently, and I have found a few in which someone has done a find-and-replace on an entire article, replacing each instance of "Rs" with {{Indian rupee}}. If you do this within a citation, you are likely to break the citation's url, make the |title= parameter inaccurate, or both. Please be careful. Jonesey95 (talk) 05:43, 26 April 2013 (UTC)[reply]

Changing from image to unicode

[edit]

Hi all, a few years ago, the content of this template was changed from the image to a unicode symbol, which I, among others had trouble viewing. I still use Windows XP, and my browser still does not display the Unicode symbol. However, with passing time, and the fact that Windows XP has also been phased out, I believe newer OSs such as Windows 7, 8, Android 4.x+, all support the unicode symbol, ₹ [I hope I have copied the correct symbol]. Do you think, it is time for a change? --Rsrikanth05 (talk) 21:18, 27 February 2015 (UTC)[reply]

Pinging @P.T. Aufrette: as well. --Rsrikanth05 (talk) 21:20, 27 February 2015 (UTC)[reply]
Is the symbol not present as part of the 'Lohit Devanagar' font available trough our ULS Webfonts ? If so, then should work to display the symbol even for those users who do not have support for it yet. Unless you have disabled ULS/Webfonts,of course. —TheDJ (talkcontribs) 22:22, 27 February 2015 (UTC)[reply]
Example is now in the sandbox: {{Indian rupee/sandbox}}TheDJ (talkcontribs) 22:26, 27 February 2015 (UTC)[reply]
The sandbox does not yet support the link feature in the documentation.
Check the discussion above and the template's history. This change was last attempted in June 2014 and was quickly reverted. – Jonesey95 (talk) 22:49, 27 February 2015 (UTC)[reply]
I did. the whole reason the link was added, was because it otherwise would link to an image. But I don't see the Dollar sign linking to an article either, so that seems like a null and void argument to me. So the only question is: does the sandbox work for a larger amount of people that the previous change to the character did ? And is that percentage of people big enough then. At some point the BRD cycle will have to start over again. —TheDJ (talkcontribs) 09:39, 28 February 2015 (UTC)[reply]

I myself was against a previous change, I believe, back in 2012. At that time, I thought it was unfair to use the Unicode symbol because many Indian computers [running Windows XP, and even 98] wouldn't be able to display it. I still us XP, won't be changing anytime soon, still cannot see the symbol, but I see that others have started using Windows 7, 8, Mac OS X, and later OSs which I know have built in support for the unicode character. I personally believe that it is high time we change it to Unicode. I've posted this on the India noticeboard as well. --Rsrikanth05 (talk) 18:19, 28 February 2015 (UTC)[reply]

Hey @Abecedare:. Windows XP is slowly dwindling in market share as many public PCs are switching to 7. Among several reasons are lack of support, browsers lacking full support for Indian languages [especially in South India] et al. So, yeah, hopefully in a year, it would be standard. @TheDJ:, I have enabled it. Will report back. --Rsrikanth05 (talk) 20:22, 2 March 2015 (UTC)[reply]

Unicode variant

[edit]

It'll probably be reverted, but I went and made this Unicode again.

If it is reverted, here's the code I used, for future reference:

 {{#if:{{{link|}}}
  |[[{{{link}}}|<span alt="{{{alt|INR}}}" title="{{{alt|INR}}}">₹</span>]]
  |<span alt="{{{alt|INR}}}" title="{{{alt|INR}}}">₹</span>
  }}

Unlike some other Unicode variants people have made, this one properly supports the link= and alt= functionality. —ajf (talk) 16:02, 5 May 2015 (UTC)[reply]

As to why...

[edit]

@Ajfweb: - Hey there! I see that you have reverted my edits to this template but you didn't provide a reason. Could you please explain as to why you reverted my edits? Tamravidhir (talk!) 13:59, 18 June 2015 (UTC)[reply]

I reverted them because I'm unconvinced we should change it back to an image. More and more users can see the Unicode symbol now. —ajf (talk) 14:02, 18 June 2015 (UTC)[reply]
@Ajfweb: - Well, you may be correct. You may also be able to see this symbol on your computer or phone, but you have to keep in mind that there are still many whose phones and/or laptops aren't compatible to this unicode (for instance, mine) and due to this reason they only see a square, which I feel is confusing. So I think replacing that "box" with this image will be a wiser option, as images are compatible on every phone and computer! ;) Tamravidhir (talk!) 15:18, 18 June 2015 (UTC)[reply]
Well, if you hover over the symbol, you will see a description. —ajf (talk) 19:49, 18 June 2015 (UTC)[reply]

Once more!

[edit]

@Sladen: Hi Sladen! Well, this problem had also occurred a few months back. Actually, the Unicode which is used in this template is still not supported by many computers and mobiles. due to which, for example my PC, can't decipher it and show only a box. And, I think that causes confusion for the readers, and the replacement of the code with an image would be more favourable and preferred, as it would be in the interest of all. Tamravidhir (talk!) 11:29, 10 August 2015 (UTC)[reply]

Over time, computers and phones will gain support. If your computer doesn't support it, you'll see a box or other replacement character, so it's obvious there should be a symbol there. If people mouse over it, they can find out it is a rupee symbol. In context it is usually obvious you are talking about money. So I don't think it's a problem. Having a Unicode character means the symbol is actual text and can be copied and displayed as such. —ajf (talk) 11:39, 10 August 2015 (UTC)[reply]
@Ajfweb: I do agree. And yes, if you hover the cursor over the 'box' then another tiny box appears which reads "INR". I feel it's fine then! And yes, I do get that the Unicode is more convenient than the image as it is text and can be copied and pasted. Thanks to you all for your help! ;) Tamravidhir (talk!) 12:24, 10 August 2015 (UTC)[reply]
Tamravidhir: We could keep the fallback image a bit longer, but we'd want to switch to the proper Unicode eventually. What should be the trigger for changing to Unicode? A day, a month, a year, (…when from); or perhaps a percentage of devices having the font? —Sladen (talk) 12:43, 10 August 2015 (UTC) In a couple of months it will be five years since suitable fonts were available, eg: http://font.ubuntu.com/rupee/[reply]
Ha ha! That was witty! I agree with you! ;) Let it be as it is. Let the Unicode remain. Tamravidhir (talk!) 12:47, 10 August 2015 (UTC)[reply]
The unfortunate thing is that there doesn't seem to be a way to use the image as a fallback if the character's unavailable. Or is there a way? Maybe there's a CSS trick. —ajf (talk) 13:50, 10 August 2015 (UTC)[reply]
Well, I personally have no clue! :/ Tamravidhir (talk!) 07:28, 12 August 2015 (UTC)[reply]

Template-protected edit request on 18 October 2018

[edit]

Please replace the following line:

-->{{#ifeq:{{{year|{{{2|0}}}}}}|0||{{#ifexpr:{{Inflation/IN/startyear}}<={{{year|{{{2|0}}}}}} and {{{year|{{{2|0}}}}}}<{{Inflation-year|IN}}

with this line:

-->{{#ifeq:{{{year|{{{2|0}}}}}}|0||{{#ifexpr:{{Inflation/IN/startyear}}<={{{year|{{{2|0}}}}}} and {{{year|{{{2|0}}}}}}<{{Inflation/year|IN}}

and please also replace the following line:

 }} in {{Inflation-year|IN}})

with this line:

 }} in {{Inflation/year|IN}})

This is simply to avoid using a redirect on this page and any pages transcluding it.

(See WP:NOTBROKEN, which includes the following: "In other namespaces, particularly the template and portal namespaces in which subpages are common, any link or transclusion to a former page title that has become a redirect following a page move is to be updated to the new title for naming consistency.") Jdaloner (talk) 04:29, 18 October 2018 (UTC)[reply]

 Done. – Jonesey95 (talk) 04:35, 18 October 2018 (UTC)[reply]