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
Thrall
--Montronax 16:28, 15 March 2006 (EST)
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:
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)
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. --
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}} →
Arodis Sunblade <Keeper of Sha'tari Artifacts>
- {{NPC|Neutral Scryers|Arodis Sunblade|Keeper of Sha'tari Artifacts}} →
Arodis Sunblade <Keeper of Sha'tari Artifacts>
- {{NPC|Aldor|Kelara|Keeper of Sha'tari Heirlooms}} →
Kelara <Keeper of Sha'tari Heirlooms>
- {{NPC|Neutral Aldor|Kelara|Keeper of Sha'tari Heirlooms}} →
Kelara <Keeper of Sha'tari Heirlooms>
- {{NPC|Scryers|Arodis Sunblade|Keeper of Sha'tari Artifacts}} →
- This didn't require any change to the {{NPC}} template. --
Fandyllic (talk · contr) 4:59 PM PST 15 Jan 2008
- Done. Just use "Aldor Neutral", "Aldor", "Scryers", or "Neutral Scryers" instead of "Alliance", "Horde", or just "Neutral".
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}}.--
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)
