Category talk:Currency templates

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
WikiProject iconTemplates
WikiProject iconThis category is within the scope of WikiProject Templates, a group dedicated to improving the maintenance of Wikipedia's templates. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
WikiProject iconNumismatics Category‑class
WikiProject iconThis category is within the scope of WikiProject Numismatics, a collaborative effort to improve the coverage of numismatics and currencies on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
CategoryThis category does not require a rating on Wikipedia's content assessment scale.

Overlinking[edit]

MOS:CURRENCY recomends "When possible, always link the first occurrence of lesser-known currencies". The converse of this is that we should not link well known currencies nor any currency more than once. {{US$}} complies with this in that, although linking to United States dollar is possible, the default is not to link. Similiar templates for other currencies also exist but, in general, as of now their defaults are to link. Note that these templates are often used in order to create a consistant MoS-compliant style so just not using them cannot be regarded as an option. I propose to change the default on these templates to bring them in line with {{US$}}. This will effect all such templates, not just those for well-known currencies: consistency will reduce confusion (users need not worry about which links and which doesn't), linking for those more obscure units will only need to be turned on once per article instead of having to be turned off several times and there need not be a single decission as to which currency is to be considered well known and which isn't (instead it'll be decided case-by-case which makes good sense since it's context dependedant anyway). JIMp talk·cont 01:34, 5 August 2011 (UTC)[reply]

Many thanks for making the linking consistent and cleaning up my template code. One minor gripe though: some templates like CAD and NZD now redirect to CA$ and NZ$. It would be better the other way around because I chose the names CAD and NZD based the ISO 4217 code (which changes once in a blue moon) rather than the names based what it looks like (which changes more often). Ie CAD and NZD are the "official" templates and CA$ and NZ$ are preferably deleted. But other than that, it's looking real good.  Stepho  talk  09:43, 5 August 2011 (UTC)[reply]

No worries. Good point about the AUD, CAD, ... vs AU$, CA$. Note though, as of now there's some inconsistency in what these produce.

~~$ ~~D
AU~ A$ A$
CA~ CA$ CA$
NZ~ NZ$ NZ$
US~ US$ US$
HK~ HK$ HK$
GB~ £ £

The Hong Kong & Aussie dollars are still linking (I haven't got around to them yet) but the two Canadian dollar templates produce different things: {{CA$}} gives a dollar sign like the others but {{CAD}} gives a "D". This is how things were before I edited & I left them like this. JIMp talk·cont 01:41, 10 August 2011 (UTC)[reply]

It would have been appropriate to check for any regional style guidelines before proceeding with unilateral changes to currency templates. For example, "CA$" had no consensus, contradicting what was present at [1]. Dl2000 (talk) 02:24, 10 August 2011 (UTC)[reply]
JimP was doing some much needed work on all of the currency templates and the change from CAD to CA$ was an oversight. No change to the output format was intended. We will return it back to what it was.  Stepho  talk  02:28, 10 August 2011 (UTC)[reply]
I have just made {{HK$}} as a redirect to HKD. As DI2000 mentioned, the Canadians are very emphatic about using 'CAD' instead of 'CA$' - I got a royal whipping about this when I first created {{CAD}}. I've tried to make each of the templates named after the official ISO 4217 code but to display them according to the preference of the wikiproject covering that country - ie name and output aren't intended to match. I also tried to force templates named after other forms (eg CA$) to redirect to the ISO version, thus keeping all forms consistent with the project's preference. Obviously I've missed a few. Anyway, {{CAD|1.00}} now displays CA$1.00, {{CA$|1.00}} now displays CA$1.00 and all should be well again.  Stepho  talk  02:56, 10 August 2011 (UTC)[reply]
Thanks for this, and what is clearly WP:AGF efforts to harmonise the currency templates. In retrospect, editors can also be encouraged to use the {{iso4217}} template if the ISO format is specifically intended. Dl2000 (talk) 03:15, 10 August 2011 (UTC)[reply]
Stepho-wrs I think I may have inadvertently kicked this can open with my recent edits at {{SGD}} and {{HKD}}. In my defence, I was following the documentation when I first started on {{SGD}}. Should I adhere to this and update my codes to remove the default linking for these two templates? robertsky (talk) 12:32, 8 September 2019 (UTC)[reply]
Your edits are good. No problem.  Stepho  talk  22:32, 8 September 2019 (UTC)[reply]