Talk:NPC
Back to template
Contents |
Created
Edit
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:?
Edit
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
Edit
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
Edit
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 icons. See example of Wickerman Guardian above. --Fandyllic (talk · contr) 2:16 PM PDT 28 Oct 2007
Doesn't work for some NPCs
Edit
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
Edit
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?
Edit
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 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
Edit
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
Edit
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. smallicon=Tauren Female 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? User:Coobra/Sig4 02:46, March 28, 2010 (UTC)
- No comments =( oh well, change made. So now instead of
|smallicon=IconSmall Tauren Female.gifit's simply|icon=Tauren FemaleUser:Coobra/Sig4 00:08, May 22, 2010 (UTC)
Placement
Edit
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. User:Coobra/Sig4 02:51, March 28, 2010 (UTC)