User talk:Jimp/Archive IV

From Wikipedia, the free encyclopedia

Contents

[edit] Template Convert protection

Hi Jimp,
After I switch template convert back to the new version, would you mind if I temporarily downgraded the protection so that all users can edit (in this case revert) it if necessary? —MJCdetroit 00:04, 13 November 2007 (UTC)

Go ahead. Jɪmp 00:10, 13 November 2007 (UTC)

[edit] Now it's LIVE

You'll need to expand that explanation table at {{convert/doc}}. I would suggest stealing a much as you can from {{ConvertW}} and {{ConvertV}}. —MJCdetroit 03:39, 13 November 2007 (UTC)

I will steal ... for the time being. I've got something else besides the kind of table we've now got mind for the long run. Jɪmp 03:41, 13 November 2007 (UTC)
Whatever is easiest and best. Question, when you replaced ConvertWeight, did you remember to |3unit= with a space? For example right now, I am swapping out ConvertVolume which uses a lot of US gallon to imperial gallon to Liter. Just wondering? I don't think the 3 unit conversions were common in ConvertW. —MJCdetroit 03:58, 13 November 2007 (UTC)
Yep. Jɪmp 04:08, 13 November 2007 (UTC)

[edit] Convert template

Apparently, you changed conversion templates at Greg Skrepenak and Canon PowerShot TX1 incorrectly. I am not sure what you were trying to do.--TonyTheTiger (t/c/bio/WP:LOTD) 00:04, 13 November 2007 (UTC)

[edit] Category:Unit display/doc

Hi Jimp, I saw you were trying to figure out something in Category:Unit display/doc. I created that file. If you have any questions about it just ask. P.S. I wanted to help with your work on {{Convert}} but got busy outside Wikipedia. -- PatLeahy (talk) 03:06, 13 November 2007 (UTC)

It's not actually a category, it's a piece of template documentation, and as shoukdn't be in the category namespace. So I have copied it to Template:Unit display/doc, fixed the links, and nominated it for speedy deletion as an empty category. --BrownHairedGirl (talk) • (contribs) 12:40, 16 November 2007 (UTC)
I just put some of those up for WP:TfD —-- MJCdetroit (talk) 17:03, 16 November 2007 (UTC)

[edit] Error in L to gal conversion template

I've used {{L to gal}} for quite a few motorcycle infoboxes (e.g. Honda Ruckus) and found it very useful. However, it displayed an error for US gallons if the second parameter was not defined. I fixed up {{L to gal/1}} and it seems to work now. This might be moot if {{Convert}} is taking over but I thought I'd let you know in case you want to check my work. Brianhe (talk) 17:17, 22 November 2007 (UTC)

[edit] sqmi ha subtemplate

Hi Jimp,
When you get a chance can you create a subtemplate for {{convert}} of sqmi ha? Also, could you explain how the subtemplate codes work? For example, what does each of the letters (u, n, j, b, h, o, etc) mean? Yea, some are self explanatory and some I can venture to guess, but it would be helpful to have them documented somewhere so that others (like me) could more easily produce some more subtemplates as needed. —MJCdetroit 15:40, 4 December 2007 (UTC)

Had been meaning to explain how the template works. Sorry it's late in coming. I'll get onto it. sqmi ha is done. --Jɪmp 18:08, 4 December 2007 (UTC)
Thanks. No need to rush, but at the moment you're the only one with a complete understanding of the subtemplates. It would be in your benefit to not be the only one; no reason to work more than you need to. —MJCdetroit 18:14, 4 December 2007 (UTC)

[edit] SI template

