Template talk:NPC

Created
Created this template to link NPC in articles. The template takes the following input:

Faction: Alliance, Horde, Neutral Name: Name of the NPC Thott: Number on Thottbot

Example: would create the following link --Montronax 16:28, 15 March 2006 (EST)


 * Thott variable removed at some point. -- Fandyllic (talk &middot; contr) 2:16 PM PDT 28 Oct 2007

subst:?
I think the way to use this template best is to subst: it to increase server performance. While I don't know wether this is a problem at the moment, it might easily become a problem in future, so we should avoid unneccesary database connects when we can. Asgar 03:47, 27 June 2006 (EDT)

Removal of external links
As this is a little used template, I am commadeering it for myself, and removing the external links to Thottbot and Warcry, in keeping with the trend previously established with removing the Thottbot link from Template:Questlong. --Mikaka 21:22, 16 January 2007 (EST)
 * I also changed the input format to be easier to use. --Mikaka 21:30, 16 January 2007 (EST)

Icon
Is there any way we could incorporate a race icon into this? It would make the code for the NPC lists and Quest lists much simpler.... -- 21:37, 10 August 2007 (UTC)


 * Incorporated ability to use small icons from List of race icons. See example of Wickerman Guardian above. -- Fandyllic  (talk &middot; contr) 2:16 PM PDT 28 Oct 2007

Doesn't work for some NPCs
I love this template. It gives you all the information you need on a vendor with a mouseover, but otherwise it only shows the NPC name and faction symbol. A great way to keep the page from cluttering up while still giving needed information. However, I've found that it doesn't work for some NPCs. For example:  I also don't see it working for bosses, like the Wickerman above. How do we fix these broken tooltips? -- 22:44, 1 January 2008 (UTC)
 * Add a correctly-formatted npcbox to the NPC's page. -- 22:45, 1 January 2008 (UTC)
 * Excellent! Thank you. I've already fixed Lokhtos Darkbargainer. --  22:54, 1 January 2008 (UTC)

Aldor/Scryer
Thinking it would be useful to have small Aldor and Scryer icons that can be used in NPC templates. For example, would produce, or something similar. Ideas?--Tiwuno 00:44, 12 January 2008 (UTC)


 * I will try to work on this. It should be pretty easy. --[[Image:gengar orange 22x22.png]] Fandyllic  (talk &middot; contr) 4:35 PM PST 15 Jan 2008


 * Done. Just use "Aldor Neutral", "Aldor", "Scryers", or "Neutral Scryers" instead of "Alliance", "Horde", or just "Neutral".
 * &rarr;
 * &rarr;
 * &rarr;
 * &rarr;
 * This didn't require any change to the NPC template. --[[Image:gengar orange 22x22.png]] Fandyllic  (talk &middot; contr) 4:59 PM PST 15 Jan 2008

Can anyone help me test Template:NPC/dev?
I don't want to turn this on until it's had some testing by some other folks than me. Please try out NPC/dev in as many permutations you can think of. All that is added currently is support for racegender= parameter for icons based on the various &#123;&#123;Race Icon ??? Small&#125;&#125; templates on the List of race icons. See Template talk:NPC/dev. It doesn't yet support templates of the type &#123;&#123;Mount Icon ??? Small&#125;&#125;.-- Fandyllic  (talk &middot; contr) 4:34 PM PST 15 Jan 2008

Smallicon
It should work with any kind of image now.. although it will look better with small icons. -Howbizr (talk) 03:42, 8 November 2008 (UTC)

Icons
Personally... I prefer using RaceIcon in addition to this template, just because if we use the image parameter for this template, it requires you to know the exact file name. Now, if we could change it to make it possibly smaller or less to type it would be nice. For instance, SmallIcon and .gif really aren't needed since it's always required anyway. is all you should really need for that parameter. I think a lot more users (including myself) would use that parameter if it was made simple.

Given the amount of articles using this template I'm not going to make this change without a bot ready to do the necessary steps though, unless people disagree with this? 02:46, March 28, 2010 (UTC)


 * No comments =( oh well, change made. So now instead of  it's simply    00:08, May 22, 2010 (UTC)

Placement
And while we're talking about icons, I was thinking it might look better if the race icon came before the horde/alliance icon. That way if RaceIcon was also used in the same table it would match up better. 02:51, March 28, 2010 (UTC)