# Template talk:Pi box

WikiProject Numbers
This template is within the scope of WikiProject Numbers, a collaborative effort to improve the coverage of Numbers 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.

## Icon decoration

There used to be an icon in this template indicating the approximate value of pi. I agree that such an icon would be inappropriate if this template were used only for the main pi article, because the value of pi is given elsewhere in that article. However, this template is also used in many other related articles that do not mention that pi is approximately equal to 3.14.166.137.138.215 (talk) 20:45, 9 October 2010 (UTC)

## Requested move 2010

The following discussion is an archived discussion of the proposal. Please do not modify it. Subsequent comments should be made in a new section on the talk page. No further edits should be made to this section.

The result of the proposal was move per request.--Fuhghettaboutit (talk) 01:26, 26 October 2010 (UTC)

Template:Π (mathematical constant)Template:Pi — The title of this template is necessarily capitalized for technical reasons, but upper-case "Pi" (Π) has a very different meaning in mathematics than its lowercase version (π or $\pi$). Template:Pi would be a much clearer (and easier to use) name for this template. It's currently a redirect to Template:User Pi, but I think this is a better use for it. Powers T 11:14, 19 October 2010 (UTC)

### Survey

Feel free to state your position on the renaming proposal by beginning a new line in this section with *'''Support''' or *'''Oppose''', then sign your comment with ~~~~. Since polling is not a substitute for discussion, please explain your reasons, taking into account Wikipedia's policy on article titles.
• Support per nom. The current title seems unnecessarily cumbersome, and it wouldn't take much to replace existing uses of {{Pi}}. PC78 (talk) 16:22, 19 October 2010 (UTC)
• Support article templates should take priority over any user template. 76.66.200.95 (talk) 09:20, 20 October 2010 (UTC)
• Support per nom. Easier to use. Zangar (talk) 15:38, 21 October 2010 (UTC)
• Support. Seems quite sensible. 00:22, 25 October 2010 (UTC)

### Discussion

The above discussion is preserved as an archive of the proposal. Please do not modify it. Subsequent comments should be made in a new section on this talk page. No further edits should be made to this section.

## Move Redux 2011

{{Requested move/dated|Template:Pi box}}

Template:PiTemplate:Pi box — I was about to create a typographical template with this name, only to find out it's been taken by this box template. A better name would have been Template:Pi box. Edokter (talk) — 13:02, 16 March 2011 (UTC)

