Template talk:Loot

urlencode
Im trying to include this Template in my wiki, but isnt work, it dont know the command urlencode. Where it is declared?

Thanks. --GraBR 20:22, 16 September 2007 (UTC)
 * urlencode is a standard magic word found on Mediawiki wikis after v. 1.7. Do you have that version installed? --Sky (t · c · w) 20:29, 16 September 2007 (UTC)
 * hum.. v.1.6.10, ill upgrade and try again. Thanks --GraBR 00:50, 17 September 2007 (UTC)

Please fix
Please add appropriate code so the article "An article that will never exist" is never linked. Simple, creative use of the #if tag will allow this. --Pcj (T•C) 23:03, 8 July 2007 (UTC)
 * Still fixing is needed --Dyna18 15:04, 12 August 2007 (UTC)

Icons?
Could an icon option be added for this template? Or is there an existing similar template with an icon option? I'm basically looking to improve the item references as objectives or rewards on quest pages. --Reacheround 14:44, 26 July 2007 (UTC)
 * No, this is just to link to the item page. Icons should go on the respective item page, using Tooltip.  If you need to show the whole tooltip, simply include the item page. --Pcj (T&bull;C) 15:40, 26 July 2007 (UTC)
 * Fair enought :) --Reacheround 15:51, 26 July 2007 (UTC)

Quest items?
What can I do to link to, for example, items of this class? PhilHibbs 16:16, 22 September 2007 (UTC)

the new tooltip
its great !, however, the "blabla is a rare quality item" yellow tooltip should no longer be displayed as it overlaps the bigger and better tooltip. 07:58, 3 October 2007 (UTC)

