Template talk:NPC

This was based on the Infobox-monster template, and was modified to allow a standard template for NPC's. Taurolyon 20:34, November 17, 2010 (EST)

Please don't break this template
It took me a few edits, but everything works now.. , please do not break the coding.. Thank you ShoeMaker (Contributions &bull; Message) 03:20, April 3, 2012 (EDT)


 * The spacing is exactly how it was before I started, I just made some fields collapse if empty. It is simple to make it single spaced..  Replace all instances of

with . As a side note, I just spent an hour trying to find where it says, DO NOT CLOSE &lt;br> TAGS LIKE &lt;br />!!!!!! It doesn't exist on any of the wikitext styling / syntax pages on wikipedia or wikimedia.. Which leaves me back to my default of close ALL tags when making pages to be viewed on a web browser. You can feel free to use &lt;br> to your hearts content. I'll continue to have my bot go through every once in a while and fix them all. ShoeMaker (Contributions &bull; Message) 04:16, April 3, 2012 (EDT)


 * I smell an edit war-a-brewing, quick all the kobolds get into into the root cellar! Yawgmoth 04:51, April 3, 2012 (EDT)

Small change required

 * What do you think of the version of the template I have in my sandbox? The parameters with numbers at the end can have any number of them added. If you think it would be better to not autolink and/or just have one parameter for certain things let me know. I know changes will require updating all NPC pages, but I can handle that. &mdash;&thinsp; Zav &thinsp; (T·E·C) 18:12, August 1, 2015 (EDT)
 * That's a great way to do that Zav with the forargs. Location should be a forargs as well and I'm wondering if instead of an inline list like you have it, if it would look better for when there is three or more entries to have it be an unordered list instead. I'll let you play with that idea and if you get stuck I'll poke at the idea as well. :) I think autolinking is essential to wiki growth, and I would oppose removing that feature of the template. ShoeMaker (Contributions • Message) 19:31, August 1, 2015 (EDT)
 * I considered an unordered list, but I figured we wouldn't really have that many. I can have it switch from inline to ul for 3+ uses. I will add additional location parameters. I'm not going to autolink the locations so that additional text, such as near xyz, can be added. &mdash;&thinsp; Zav &thinsp; (T·E·C) 10:39, August 2, 2015 (EDT)


 * I have updated my sandbox. All the forargs parameters now use ul if 3 (2 for location) or more are specified. &mdash;&thinsp; Zav &thinsp; (T·E·C) 14:23, August 2, 2015 (EDT)
 * Looks good to me, but looks like you missed the Vendor camp. I don't mind removing those, instead expanding their inventory in the description below, plus the categorization. Just checking if it was intentional or not. Nibelung (Contributions • Message) 22:33, August 2, 2015 (EDT)
 * How exactly will it work for vendors? Will we be able to list the things they sell as a div-col (width based on number of entries and width of entries obviously). ShoeMaker (Contributions • Message) 16:12, August 3, 2015 (EDT)
 * Right now, I have no idea why this camp exist. Some NPCs have it as a Yes/No message, others have a list of what the NPC sell. So, yeah, it is kinda of a useless entry right now, and I have no problem getting rid of it altogether. As I said, I just wanted to be sure the removal was intentional, or if it was an oversight. Nibelung (Contributions • Message) 18:38, August 3, 2015 (EDT)
 * It should certainly exist and be a list of wares where appropriate (obviously pawn brokers would be just a 'yes'). ShoeMaker (Contributions • Message) 19:27, August 3, 2015 (EDT)


 * I think it looks good, although I'd like a separation between killable monsters and NPCs; otherwise, you might run into MM problems. So, for instance, Hobgoblin would have the current Creature Entries and a second "NPCs" list below that, which would include Gatekeeper Trakash.  No idea if that's something that could be automatically categorized based on being used in an NPC template vs. a monster template...   LrdSlvrhnd (Contributions • Message) 22:54, August 3, 2015 (EDT)
 * The current NPC template do not automatically link to the " race monsters" category. I'm not sure if we should add a " race NPCs" category, and if we do, we should check manually all the NPCs that uses the Extra template to add a second or third race, like most dragons (Cydonie, Kear, etc). Nibelung (Contributions • Message) 09:05, August 4, 2015 (EDT)
 * Yeah, I understand that... I was referring to your third request. If that's done, I'd like NPCs to be separated from monsters, if possible.  I like the idea, but I don't like mixing NPCs and mobs.  I'd rather have them not in the category, than mixed in 8-} I know when stuff like a new MM proposal is being talked about (both on the PC and on the forums, so I don't think I'm breaking any confidentiality here *g*) people immediately look at the wiki and go "Max Hunter requires 60, but wiki only lists 58, either release more in the same update or change the number!" or "Max Hunter requires 60, and there are 104 listed, you might want to bump that up!"  So, if possible, I'd prefer NPCs to be listed separately; and if not possible, I'd rather have them not get categorized at all. -LrdSlvrhnd (Contributions • Message) 02:50, August 6, 2015 (EDT)
 * I can neither confirm nor deny that PC members look at the wiki and go "Max Hunter requires 60, but wiki only lists 58, either release more in the same update or change the number!" or "Max Hunter requires 60, and there are 104 listed, you might want to bump that up!" ShoeMaker (Contributions • Message) 03:13, August 6, 2015 (EDT)
 * I understand. But you don't need to be worried. I just wanted that when a Race: Kobold appear in the page, instead of going to the Kobold page (that is an individual monster), it goes to the Kobold race page (that list the racial stats and lore). It should not add the entry, and thus, should not affect the MM count. Nibelung (Contributions • Message) 09:18, August 6, 2015 (EDT)
 * Ohhh, OK, I misunderstood entirely! ...I gotta stop doing stuff when I should be going to bed... *g*  (And Tech, if I didn't also see it when they hit the forums, I wouldn't have said anything! 8-} ) (I've also used it myself when going through my MM and realizing I was just one or two types away from a completion, and I didn't want be confused myself... *g* ) - LrdSlvrhnd (Contributions • Message) 13:36, August 6, 2015 (EDT)
 * NPCs are not being added to a category based on race; they are only linking to it. Categorization of NPCs by race could be done (separate from monsters). &mdash;&thinsp; Zav &thinsp; (T·E·C) 12:43, August 6, 2015 (EDT)
 * New request, this time an easy one. Three new camps: Farshifter as an Yes/No camp (default no), Spirit Binder as an Yes/No camp (default no), and Trainer allowing entry with yes (not recommended), no (default), or a class name. Those entries should automatically list the NPCs in the appropriate category for each one (linked in each camp name).Nibelung (Contributions • Message) 16:38, August 8, 2015 (EDT)
 * Can any one NPC fit into more than one of those classes? I'd rather have one new parameter for class which could be populated with farshifter, planescaller, trainer, pawn broker, spirit binder, etc. ShoeMaker (Contributions • Message) 20:04, August 8, 2015 (EDT)
 * Unfortunately, yes. Brother Mirashai is a Farshifter and Spirit Binder. Trainers I think are exclusive in a single instance, but can fit multiple roles if they have appearances in other zones. Nibelung (Contributions • Message) 20:32, August 8, 2015 (EDT)
 * I have updated my sandbox again. Changes: allows for multiple races, vendor parameter changed to sells, and added role parameters for categorization. Note: Categories are linked in the sandbox to prevent the sandbox from being categorized. &mdash;&thinsp; Zav &thinsp; (T·E·C) 18:25, August 15, 2015 (EDT)
 * Thank you very much. I think that is all I need to work with the NPCs, and the template looks still easy to manage. Nibelung (Contributions • Message) 20:41, August 15, 2015 (EDT)

Template:NPC2
Zav... Please just update this template instead of trying to replace it with a new NPC2 template. We did that with dmg(2) once, and I remember it as being a mess. Open to discussion, thanks. ShoeMaker (Contribs • Message • Email ) 18:32, September 1, 2015 (EDT)
 * My only concern with just changing the code is that most of parameters currently in the template are not in the new version, so the information will not be displayed until the NPC's page is updated to use the new parameters. Just updating this template would be easier, but I don't know how long it is going to take to get through the 500+ transclusions. —&thinsp; Zav &thinsp; (T·C) 18:41, September 1, 2015 (EDT)
 * Make me a table/bulleted list and put the new template in T:NPC/sandbox and I'll make it backwards compatible as best I can and then merge the histories together. :) ShoeMaker (Contribs • Message • Email ) 19:39, September 1, 2015 (EDT)
 * I have added functionality for the soon to be historic parameters in my sandbox. NPC2 no longer needed. —&thinsp; Zav &thinsp; (T·C) 21:21, September 1, 2015 (EDT)