Jimp: Regarding the SI multiples template and this edit you made your stated purpose was to “allow μ= option”. I guess I don’t understand how to use the template because no matter what I type into the template fields in the Kilogram article, (µ µ µ mc), I can’t get the “µg” to display. Would you please change the entry in the Kilogram article so the “µg” uses the µ symbol? I much prefer the micro symbol (µ) over the Greek mu (μ). I come from a computer and typography background and understand the reason for the creation of the Unicode µ symbol in the first place. It should be the default option in the template IMO. Greg L (my talk) 03:48, 11 December 2007 (UTC)

  • Jimp: Thank you for the fix on the SI template. Regarding you post on my talk page, the µ sign was the beginnings of an effort to eventually encode math and technical symbols so computer systems can translate to other languages by understanding the meanings of characters. Another example of this for instance, is the special “Kelvin” symbol (K), which is different from the uppercase K (here's the two side-by-side: KK. Hardly anyone uses the special kelvin symbol because it looks so damn similar to the normal Latin K. You make a good point about Latin symbols for things like “mega” (M). The Unicode committee for practical (usage and compatibility) reasons left those alone—for now. Since the µ (micro) character looks quite distinct from the Greek mu (μ), all professionally typeset material and good Web sites use it vs. the mu. It’s what a trained eye expects. Greg L (my talk) 07:35, 11 December 2007 (UTC)
  • P.S. Oh, another benefit of having computers understand the text, is in speaking it. I don't own a speaking algorithm myself with the capability (and don't know if one currently exists), but computers could use the special kelvin (K) character to read “36.9 K” as “thirty six point nine kelvin” rather than “thirty six point nine K.” The mu character (μ) is used for other mathematical purposes (such as representing a Möbius function) so using μ to represent µ (micro) would subvert the ability of computers to easily understand. Proper use of Unicode also gives computers the capability to convert unit symbols in print to their full unit names (“36.9 K” = “36.9 kelvin” or “45 µg” = “45 micrograms”), create lists, and other features I can’t imagine at the moment with much greater ease and reliability because computers won’t have to divine intent and meaning via context. None of these potential benefits are all that important to me. As stated above, my main point is that μ µ appear quite distinct from each other and typographically really stand out and look poor when the wrong one is used.

    Again, thanks for your efforts on {{SI multiples}} and {{Convert/µW·h}}. I couldn’t imagine being able to easily parse and figure out how to make templates like that and really admire and appreciate those of we volunteers who are willing to quietly go about and help others by working on these templates. Greg L (my talk) 16:47, 11 December 2007 (UTC)

  • Jimp: Regarding your recent post on my talk page, I don’t know why micro and mu (µ & μ) were made to look different. I know that it’s been that way for a long time (at least to 1986). I use a Mac. It has long been that on a Mac, one uses the Symbol font to type Greek characters. But to type common math symbols, you can do it from the Mac keyboard in any font without having to go through the cumbersome process of going to a Windows-style character palette where you hunt for what you want. For instance, I can type “∆ 50 µΩ” with typographers’ quotes, the delta symbol, the ohm (omega or Ω symbol), non-breaking spaces, etc., all from the keyboard in seconds. That was option-[ for curly quote, the option-j option-space (for the non-breaking space), 5, 0, option-m, option-z for the Ω symbol, and shift-option-[ for the curly close-quote. At least since 1986, just typing option-m has yielded the µ symbol. And I’ve long seen that professionally typeset materials have the very same appearance for µg because typesetters all used film fonts (and later, digital fonts) from the same small group of professional font foundries. Greg L (my talk) 17:32, 11 December 2007 (UTC)

[edit] re: Template:Infobox Ship

I noticed that you've done several updates today to Template:Infobox Ship. But from what I understand from WP:SHIPS, that template is being deprecated and replaced with the template shown at Template:Infobox Ship Example.

From talk at WP:SHIPS, it appears that no one expects Infobox Ship to go away anytime soon because of how widespread it is used; but the long term goal is to migrate all articles using it to the newer one.

Disclaimer: I'm new to WP:SHIPS, and not a member of the project as yet. I just saw your updates and thought I would point this out in case you weren't aware as yet. --- Barek (talkcontribs) - 16:57, 11 December 2007 (UTC)

Re: your reply on my talk page ... I saw that on Infobox Ship's talk page too; but the deprecated/not deprecated talk is dated Jan 2006, almost two years ago, so I didn't weigh those comments too highly. I think the more current conversation at Wikipedia_talk:WikiProject_Ships#Deleting_obsolete_templates? is more relevant (at first it says Infobox Ship isn't going anywhere, but halfway down deprecating it is brought up). --- Barek (talkcontribs) - 17:37, 11 December 2007 (UTC)
Note:I've archived the discussions in Infobox Ship's talk pages that were dated 2006, as they appear to be non-ongoing discussions and seem to conflict with more current conversations elsewhere. --- Barek (talkcontribs) - 17:51, 11 December 2007 (UTC)

[edit] “tl” Markup

Jimp: What does the “tl” in {{tl|SI multiples}} stand for and is there an equivalent syntax to do the same thing with links to images? Greg L (my talk) 20:53, 13 December 2007 (UTC)

FYI: Tl stands for Template link (per documentation at {{Tl}}. For images, are you wanting more than just insterting a colon ":" before the word Image in the image link? The nearest relative I could find for similar links to images is {{li}}; but that one adds several additional links related to the image, so may not be what you want. --- Barek (talkcontribs) - 21:07, 13 December 2007 (UTC)
Oops. Thanks to you both. Thanks Barek, for your above answer (that’s exactly what I was looking for) and thanks to you Jimp for your post on my talk page. Greg L (my talk) 00:15, 14 December 2007 (UTC)

[edit] Format number

I hope I have a solution to formatting numbers you approve of. Please see this update, as well as the post immediately preceding that one. Greg L (my talk) 01:01, 20 December 2007 (UTC)

[edit] …and boy do some articles need it!

Jimp, check out this part of Font size. As far as I can see, this article has been using decimal-delimited formatting since this 1 April 2006 version. As you can see however, the article has been using simple spaces (not even the non-breaking type). I submit that Wikipedia could really benefit from an easy-to-use template. I took a peak at perl, it appears to be totally beyond my expertise. Would making one take a crap-pile of time? Greg L (my talk) 03:30, 24 December 2007 (UTC)

The spaces appear to be non-breaking to me.
--206.54.145.254 (talk) 18:27, 24 December 2007 (UTC) (User:AlanH)
  • Oops, I guess many are indeed non-breaking. Some though, are simple-ass spaces, as shown in this subsection, Didot's point below:
* '''0.376 065 mm''' (0.0249% larger than Didot's point) — the traditional value in European printers' offices
* '''0.376 000 mm''' (0.0076% larger) — used by [[:de:H. Berthold AG|Hermann Berthold]] (1831–1904) and many others
* '''0.375 940 mm''' (0.0084% smaller) — [[Jan Tschichold]] (1902–1974), who used 266 points in 100 mm
* '''0.375 000 mm''' (0.2584% smaller) — proposed in 1975, but never adopted
Besides, my main point is that large spaces spaces (whether breaking or non-breaking) truly do look inferior. In the above example, the non-breaking nature wouldn’t matter; no one will set their browser window so narrow to need it. However, the plain ol’ spaces are—typographically wise—too wide and also produce strings that are no longer true, Excel-pasteable, numeric strings. My point also is that I wasn’t in search of examples of decimal delimiting when I stumbled across this article. Upon finding it, I noticed the delimiting method used in numeric strings and recognized it as a good show piece for something I’ve been advocating lately: a number-delimiting template.

It’s clear that the simple use of full-width spaces isn’t an uncommon technique whatsoever on Wikipedia. Even though the regular-size spaces are large and make numeric strings appear like separate values, it seems readers readily understand and adapt. This common-sense observation flies in the face of SMcCandlish and his reasoning for opposing a template. He wrote “It [delimited decimal strings] is not understood by most readers”. Hogwash. Many Wikipedia articles have displayed numeric strings for years that have had full-width spaces in them. So it’s obvious on the face of it that using em-based span control to delimit would make it even easier for readers to recognize and understand what they’re looking at.

I think Font size is a textbook example of how Wikipedia could benefit from a template for delimiting numeric values with proper-size, em-based pair kerning (span control). It would make editing much easier, harmonize numeric strings across articles, make numeric strings much easier to understand, make numeric strings look more professional, and make numeric strings true, Excel-pasteable numeric values. Greg L (my talk) 09:15, 25 December 2007 (UTC)

[edit] Jerry Beck's Not Just Cartoons: Nicktoons!: It could give enough info to create separate character articles

I found a book in the bookstore called Not Just Cartoons: Nicktoons! by Jerry Beck. I'm not going to buy it and join the project, but I will ask the other members to get the book so that they can add real world information about various fictional characters.

This makes the creation of separate articles for *many* fictional characters feasible. Having information about the development of the character will make the articles satisfy Wikipedia:Notability (fiction)

In this case, the source has a lot of information about Ren and Stimpy and one could possibly write separate articles for each character. WhisperToMe (talk) 06:39, 25 December 2007 (UTC)

[edit] Convert st lb (lb/kg)

Merry Christmas and happy New Year Jimp,

Can the default be switched on this 'st lb' subtemplate so that it reads X st X lb (X kg/X lb)? I am not asking that it be done (yet), just if it is easily possible? I think that someone may have been hinting that the lb (X lb/... confuses them.

{{convert|13|st|7|lb|0|abbr=on|lk=on}} to produce 13 st 7 lb (86 kg/189 lb)


Regards, —MJCdetroit (talk) 14:25, 27 December 2007 (UTC)

Merry Christmas & a happy New Year to you too MJCdetroit,
Yes, it can be done ... no ... it was able to have been done but no longer since it's already done and 'twas easy enough ... easier than typing this convoluted sentence. I'd thought that since the first was not really a conversion as such—merely expressing the same thing in different terms—it aught to come first but a cause of confusion, I can see that. P.S. it's {{convert/and/lb}} not {{convert/st lb}}, the latter gives you conversions to both stones and pounds, e.g. {{convert|100|kg|st lb}} gives 100 kilograms (16 st/220 lb). Jɪmp 19:18, 27 December 2007 (UTC)
Thanks, but Question #2: Is there a way to have convert display something like this: 185 pounds (13 st 3 lb/84 kg). Right now it only shows stones in the decimal way{{convert|185|lb|st kg}} 185 pounds (13.2 st/84 kg) Regards, MJCdetroit (talk) 04:08, 28 December 2007 (UTC)
Also, conversions to pounds & ounces and feet & inches. Of course, there is a way, always a way. The much awaited conversions the other way. Still in the planning phase, though (I'd thought that this should be easier but I think I thought wrong ... won't be hard though). Jɪmp 16:45, 28 December 2007 (UTC)

[edit] Back at ya (re formatnum or “delimitnum”

Jimp, nice to hear from you. My response to your post is here. Greg L (my talk) 20:46, 27 December 2007 (UTC)

  • Jimp: I’ve clarified and better-organized the “nutshell” on my talk page regarding a “delimitnum” template/parser function (magic word). Thunderbird2 reports that due to our lobbying and arguments, the momentum at MOSNUM is shifting our way. He has pledged to maintain “low key lobbying at MOSNUM.” Is the parser function a task that you’re still interested in undertaking? Greg L (my talk) 04:40, 8 January 2008 (UTC)

[edit] bleh

The da Vinci Barnstar
I thought I knew how to code complex templates... then I saw {{convert}}. This is for not going insane. —Random832 16:47, 11 January 2008 (UTC)

[edit] Barnstar for template construction

The Template Barnstar is bestowed upon you
For the HUGH overhaul of {{convert}}. Wikipedia is better off for having you— the 800 lb (363 kg/57 st 2 lb) gorilla of template construction— around. — MJCdetroit (yak) 00:34, 13 January 2008 (UTC)

[edit] Please verify

Jimp,
Could you please verify my copy, paste, and tweek technique of {{Convert/ha sqmi}}? That will also need the category added to it.

Also, could you create an explanation page of what all the sub template parameter letters mean? Some are ease to figure out, b= is base in an SI unit, where area is in sq meters, but others are not so easy. Like what is j=? In any case, an explanation page is very much needed. Thanks —MJCdetroit (yak) 18:03, 14 January 2008 (UTC)

Looks okay ... did fix it though. Yeah, sorry for not getting around to that yet. This might give you a hint {{convert/unit}}. j = log10(b) i.e. the logarithm of the conversion factor to the base SI unit used for default rounding. Jɪmp 18:13, 14 January 2008 (UTC)
Thanks. It's been years since my last math class. That being said, how did you know to use 4 instead of 6? —MJCdetroit (yak) 18:47, 14 January 2008 (UTC)
If j = log10(b) then b = 10j.
1 ha = 104 m²
So for the hectare j = 4. For the square mile it's not so easy to figure out: you'd need a table of logarithms, a (decent) calculator, to be really good at arithmatic or a computer. I stick "1609.344" in A1 and "=log(A1)" in B1 in Excel. A1 is b & B1 is j. Jɪmp 23:42, 14 January 2008 (UTC)
Thanks, I think I get. I think in your example it should have been "2589988.110336" in A1 because we are talking about how many square meters in a square mile and not about how meters in a mile. Thank again. —MJCdetroit (yak) 21:11, 15 January 2008 (UTC)

[edit] Please verify part deux: Population density

Hi again Jimp,

I've created a series of sub-templates based on population density. They are some what subdivided into a "/unit" and a "PD/unit". The "PD/unit" will added the words "inhabitants per unit X. Think that everything is correct but a second set of eyes (yours) can't hurt. However, I am getting one weird error/oddity with the /acre and PD/acre templates. They don't abbreviate like they should, i.e /acre and not per acre, etc—see below. Can you please proofread the following subtemplates? P.S. I haven't created any multiple sub templates yet, so no converting per acre into per sq km and per sq mile.

{{convert|100|/sqkm}} -> 100 per square kilometre (260 /sq mi)

{{convert|100|PD/sqkm}} -> 100 inhabitants per square kilometre (260 /sq mi)

{{convert|100|/ha}} -> 100 per hectare (40 per acre)

{{convert|100|PD/ha}} -> 100 inhabitants per hectare (40 inhabitants per acre)

{{convert|100|/acre}} -> 100 per acre (250 /ha)

{{convert|100|PD/acre}} -> 100 inhabitants per acre (250 /ha)

{{convert|100|/sqmi}} -> 100 per square mile (39 /km²)

{{convert|100|PD/sqmi}} -> 100 inhabitants per square mile (39 /km²)

{{convert|100|/sqmi|/acre}} -> 100 per square mile (0.16 per acre)

{{convert|100|PD/sqmi|PD/acre}} -> 100 inhabitants per square mile (0.16 per acre)

{{convert|100|/acre|/sqmi}} -> 100 per acre (64,000 /sq mi)

{{convert|100|PD/acre|PD/sqmi}} -> 100 inhabitants per acre (64,000 /sq mi)

{{convert|100|/ha|/sqkm}} -> 100 per hectare (10,000 /km²)

{{convert|100|PD/ha|PD/sqkm}} -> 100 inhabitants per hectare (10,000 /km²)

MJCdetroit (yak) 16:43, 21 January 2008 (UTC)

Thanks. I've checked the above & made some adjustments: hyphens & singular for h (this is for adjectives) and exact figures (i.e. fractions) for b (do you calculations with excat figures and round at the end).
On a different note, metric ton vs metric tonne. Well, neither are terms we use in Austrtalia, so I'm wading a little out of my depth perhaps, but in (current) English there is no other tonne than 1000 kg so the metric bit in metric tonne would be redundant. On the other hand, the metric bit makes perfect sense if you're considering the tonne to be a kind of ton to be distinguished from the short and the long ones.
Well, there's glory for you (as Humpty might say) but it'll be a cold day in Hell before the English language conforms to "logic", so I Googled the terms. Metric ton won by about 5:1.
Jɪmp 00:36, 22 January 2008 (UTC)
How did you come up with the fraction (78125/316160658)?
Here in the U.S. and in Canada, a ton is 2000# for 99% of the population unless you work on boat or just got off of one (the last part was sarcasm that you may not get). 1,000 kg, when it is mentioned, it is always referred to as a "metric" ton or metric tonne. Have you ever seen the movie, Austin Powers? Powers describes "fat bastard" as weighting a metric tonne. I do agree that metric tonne is a little redundant for the folks who are used to tonne. But having metric in front does help some of my fellow yankees. In my personal opinion, I think that having "tonne" by itself maybe viewed incorrectly as the "British way" of spelling ton; much like program vs. programme. That's probably why we always hear the term metric t... If you want to switch it back to ton, it wouldn't upset me in the least bit. I was just trying to use the tonne term with the metric term. —MJCdetroit (yak) 02:11, 22 January 2008 (UTC)
I'd been meaning to see that movie. Some interesting points there. Yeah, tonne mistaken for some British spelling of ton, I could see that ... of course, links and/or context (especially other metric units) might help to clear that confusion up ... if it's not already obvious from the fact that this is a conversion (likely to or from a short and/or long ton). We've got three possible terms:
  1. tonne
  2. metric ton
  3. metric tonne
I prefer 1, 2 is a distant second but I'll cope with it in the appropriate context, as for 3 ... it just seems plain wrong like dairy milk, aquatic fish, feline cat, etc. Though, it's not as if it's never used ... chai tea ...
So, interesting arguement for metric tonne over tonne but what about metric tonne vs metric ton? You write you "always hear the term metric t..." Actually, what do you hear, metric tonne (rhyming with gone) or metric ton (rhyming with gun)? I haven't spend long enough in North America to guess the answer and Google says only so much.
What are our options, then? It seem to me that we've got two reasonable options at hand.
a. We could make allowances for all three.
b. We could choose between metric ton or metric tonne.
If it's to be b. then perhaps my talk page ain't the place to decide which (nor even convert's talk, we should take it to WT:MOSNUM). I don't think that disallowing plain tonne is an option: this is the normal name for the unit outside North America neither metric ton or metric tonne is ever used in Aussie English. Jɪmp 03:38, 22 January 2008 (UTC)
An acre is a furlong by a chain. A chain is 22 yards & a furlong 220. A yard is 0.9144 metres. so an inverse acre is
100009144×100009144×122×1220 m−2 = 12501143×12501143×122×1220 m−2
= 12501143×1251143×122×122 m−2
= 6251143×1251143×111×122 m−2
= 625×1251143×1143×11×22 m−2
= 78125316160658 m−2
Jɪmp 03:55, 22 January 2008 (UTC)
It's ton pronounced like 'gun'. Like I said, I prefer having the term metric before ton/tonne. I am kind of indifferent about ton/tonne, but your arguement is making lean toward 'ton' for an unseen/stated affect that metric tonne may have on editors removing the "metric" part. That being said maybe I should revert that spelling change. —MJCdetroit (yak) 04:25, 22 January 2008 (UTC)

[edit] Hyphens

Thanks for the heads-up. 4u1e (talk) 10:09, 15 January 2008 (UTC)

[edit] Hard spaces again

Progress, yes? Hope to see you there, Jimp.

– Noetica♬♩Talk 07:18, 16 January 2008 (UTC)

[edit] TfD nomination of Template:Aust Beer Glass

Template:Aust Beer Glass has been nominated for deletion. You are invited to comment on the discussion at the template's entry on the Templates for Deletion page. Thank you. -- Mark Chovain 08:18, 17 January 2008 (UTC)

[edit] Conversion template

Thanks for your note. Can you tell me why it's been removed though? Thanks AreJay (talk) 12:36, 17 January 2008 (UTC)

Nevermind...I realize why it was removed now. Thanks! AreJay (talk) 12:38, 17 January 2008 (UTC)