color doesnt appear
I`m trying to add this template to my wiki. I`ve added source from this site, but there is no colored names. It`s only internal link with red or blue highlight. Help me plz. wiki ver. 1.10

Drdead 12:56, 16 October 2007 (UTC)


 * MediaWiki:Common.css has CSS classes that are called. 15:00, 16 October 2007 (UTC)
 * I get it, tnx! Drdead 18:55, 16 October 2007 (UTC)

Beast Lord Cuirass
In the Beast Lord Cuirass template there is an error that causes the number set to be "?" instead of "5" (last line in yellow) but i don't know how to modify it. --N&#39;Nanz 11:05, 21 October 2007 (UTC)
 * Fixed. If you see any others, feel free to fix those too. :P --Sky (t · c · w) 03:47, 24 October 2007 (UTC)

ID
So I was wondering if there's any way to add a line to the template which allows an id=xxxx field in the template. This would only be useful for items which have no page on the wiki, but would set the four miniature elinks to link directly to the appropriate page. Some items just don't need an article here, but a direct elink might be a nice replacement :)

Example:  &#91; &#93;

Sorry for the ugliness in the code here, I had to subst the template in order to make my example :) Hekirou 14:04, 25 November 2007 (UTC)

Include item icons?
I don't know how enormous a suggestion this is, but I know that people can write some crazy stuff. For instance, I don't even know how this template works. Anyways, how about setting up where the icon is included with the link? Perhaps it should be a different template for certain cases where people don't want to include loot icons for whatever reason. Feasible? Schmidt 02:45, 19 December 2007 (UTC)


 * See Wowpedia talk:Village pump for my input (and hopefully other's to come) on this. --  http://www.zealvurte.co.uk/temp/sig-av/wiki_zeal.png|User:Zeal  http://www.zealvurte.co.uk/temp/sig-av/wiki_talk.png|User talk:Zeal  http://www.zealvurte.co.uk/temp/sig-av/wiki_contribs.png|Special:Contributions/Zeal  http://www.zealvurte.co.uk/temp/sig-av/wiki_end.png|User:Zeal  13:49, 19 December 2007 (UTC)

Removed ifexist
I understand the reason for this, but it should have been mentioned here after doing. Longtime users of this template expect loot links that don't exist locally to give helpful item DB search links. Now that doesn't work anymore. -- Fandyllic  (talk · contr) 1:34 PM PST 7 Jun 2008
 * I might be able to cook something up using JS. Stand by. -- 22:02, 7 June 2008 (UTC)
 * This is now implemented using JavaScript. and whatnot. -- 00:57, 8 June 2008 (UTC)

Support for Wrath of the Lich King &beta;eta DBs
Pcj added support to the loot template to use JS to create search links for missing items in the new DBs for Wowhead and Thottbot.

To point a loot link to the new βeta DBs, just add   to your template wikicode, like so...

Missing item with search links:
 * Wikicode:
 * Result:

Item we have ( not really needed):
 * Wikicode:
 * Result:

So until the expansion is released, we can use these links. -- Fandyllic  (talk · contr) 2:06 PM PST 9 Aug 2008

Parentheses Bug
These seem to cause problems with the mouseover. and. works just fine even though it doesn't even have an icon. Howbizr (talk) 16:20, 21 September 2008 (UTC)
 * That's because you were not using .  16:37, 21 September 2008 (UTC)

Wowhead merged WOTLK database since 3.0 patch
Note that wotlk.wowhead.com links redirect to www.wowhead.com now. -Howbizr (talk) 16:52, 15 October 2008 (UTC)
 * I was apparently somewhat mistaken. For items that are coming out only for Wrath, they still require "wotlk". However, the majority of items are now working with "www.wowhead.com." For example will not work with "www", but  will render with either "www" or "wotlk." For this interim period, there is auto-redirecting from "wotlk" to "www" for all items that are in both areas. -Howbizr (talk) 16:23, 20 October 2008 (UTC)

Mouseover Problem?
But I have NO idea why. Everything looks identical to and it's fine.

Ideas? I discovered the problem: Paladin glyphs. -Howbizr (talk) 16:43, 18 October 2008 (UTC)
 * That was because had an incorrect name on its tooltip.  16:50, 18 October 2008 (UTC)

Missing item search links use label and not item name, has plural problem
I noticed this awhile back, but I'm not sure what we should do about it. Try out the DB links for the following (at least one should not have been entered yet):
 * poor
 * uncommon
 * epic
 * epic
 * epic

All I did was use a plural label, but the search DB links use the label instead of the item name, so they don't work.

I think we should have the search use the item name, but there is a drawback. The search link also breaks if you have an item name that is disambiguated and missing like (the Wowhead link below works, but the Thottbot one doesn't):
 * rare

No one took the time to make class specific Medallions of the Horde, I guess.

Should I still ask Pcj to have the search links use the item name? -- Fandyllic  (talk · contr) 10:49 PM PST 5 Apr 2009


 * The "searching by label instead of item name" could probably be fixed. Your second example about the insignia search is because Thottbot searches for the whole argumentt, while Wowhead doesn't search for things within brackets (compare "(Death knight)" and "(Death knight)" searches. And about the medallions not being class specific is because there is little to no difference - the insignias for all classes provides the same stats, and the only thing that sets them apart is the "Classes:" text. There shouldn't be a need to create articles for each individual version. -- 07:02, 6 April 2009 (UTC)
 * Well, Mr. Pcj seem to have to fix the label search thing, as it's on MediaWiki:Tooltips.js, and it's way out of my league. -- 07:36, 6 April 2009 (UTC)
 * I looked at Pcj's changes and they don't seem to be related to the search, he just appears to be optimizing his code. Also, his last changes were on March 30th. -- Fandyllic  (talk &middot; contr) 5:59 PM PST 7 Apr 2009
 * Looking more at Pcj's code, I think I know the problem, but I'm not a good enough javascript whiz to fix it without potentially screwing things up royally.
 * He appears to be picking out the name to use for search from the HTML source, but is picking the label, because it doesn't have underscores.
 * Here is some example HTML for a missing item loot link:
 * From what I can parse of his code, he's grabbing the, instead of  or  . It must be because that is the easiest name to grab without having to remove underscores or chop of the parenthetical stuff. I'll put a note on his talk page to look at this discussion. --  Fandyllic  (talk &middot; contr) 6:23 PM PST 7 Apr 2009
 * Fixed (or will be when the cache rolls through). Next time just tell me. -- 01:37, 8 April 2009 (UTC)
 * Next time, I'll just tell you directly. I wasn't sure if the previous functionality was intentional and I was just missing the reason, since no one else reported it to you. -- Fandyllic  (talk &middot; contr) 1:03 PM PST 8 Apr 2009
 * Next time, I'll just tell you directly. I wasn't sure if the previous functionality was intentional and I was just missing the reason, since no one else reported it to you. -- Fandyllic  (talk &middot; contr) 1:03 PM PST 8 Apr 2009

Heirlooms
Is there a way to use this template and use the Bind to Account coloring? i.e. set quality to BOA or Account and it shows up as the correct color? Example: |
 * align="center" | || Arcanum Is now a Bind on Account quality item, not a Rare quality item. Cindrah (talk) 15:09, January 25, 2010 (UTC)


 * does work? --Eirik Ratcatcher (talk) 22:00, January 25, 2010 (UTC)

Relation to "item"
There are two templates to do the same thing: Template:Loot and Template:Item. Why are there two? There should be some description on both pages when to use one or the other. Or deprecate one of them. Manski (talk) 07:54, February 24, 2010 (UTC)


 * Loot is made to specify the item quality, and also helps by making a search if the item doesn't exist. Item pulls directly the item quality from the item if it exists, and can also be used to show the icon, which isn't support by Loot. It also has some relation to load times, but I'm not sure about that... Maybe someone else have a better explanation for that. -- 12:04, February 24, 2010 (UTC)


 * Partly the load times, but much more involved with fetch exhaustion (or some such term). Certain pages in the past have had vast numbers of instances of item.  (example:Blacksmithing recipes.  Between transcluded pages and all, literally hundreds of links.) The wiki software, after a certain point, stopped processing the transclusions.  Likely, a safety feature to prevent circular links from locking up the software.  Converting (back) to loot cured that.  Thus at a minimum, pages with many links should be using loot instead.


 * Personally, I'm more a fan of loot than item, as the icon abilities of the latter tend (IMO) to get overused. As well, I'm in favor of the lighter processing load generally.  But item is the one most commonly used, particularly when only a few items links are needed (such as on quest pages). --Eirik Ratcatcher (talk) 21:11, February 24, 2010 (UTC)