Template talk:Skill bar

test   this is to emmulate the skill bar, makes use of template:apostrophe replace  11:08, 14 November 2005 (UTC)

thought it could be of use as a visual guide on builds pages? 04:14, 15 November 2005 (UTC)


 * This is old, but I like it a lot. I'll try to implement it for all build pages when I have the time. --Xeeron 09:14, 18 January 2006 (UTC)

Ooops forgot to log myself ^^ (css was me). Btw all Fsk pictures are in 64x64 yes but with a black border so the real dimensions of officials skills' icons is more 56x56


 * I kept it at that size, some stretch and distirt colours when small, that was best tested size 14:53, 27 January 2006 (UTC)


 * Noticed that =). --Neck 15:01, 27 January 2006 (UTC)

Can I put that as template ?

actual:

That is hot. Please do! ^^ I envy you, seem to have lost all my css skill from being outof practise for a year lol :P Stick it in 16:13, 27 January 2006 (UTC)

Done =) --Neck 16:47, 27 January 2006 (UTC)

I love this template, but it sadly can't deal with image files that have spaces removed, instead having them replaced with underscores. I hope a fix can be found for this! I hope to see some work on the template:apostrophe replace; another barrier from making this a perfect template. -- Aquatopia 15:29, 30 January 2006 (UTC)
 * There is no need for that any more, images can be uploaded with apostrophes in some patch now ^^ 02:46, 13 February 2006 (CST)

Problem with some images and a suggested fix
Problem: some image files such as Image:Distracting Shot.png and Image:Serpent's Quickness.png are not uploadable because of some server bug.

Fix: for each skill, make a separate page for the Skillname/Icon that lists the actual file name that can be uploaded. Then, in this template, include  instead of.

Example of it in action: I've been testing it out on my own private MediaWiki installation. See here. I've liberally pasted in just enough information from GuildWiki to make a 2-skill skillbar work with one of these images that cannot be uploaded.

Questions/comments? 08:44, 24 February 2006 (CST)


 * Did everyone just miss this, or do you truly not have any comments at all? 11:28, 25 February 2006 (CST)
 * *blank stare* perhaps you could provide an example on guildwiki? I'm still not exactly getting this -- 11:34, 25 February 2006 (CST)


 * I am hesitant to operate on guildwiki directly to make an example, but will do it if truly desired. Perhaps this list on my test wiki will serve to illuminate things?


 * Distracting Shot and Distracting Shot/Icon
 * Template:Skill_bar
 * Compare the template in particular with Template:Skill bar with regard to how the image is included. 11:49, 25 February 2006 (CST)
 * Maybe I'm just slow today (after work today, I should really be blind stinking drunk right now, not here, but I digress...) but looking at it on your wiki, I can't really tell exactly what is going on. --Rainith 11:55, 25 February 2006 (CST)

OK, let me try to do a better job of explaining it. Currently the template takes an argument like "Distracting Shot", and attempts to use the image. Unfortunately, this image cannot be uploaded because of a server bug. My suggestion is that instead of doing things so simplistically, to actually look in the page Distracting Shot/Icon (which doesn't currently exist) to find the actual filename that the server allows to upload -- which would contain the text "DistractingShot.png" in this case -- and then use in the skillbar. Does this clarify things a bit? 12:00, 25 February 2006 (CST)


 * Ah, Mongo understand now. It seems like a good fix to me. I'd prefer the stupid upload bug was fixed, but barring that this should work.  --Rainith 12:05, 25 February 2006 (CST)
 * Yeah, this could work, it would also be cool if there was a way to code it into the template so that it could be put in normally :p -- 13:09, 25 February 2006 (CST)
 * The template suggestion I have, viz. Template:Skill_bar, automatically looks in the /Icon page to find the proper filename. All the user has to do is create the /Icon page. Did you mean that it should glean the skill image from the page itself without having to create an /Icon? That seems hard, as the templating language is quite stupid. 14:32, 25 February 2006 (CST)
 * Stabber, I have no idea what your version is like as you have to register to see source pages and you can't register -_- 02:28, 6 March 2006 (CST)

I'm new here and as such don't have a lot of experince with this but I have been working on something with skill bars that i have identified the problem. The way the skill bar is currently coded the space where you type in the name of the skill is used to generate several links by first searching for 'skill_name'.png and then adding a text link to the 'skill name' stub. I believe that at least some of the problems with images showing up properly is in the naming of the image, when the name of the image is the same as the title of the realted skill's article only with '_' instead of ' ' and the image is in png format it works fine. If, however, the skill title and image are different it doesn't work correctly. Take these two skill bars as an example:

In the first bar the ward against elements image shows up but the link doesn't work because there are no spaces. In the second skill bar the link works but the image doesn't becuase there are spaces. I'm betting if the image name were changed to "Ward_Against_Elements.png" from "WardAgainstElments.png" to match the skill stub it would work fine. Defy pain's link works but the image is not show and i think this is because the defy pain image is in .jepg format and not .png.
 * Yes, I think we are all aware of the reasons of the problem with the skill icons. The problem is not with the template itself, but rather a bug in the MediaWiki code that disallows certain filenames in its upload directory. My solution to this noted above is to go through an indirection. The question is whether this solution is aesthetically pleasing or not. I am still in the "not" camp, which is why I haven't made the change yet. By the way, please sign your comments with four tildes, i.e., ~ 10:30, 27 February 2006 (CST)

Change this please
This template still seems to use the old images. Can this be changed to use the new FSK images? --Xeeron 08:20, 1 April 2006 (CST)