FANDOM


Example: {{skill icon|Hamstring}} will display as: Hamstring Hamstring



This template was made to display the icon for an article next to the link to that article. For the template to work there is one major requirement: The icon file name must be exactly the same as the article name, including spaces/underscores, with a lowercase file extension png. --Tetris L 03:39, 15 Oct 2005 (EST)

Naming them the same will have a small problem when there's an apostrophe in the name, since it'll make the link to the image page break. Because of that, we've removed apostrophes from all the images (or, all that we've noticed). --Fyren 03:55, 15 Oct 2005 (EST)
Hmmm ... you're right. There goes my revolutionary idea. ;) --Tetris L 04:05, 15 Oct 2005 (EST)
Its not that I don't like the work, or think that its a bad idea. But am I the only one who thinks it wouldn't be too much work to type in the file name and then the skill name: {{Icon|Hamstring.png|Hamstring}} or {{Icon|Otyughs Cry.jpg|Otyugh's Cry}} That way we wouldn't need to worry about stuff like apostrophes or jpg vs png. --Rainith 04:16, 15 Oct 2005 (EST)
Well ... it isn't too much work, but even a little bit of work avoided is nice if you use the template a thousand times. But for the reason you explained there is probably no other way than to type both. Plus ... it would be a lot of work to upload all icons again that don't fit the naming convention. So your way is the way to go. --Tetris L 04:21, 15 Oct 2005 (EST)

What about [[Image:{{{1}}}.png|25px]] [[{{{1}}}]] wouldn't that be simpler? If the images are named correctly, if they aren't they can be easily changed Skuld 04:26, 15 Oct 2005 (EST)

Skuld, see above about apostrophes and the issue that they cause. --Rainith 04:27, 15 Oct 2005 (EST)

I see very little difference between:

{{icon|imagename|skillname}}

and

[[image:imagename|xx]] skillname

I don't see what the gain is. My 2 cents. --Karlos 08:39, 15 Oct 2005 (EST)


With most image file names on the wiki being changed to the uniform format we might start using (the short version of) this template again. :) --User:Tetris L/Sig 15:07, 21 February 2006 (CST)

Great idea ^^ — Skuld 01:44, 13 March 2006 (CST)

I think it would really be nice to have this template used on all appropriate pages (all the bulleted skill lists, and perhaps item lists), but the scale of that task makes crusading impossible. A bot would be needed to make the necessary changes. --adeyke 03:42, 10 April 2006 (CDT)
maybye is Stabbot an option... Alexanderpas Monk-icon-small Talk 07:57, 28 April 2006 (CDT)

move this template

I would like to use this template name for a template that simply generages an icon, period. -PanSola 18:42, 10 April 2006 (CDT)

Yup. I don't use this because it adds the text, but I would like to use it dor the icon alone. --Gem Gem-icon-sm 08:04, 28 April 2006 (CDT)
I wouldn't mind, provided you fix all the pages that use the old template. --Tetris L TurningL sml 14:12, 1 May 2006 (CDT)
Personally I'd rather see this template get the axe as it was never really implemented. --Rainith 15:22, 1 May 2006 (CDT)
I'm making use of it whenever I create a foe article, and I entend to make even heavier use of it in future, so if you want to move or change it, you better do it now. --Tetris L TurningL sml 08:36, 4 May 2006 (CDT)
I cleaned up a handful of straggling uses of this template; the only pages now using it are a handful of talk and user pages. I think it's pretty safe to either delete the template, or to modify it to icon only. --- Barek (talk • contribs) - 18:53, 8 June 2006 (CDT)

Monster skill icon

if we adapted this to have an optional field for a monster skill icon, that would help alot. also if it added the suffix "(Monster Skill)" that would be great. --Jamie Jamie 08:15, 8 July 2006 (CDT)

Template:Monster skill icon. --68.142.14.7 14:50, 8 July 2006 (CDT)

New

Proposing an extra skill icon template for the Luxon/Kurzick skills. Simple modification, found here. Returns this:

The 2 icons are switched around in order to counteract the order in the skill box template to some extent --Gimmethegepgun 17:04, 20 November 2007 (UTC)

do eeet!—JediRogue 21:18, 20 November 2007 (UTC)

Template:Skill_icon

← Moved from User talk:PanSola

In Template:Skill_icon, why didn't the #ifexist work? Performance issues? (Just curious). mendel 08:17, 30 May 2008 (UTC)

IFEXIT and a few other parser function calls impose a relatively large load on the server, so the MediaWiki software internally limits the total number of calls allowed per article. the limit used to be around 500, but later it got down to about 100 or 50. On pages where lots of templates using IFEXIST is used, it begins to break down. -User:PanSola (talk to the Follower of Lyssa) 19:07, 30 May 2008 (UTC)
If you look in the HTML source of any page, you can see that it is 100 now. Example: #ifexist count: 0/100. mendel 21:55, 30 May 2008 (UTC)
Community content is available under CC-BY-NC-SA unless otherwise noted.