Template talk:Infobox NPC
From TibiaWiki
Contents |
I was thinking - for NPC's could should we have 2 new lines of info
Outfit Class (citizen, barbarian, hunter, misc etc)
And Addon (hat, backpack, turban, sabre etc)?
I was thinking about this earlier, but I think it is better to leave this info off. There are a relatively small number of NPCs that you can get the outfits and addons from, so I think it will just end up being unneccessary clutter on all of the other npc's pages.
I think that the outfits page, and the quest pages for the outfits has (or will have) all of this information. Maybe it would be best to just put a link in the notes section for the npcs that offer these.
-- Whitelaces † Talk † χρισtoς αnεσtη, αληθως αnεσtη -- 12:29, 3 August 2006 (PDT)
[edit] NPC template with or without image
I have created template for NPCs in which you can write to show of not the image. Moreover, if it's impossible to upload image with needed name, you can write other name and upload image with new one. If you like that template, you can found it here
Zaidejas 20:02, 2 January 2008 (UTC)
[edit] Multiple jobs suggestion
The current template does not allow a NPC to have multiple jobs, as you can see on Equipment Shopkeeper & Banker NPCs / Raffael. This could easily be fixed by changing the occupation thing:
- {{if|test={{{job|}}}|then=[[{{{job}}} NPCs|{{{job}}}]]|else=Unknown}}
to:
- {{#if: {{#explode:{{{job|}}}|,|0}}|[[{{#explode:{{{job}}}|,|0}} NPCs|{{#explode:{{{job}}}|,|0}}]]{{#if: {{#explode:{{{job}}}|,|1}}|, [[{{#explode:{{{job}}}|,|1}} NPCs|{{#explode:{{{job}}}|,|1}}]]}}{{#if: {{#explode:{{{job}}}|,|2}}|, [[{{#explode:{{{job}}}|,|2}} NPCs|{{#explode:{{{job}}}|,|2}}]]}}|Unknown}}
This would allow for multiple professions/jobs (up to 3 using the above, but easily expandable). Professions should be seperated by a komma "," and the above code will change it correctly.
To take Raffael as example; "Equipment Shopkeeper & Banker NPCs" should be changed to "Equipment Shopkeeper, Banker".
The above code would change it into:
- Equipment Shopkeeper, Banker
- ([[Equipment Shopkeeper NPCs|Equipment Shopkeeper]], [[Banker NPCs|Banker]].
Easy as that. It wont break the current template, and will add "Unknown" if the paramater isn't set.
Addition
This would "break" the listing, however. Template:Infobox NPC/List would require a change too:
- {{#ifeq:{{{job|}}}||Unknown Occupation|[[{{{job}}} NPCs|{{{job}}}]]}}
into:
- {{#if: {{#explode:{{{job|}}}|,|0}}|[[{{#explode:{{{job}}}|,|0}} NPCs|{{#explode:{{{job}}}|,|0}}]]{{#if: {{#explode:{{{job}}}|,|1}}|, [[{{#explode:{{{job}}}|,|1}} NPCs|{{#explode:{{{job}}}|,|1}}]]}}{{#if: {{#explode:{{{job}}}|,|2}}|, [[{{#explode:{{{job}}}|,|2}} NPCs|{{#explode:{{{job}}}|,|2}}]]}}|Unknown Occupation}}
End Addition
Didn't want to explode NPC's so I did it another way! -- Sixorish 17:25, 17 August 2008 (UTC)
[edit] Categories
A lot of the Wanted Categories are those from "<job> NPCs", e.g. "Guard NPCs". Instead of making all those little categories, it might be better to disable this in the template. Or are those categories needed? ^^ Bennie (talk ~ fellows) ^^ 15:10, 9 March 2009 (UTC)
Categories are suppose to be a navigational aid, so they can be removed unless they will help a user find his way around.
There are no limits to the amount of categories we can have, though. -- Sixorish 15:20, 9 March 2009 (UTC)
You think users use red-linked categories to navigate? I don't, I would not at least. Maybe keep them to see what will develop. ^^ Bennie (talk ~ fellows) ^^ 15:45, 9 March 2009 (UTC)
They won't be dead links forever, the point is to make it more user-friendly, and that won't happen in the blink of an eye. If a user wanted to find the NPCs of a certain profession, they would have to search through a category of 500+ articles to find them. It may even help editors in the case where users add an NPC but don't edit the article listing it, the differences in numbers will make it much easier to update the lists.
We have articles listing small categories of NPCs, so I can't quite see what's wrong with a category for the same lists. -- Sixorish 16:03, 9 March 2009 (UTC)
