Zarel/Pokemon-Showdown-Client — pull request #211 by SolarisFox (2014-06-18 00:25:09+00:00)
Title: add /details

This is a command built similar to /data only it displays other information on a pokemon which is less frequently (if at all) relevant to competitive battling. The information displayed by this command is as follows:
[dex number] [sprite] [pokemon name] [dex color] [height] [weight (Base power of low kick/grass knot)]
[tier] [level at which it evolves (if it does)] [egg groups]

I feel this command is worth adding, for even though it might not make a huge difference, users occasionally want to know this information which despite already being contained within the client is not accessible on site. (Especially tier, weight, and dex color).
EvoLevel is on very rare occasions applicable to competitive (for example running level 22 endeavor Swellow), but more importantly I've seen uses ask for that particular piece of information and felt it was worth including. Egg groups, while much less directly useful than /learn, can still help a user understand why a set is or isn't legal which I feel could hold value. Height is by far the least useful of the information returned and I've already heard some requests to have it removed. If there is enough demand to have it taken out I can understand that it might just make the return line more visually confusing, but personally I output looks more naked without it for whatever reason and I don't see it as taking up too much visual space. Also a height total based meta could pop up at some point which would be very inaccessible without something like this. (maybe a bit of a stretch, but you never know.)

As far as the code itself goes, I will admit right now that I really struggle with , and am positive I do not have this optimized (especially in style/utilichart.css). This is just a proof of concept and I'm sure that more experienced programmers can get it running better than I have it.

If you'd like to try it out for yourself, you need to add this bit to config.commands on the server side: http://pastebin.com/UgbEYwLu
I haven't made a pull request for the server yet, because there is much less code on that side and I want to keep the conversation for this in one place.

I'm open for ideas on how to change the visual formatting as well.
![ss 2014-06-17 at 05 24 06](https://cloud.githubusercontent.com/assets/7889474/3308442/ee0663e8-f67e-11e3-8f96-b4f88a2d542d.jpg)