Gaming
 

Template talk:NPC

From WoWWiki

Contents

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: {{NPC|Horde|Thrall}} would create the following link Horde Thrall
--Montronax 16:28, 15 March 2006 (EST)

Thott variable removed at some point. --Fandyllic (talk · 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.... --Jiyambi t || c 21:37, 10 August 2007 (UTC)

Incorporated ability to use small icons from WoWWiki:List of race and class icons. See example of Wickerman Guardian above. --Fandyllic (talk · 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: Neutral Lokhtos Darkbargainer I also don't see it working for bosses, like the Wickerman above. How do we fix these broken tooltips? -- Mordsith - (talk|contr) 22:44, 1 January 2008 (UTC)

Add a correctly-formatted {{npcbox}} to the NPC's page. --PcjWoWWiki admin (TDrop me a line!C46,400 contributions and counting) 22:45, 1 January 2008 (UTC)
Excellent! Thank you. I've already fixed Lokhtos Darkbargainer. -- Mordsith - (talk|contr) 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, {{NPC|Scryers|Arodis Sunblade|Keeper of Sha'tari Artifacts}} would produce Arodis Sunblade <Keeper of Sha'tari Artifacts>, 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 · 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".
  • {{NPC|Scryers|Arodis Sunblade|Keeper of Sha'tari Artifacts}} → Scryers Arodis Sunblade <Keeper of Sha'tari Artifacts>
  • {{NPC|Neutral Scryers|Arodis Sunblade|Keeper of Sha'tari Artifacts}} → Neutral Arodis Sunblade <Keeper of Sha'tari Artifacts>
  • {{NPC|Aldor|Kelara|Keeper of Sha'tari Heirlooms}} → Aldor Kelara <Keeper of Sha'tari Heirlooms>
  • {{NPC|Neutral Aldor|Kelara|Keeper of Sha'tari Heirlooms}} → Neutral Kelara <Keeper of Sha'tari Heirlooms>
This didn't require any change to the {{NPC}} template. --Image:gengar orange 22x22.png Fandyllic (talk · 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 {{Race Icon ??? Small}} templates on the WoWWiki:List of race and class icons. See Template talk:NPC/dev. It doesn't yet support templates of the type {{Mount Icon ??? Small}}.--Image:gengar orange 22x22.png Fandyllic (talk · 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)