Difference between revisions of "Template:NPC"
(165 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
− | {| class="infobox | + | <includeonly>[[Category:NPC]] |
− | | | + | {| class="infobox" cellspacing="3" |
+ | |+ {{#ifeq: {{lc: {{{eqs|+}}} }} | none | {{{name|''Missing name''}}}|}} | ||
+ | ! align="right" valign="top" rowspan=2 | Description: | ||
+ | | | ||
+ | {| style="width: 35em;" cellpadding="0" cellspacing="0" | ||
+ | | {{#if: {{{description|{{{desc|}}}}}} | {{{description|{{{desc|}}}}}} | ''Missing description'' [[Category:Missing description]]}} | ||
+ | |} | ||
|- | |- | ||
− | | | + | | {{#ifeq: {{lc: {{{eqs|+}}} }} | none | | {{#if: {{{eqs|}}} | |
+ | :{{{name|Missing ''name''}}}'s equipment: | ||
+ | |||
+ | {{{eqs}}} | ''Missing equipment'' (equipment) [[Category:Missing equipment]]}} }} | ||
|- | |- | ||
− | ! | + | ! align="right" | Spells: |
+ | | {{#ifeq: {{lc: {{{spell|{{{spell1|+}}}}}}}} | none | Does not cast spells | {{#if: {{{spell|{{{spell1|}}}}}} | [[{{{spell|{{{spell1}}}}}}]] | ''Missing spells'' [[Category:Missing spells]] }} }}{{#if: {{{spell2|}}} |, [[{{{spell2}}}]]}}{{#if: {{{spell3|}}} |, [[{{{spell3}}}]]}}{{#if: {{{spell4|}}} |, [[{{{spell4}}}]]}}{{#if: {{{spell5|}}} |, [[{{{spell5}}}]]}}{{#if: {{{spell6|}}} |, [[{{{spell6}}}]]}}{{#if: {{{spell7|}}} |, [[{{{spell7}}}]]}}{{#if: {{{spell8|}}} |, [[{{{spell8}}}]]}}{{#if: {{{spell9|}}} |, [[{{{spell9}}}]]}}{{#if: {{{spell10|}}} |, [[{{{spell10}}}]]}}{{#if: {{{spell11|}}} |, [[{{{spell11}}}]]}}{{#if: {{{spell12|}}} |, [[{{{spell12}}}]]}}{{#if: {{{spell13|}}} |, [[{{{spell13}}}]]}}{{#if: {{{spell14|}}} |, [[{{{spell14}}}]]}}{{#if: {{{spell15|}}} |, [[{{{spell15}}}]]}}{{#if: {{{spell16|}}} |, [[{{{spell16}}}]]}} | ||
|- | |- | ||
− | | {{{ | + | ! align="right" | Skills: |
− | | | + | | {{#ifeq: {{lc: {{{skill|{{{skill1|+}}}}}}}} | none | Does not have skills | {{#if: {{{skill|{{{skill1|}}}}}} | [[{{{skill|{{{skill1}}}}}}]] | ''Missing skills'' [[Category:Missing skills]] }} }}{{#if: {{{skill2|}}} |, [[{{{skill2}}}]]}}{{#if: {{{skill3|}}} |, [[{{{skill3}}}]]}}{{#if: {{{skill4|}}} |, [[{{{skill4}}}]]}}{{#if: {{{skill5|}}} |, [[{{{skill5}}}]]}}{{#if: {{{skill6|}}} |, [[{{{skill6}}}]]}}{{#if: {{{skill7|}}} |, [[{{{skill7}}}]]}}{{#if: {{{skill8|}}} |, [[{{{skill8}}}]]}}{{#if: {{{skill9|}}} |, [[{{{skill9}}}]]}}{{#if: {{{skill10|}}} |, [[{{{skill10}}}]]}}{{#if: {{{skill11|}}} |, [[{{{skill11}}}]]}}{{#if: {{{skill12|}}} |, [[{{{skill12}}}]]}}{{#if: {{{skill13|}}} |, [[{{{skill13}}}]]}}{{#if: {{{skill14|}}} |, [[{{{skill14}}}]]}}{{#if: {{{skill15|}}} |, [[{{{skill15}}}]]}}{{#if: {{{skill16|}}} |, [[{{{skill16}}}]]}} |
− | + | ||
|- | |- | ||
− | |{{# | + | ! align="right" | Area: |
+ | | {{#if: {{{area|}}} | {{#ifexist: {{{area}}}| [[{{{area}}}]] [[Category:{{{area}}}]] | {{{area}}} }} | ''Missing area'' [[Category:Missing area]]}} | ||
|- | |- | ||
− | ! | + | ! align="right" | Alignment: |
+ | | {{#if: {{{alignment|{{{align|}}}}}} | {{{alignment|{{{align}}}}}} | ''Missing alignment'' [[Category:Missing alignment]]}} | ||
+ | |- | ||
+ | ! align="right" | Race: | ||
+ | | {{#if: {{{race|}}} | {{{race}}} [[Category:{{{race}}}]] {{#switch: {{lc:{{{race}}}}} | ||
+ | | banshee | ||
+ | | ghost | ||
+ | | ghoul | ||
+ | | lich | ||
+ | | mummy | ||
+ | | phantom | ||
+ | | skeleton | ||
+ | | spectre | ||
+ | | undead | ||
+ | | vampire | ||
+ | | wight | ||
+ | | wraith | ||
+ | | zombie = [[Category:Undead]] }} | ''Missing race'' [[Category:Missing race]]}} {{#if: {{{undead|}}} | [[Category:Undead]]}} | ||
|- | |- | ||
− | |||
|- | |- | ||
− | ! | + | ! align="right" | Exp worth: |
+ | | {{#if: {{{exp|}}} | {{{exp}}} | ''Missing exp worth'' [[Category:Missing exp worth]]}} | ||
|- | |- | ||
− | | {{{ | + | ! align="right" | {{#if: {{{aggro|}}} | Aggressive: }} |
− | |- | + | | {{#switch: {{lc:{{{aggro}}}}} |
− | + | | n | |
+ | | no = no [[Category:Non-aggressive NPC]] | ||
+ | | y | ||
+ | | x | ||
+ | | yes = yes [[Category:Aggressive NPC]] | ||
+ | | #default = [[Category:Missing aggressiveness]]}} | ||
|- | |- | ||
− | | {{{other|'' | + | ! align="right" | {{#if: {{{gender|}}} | Gender: }} |
− | |- | + | | {{#switch: {{lc:{{{gender}}}}} |
− | + | | f | |
+ | | female = female [[Category:Female NPC]] | ||
+ | | m | ||
+ | | male = male [[Category:Male NPC]] | ||
+ | | m | ||
+ | | neuter = neuter [[Category:Neuter NPC]] | ||
+ | | #default = [[Category:Missing gender]]}} | ||
+ | |- | ||
+ | ! align="right" | {{#if: {{{other|}}} | Other info: }} | ||
+ | | {{#if: {{{other|}}} | {{{other}}} }} | ||
+ | |- | ||
+ | ! align="right" | {{#if: {{{GAP|}}} | '''[[Global abuse protection|GAP]]:''' }} | ||
+ | | {{#if: {{{GAP|}}} | {{{GAP}}} [[Category:Abuse protection]] <br>}} | ||
+ | |- | ||
+ | ! align="right" | {{#if: {{{PAP|}}} | '''[[Personal abuse protection|PAP]]:''' }} | ||
+ | | {{#if: {{{PAP|}}} | {{{PAP}}} [[Category:Abuse protection]] <br>}} | ||
+ | |- | ||
+ | {{#if: {{{kerbholz|}}} | [[Category:Kerbholz]] }} | ||
+ | |- | ||
+ | </includeonly><noinclude>Use this template when adding new [[NPC]]'s to the game. | ||
+ | == Copy & Paste == | ||
+ | <nowiki>{{</nowiki> {{PAGENAME}}<br> | ||
+ | <nowiki>|</nowiki> name = <br> | ||
+ | <nowiki>|</nowiki> description = <br> | ||
+ | <nowiki>|</nowiki> eqs = <br> | ||
+ | <nowiki>|</nowiki> race = <br> | ||
+ | <nowiki>|</nowiki> undead = <br> | ||
+ | <nowiki>|</nowiki> alignment = <br> | ||
+ | <nowiki>|</nowiki> area = <br> | ||
+ | <nowiki>|</nowiki> spell = <br> | ||
+ | <nowiki>|</nowiki> ''spell#'' = <br> | ||
+ | <nowiki>|</nowiki> skill = <br> | ||
+ | <nowiki>|</nowiki> ''skill#'' = <br> | ||
+ | <nowiki>|</nowiki> exp = <br> | ||
+ | <nowiki>|</nowiki> ''GAP'' = <br> | ||
+ | <nowiki>|</nowiki> ''PAP'' = <br> | ||
+ | <nowiki>|</nowiki> ''gender'' = <br> | ||
+ | <nowiki>|</nowiki> ''aggro'' = <br> | ||
+ | <nowiki>|</nowiki> ''other'' = <br> | ||
+ | <nowiki>}}</nowiki> [[Category:Template]] | ||
+ | {| cellspacing="3" | ||
+ | |+ | ||
+ | == Explanation == | ||
+ | ! align="right" | Fields | ||
+ | | & | ||
+ | ! align="left" | Instructions how to fill 'em. | ||
+ | |- | ||
+ | ! align="right" | name || : | ||
+ | | Fill with what you see when [[target]]ing/scanning the NPC. The full short description, the one you see when entering room, is used as article name. | ||
+ | |- | ||
+ | ! align="right" | description || : | ||
+ | | Fill with all what you see when looking at it before seeing its shape. | ||
+ | |- | ||
+ | ! align="right" | eqs || : | ||
+ | | What seen after '<name>'s equipment:' line when looking at NPC. Include also in what slot it is. For multiple items, separate them with a empty newline. | ||
+ | |- | ||
+ | ! align="right" | race || : | ||
+ | | Gained trough [[detect race]] or [[study creature]]. Guessing can also work in some cases since race is an universal handle for NPCs (eg. if "look at ogre" works, it probably is an ogre), but try to avoid guessing if there's even a slight chance it might be incorrect, for example a monster that looks like an ogre according to its desc might as well be of "monster" race etc. | ||
+ | |- | ||
+ | ! align="right" | undead || : | ||
+ | | Fill if the NPC is [[undead]]. Almost every NPC that has "(undead)" after its short description is one. Also note that some NPC's are undeads even if they are not members of typical undead races. | ||
+ | |- | ||
+ | ! align="right" | alignment || : | ||
+ | | Gained by either casting [[detect aligment]] or [[jesters trivia]] on the NPC or using [[study creature]] on it. | ||
+ | |- | ||
+ | ! align="right" | area || : | ||
+ | | Where the NPC is located. Use area names provided by batclient/bat.org maps. | ||
+ | |- | ||
+ | ! align="right" | spell || : | ||
+ | | Fill with "none" if it does not cast any spells, otherwise with the spells name it casts. If not sure, leave blank. If multiple spells, add second spell to spell2 field, third to spell3 and so on. | ||
+ | |- | ||
+ | ! align="right" | skill || : | ||
+ | | Same as with spells above. | ||
+ | |- | ||
+ | ! align="right" | exp || : | ||
+ | | | ||
+ | The '''exp''' worth of monster, from 'party kills' if possible. If editing an existing article and the exp worth is already marked, please be consistent in the way marking it with common sense added, just mark the exp range with "adequate" accuracy, e.g. "93 - 181", "1.6 - 3.3k", "54 - 83k" or "934k - 1.28m". Like said, let's use common sense. | ||
+ | '''Important:''' If possible, consider the NPC and include the exp tune consider in the text. | ||
+ | |||
+ | Examples: | ||
+ | <pre>|exp = Exp worth: 1.4k - 1.9k (almost no exp) | ||
+ | |exp = Exp worth: 24k - 34k (very little exp), 60k (average exp), 103k - 111k (a lot exp)</pre> | ||
+ | You can mix them too with old style: | ||
+ | <pre>|exp = 16k - 20k (above average exp), 44k (unknown tune), 55k (a lot exp)</pre> | ||
+ | The main point is that it's important the text is consistent, so it is much easier to read and lines up prettily in possible exported lists in other pages that may use them. | ||
+ | |- | ||
+ | | align="right" | '''G'''lobal '''A'''buse '''P'''rotection || : | ||
+ | | If the NPC has Global Abuse Protection, fill this field with how long the prot is in days. | ||
+ | |- | ||
+ | | align="right" | '''P'''ersonal '''A'''buse '''P'''rotection || : | ||
+ | | If the NPC has Personal Abuse Protection, fill this field with how long the prot is in days. | ||
+ | |- | ||
+ | ! align="right" | gender || : | ||
+ | | Male, female or neuter? Leave blank if unknown. Shorthands m, f and n can be used. | ||
+ | |- | ||
+ | ! align="right" | aggro || : | ||
+ | | Is the NPC aggressive? fill with y or yes if so, n or no if not. If unsure, leave blank. | ||
+ | |- | ||
+ | ! align="right" | other || : | ||
+ | | If anything other important, use this field. | ||
+ | |- | ||
+ | ! align="right" | kerbholz || : | ||
+ | | If the NPC is a kerbholz quest target, fill this field with anything. ''(Note: this is unlisted in the copy/paste template since all kerbholz quest mobs are already in batwiki --[[User:Nuane|Nuane]] 11:29, 19 September 2012 (EEST))'' | ||
|} | |} | ||
+ | </noinclude> |
Latest revision as of 00:44, 28 December 2022
Use this template when adding new NPC's to the game.
Copy & Paste
{{ NPC
| name =
| description =
| eqs =
| race =
| undead =
| alignment =
| area =
| spell =
| spell# =
| skill =
| skill# =
| exp =
| GAP =
| PAP =
| gender =
| aggro =
| other =
}}
Fields | & | Instructions how to fill 'em. |
---|---|---|
name | : | Fill with what you see when targeting/scanning the NPC. The full short description, the one you see when entering room, is used as article name. |
description | : | Fill with all what you see when looking at it before seeing its shape. |
eqs | : | What seen after '<name>'s equipment:' line when looking at NPC. Include also in what slot it is. For multiple items, separate them with a empty newline. |
race | : | Gained trough detect race or study creature. Guessing can also work in some cases since race is an universal handle for NPCs (eg. if "look at ogre" works, it probably is an ogre), but try to avoid guessing if there's even a slight chance it might be incorrect, for example a monster that looks like an ogre according to its desc might as well be of "monster" race etc. |
undead | : | Fill if the NPC is undead. Almost every NPC that has "(undead)" after its short description is one. Also note that some NPC's are undeads even if they are not members of typical undead races. |
alignment | : | Gained by either casting detect aligment or jesters trivia on the NPC or using study creature on it. |
area | : | Where the NPC is located. Use area names provided by batclient/bat.org maps. |
spell | : | Fill with "none" if it does not cast any spells, otherwise with the spells name it casts. If not sure, leave blank. If multiple spells, add second spell to spell2 field, third to spell3 and so on. |
skill | : | Same as with spells above. |
exp | : |
The exp worth of monster, from 'party kills' if possible. If editing an existing article and the exp worth is already marked, please be consistent in the way marking it with common sense added, just mark the exp range with "adequate" accuracy, e.g. "93 - 181", "1.6 - 3.3k", "54 - 83k" or "934k - 1.28m". Like said, let's use common sense. Important: If possible, consider the NPC and include the exp tune consider in the text. Examples: |exp = Exp worth: 1.4k - 1.9k (almost no exp) |exp = Exp worth: 24k - 34k (very little exp), 60k (average exp), 103k - 111k (a lot exp) You can mix them too with old style: |exp = 16k - 20k (above average exp), 44k (unknown tune), 55k (a lot exp) The main point is that it's important the text is consistent, so it is much easier to read and lines up prettily in possible exported lists in other pages that may use them. |
Global Abuse Protection | : | If the NPC has Global Abuse Protection, fill this field with how long the prot is in days. |
Personal Abuse Protection | : | If the NPC has Personal Abuse Protection, fill this field with how long the prot is in days. |
gender | : | Male, female or neuter? Leave blank if unknown. Shorthands m, f and n can be used. |
aggro | : | Is the NPC aggressive? fill with y or yes if so, n or no if not. If unsure, leave blank. |
other | : | If anything other important, use this field. |
kerbholz | : | If the NPC is a kerbholz quest target, fill this field with anything. (Note: this is unlisted in the copy/paste template since all kerbholz quest mobs are already in batwiki --Nuane 11:29, 19 September 2012 (EEST)) |