• Comment exactly what do you want to replace this with, at this location? 65.93.13.60 (talk) 04:38, 17 March 2011 (UTC)
• As I said; a typographical template, so that typing {{pi}} would result in π. Edokter (talk) — 12:12, 17 March 2011 (UTC)
• But π and Π are two different characters, and you can already do it with HTML "&pi;" and "&Pi;" which is shorter than the template form. 65.95.13.139 (talk) 02:29, 18 March 2011 (UTC)
• Those entities (π Π) are not in serif (π Π), which is what this template would solve. Edokter (talk) — 11:20, 18 March 2011 (UTC)
• π Π (<span style="font-family:serif;">&pi; &Pi;</span>) It depends on what your font settings are. If you use a serif font it will be serifed, if not, then it won't. Though that still doesn't get to the point of which Pi/pi it will display, since {{pi}} is exactly the same as {{Pi}}, hence the appropriateness of "Pi" as the lowercase one. 65.95.13.139 (talk) 13:32, 18 March 2011 (UTC)
• (←) span style="font-family:serif; is not enough, and is even discouraged because it renders too small on most skins. Some mathematical constants like pi are by rule of thumb rendered in serif. And the template would take any font-related issues into account. I don't know what the major objection is. This is a sidebox, so it should be named appropriately. The casing would be solved using {{pi}} and {{PI}}. Edokter (talk) — 15:21, 18 March 2011 (UTC)
• Comment. I was checking Special:WhatLinksHere/Template:Pi, and I found some bizarre templates related to robotics which link to it. Any ideas how that happened? Obviously, if the template is renamed, all legitimate uses will have to be fixed before a new template is placed, and it would still make prior revisions of those pages unreadable. To avoid problems, the new template will have to check for a magic word such as {{pi|π}}, and revert to the old template if the word is not present. — Arthur Rubin (talk) 18:39, 18 March 2011 (UTC)
That also allows {{pi|Π}} to be distinguished from {{pi|π}}Arthur Rubin (talk) 19:29, 18 March 2011 (UTC)
• I think I fixed this problem. I think the person who made the {{robotic laws}} template copied the {{pi}} template leaving the |name=pi. It seems odd that this would cause this sort of problem. Before I removed this line clicking on the edit "e" would lead to the pi template instead. At least that is fixed. TStein (talk) 20:55, 18 March 2011 (UTC)
• support: I am not a big fan of the proliferation of ad hoc solutions to equation and variable formats. I would rather not have to do a hack like this. On the other hand {{pi box}} or {{pi navbox}} makes more sense for this template and unfortunately there is no real alternatives to hacks like creating this new {{pi}} template to format pi correctly under (hopefully) all the many different styles fonts and settings. TStein (talk) 20:55, 18 March 2011 (UTC)
• Comment If this is to be used for math wouldn't class="texhtml" be better for formatting it? Dmcq (talk) 13:18, 20 March 2011 (UTC)
• That is the idea. The template would contain <span class="texhtml">&pi;</span>. Edokter (talk) — 14:51, 20 March 2011 (UTC)
• Isn't $\pi$ sufficient for displaying a properly-formatted $\pi$? Powers T 00:09, 29 March 2011 (UTC)
• That is not ideal; [itex] may not scale when forced (by user setting) to render in PNG. Edokter (talk) — 16:43, 29 March 2011 (UTC)
• Then that bug ought to be fixed; I don't like using a MediaWiki template when have a viable alternative. Powers T 18:03, 29 March 2011 (UTC)
• I doubt that that bug will be fixed any time soon. There are way too many different fonts, styles, math options, and systems to find one fix to rule them all. There are only two ways fix this bug, that I can think of: either start a new math system from scratch that has more parameters and is significantly more flexible in the back end that it can adapt to all the different styles or limit the options somehow. Neither solution is easy. I would not hold my breath waiting. We are going to have to continue doing hacks like this for a while yet.TStein (talk) 00:20, 30 March 2011 (UTC)

Seeing no notable objection, I'll start preparing the move. Edokter (talk) — 10:29, 9 April 2011 (UTC)

## "π" vs. "pi"

"Pi" is correct usage in straight text, while "π" is properly for equations and explanations of equations. This is standard treatment for math symbols. Even universally understood symbols like "1" and "2" are spelled out in published text oriented toward the general reader. "π" certainly looks cool, but "pi" remains common usage and by an overwhelming margin. On Google books, pi irrational gets vastly more hits than π irrational. CNN uses "pi", the BBC uses "pi", and the New York Times uses "pi". This entry in Merriam-Webster is entitled "pi". The "pi" entry in Britannica is a good model. They clearly have no policy or technical issue that prevents them from publishing a "π", yet they use it only for equations. Van Nostrand's Scientific Encyclopedia does the same (p. 4105 -- sorry no link). If the idea is that the symbol "π" represents specialist scientific or mathematics use, Van Nostrand's is the authority on that. Math journals can go either way. Check here and here for journal articles with "pi" in their titles. In short, "pi" should be introduced as the primary usage, i.e. the mathematical constant pi (π). This keeps the cool symbol right at the top of the box, while at the same time letting the reader know what established usage is. Kauffner (talk) 16:57, 19 April 2011 (UTC)

I see π in running text all the time when referred to as the mathematical constant. Also, I don't consider this box running text. If you want to establish a fixed notation in these cases, perhaps WT:MOSMATH is the better venue for that. Edokter (talk) — 10:25, 20 April 2011 (UTC)
Nonsense. This is not established usage, and certainly not in a mathematical context, which is where this box appears. Hans Adler 18:12, 20 April 2011 (UTC)