Difference between revisions of "Template:NPC"

From BatWiki
Jump to: navigation, search
 
(34 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
<includeonly>[[Category:NPC]]
 
<includeonly>[[Category:NPC]]
 
{| class="infobox" cellspacing="3"
 
{| class="infobox" cellspacing="3"
|+ {{#ifeq: {{lc: {{{eqs|+}}} }} | none | {{{name|Missing ''name''}}}|}}
+
|+ {{#ifeq: {{lc: {{{eqs|+}}} }} | none | {{{name|''Missing name''}}}|}}
 
! align="right" valign="top" rowspan=2 | Description:
 
! align="right" valign="top" rowspan=2 | Description:
 
|  
 
|  
 
{| style="width: 35em;" cellpadding="0" cellspacing="0"
 
{| style="width: 35em;" cellpadding="0" cellspacing="0"
| {{#if: {{{description|{{{desc|}}}}}} | {{{description|{{{desc|}}}}}} | Missing ''description'' [[Category:Missing description]]}}
+
| {{#if: {{{description|{{{desc|}}}}}} | {{{description|{{{desc|}}}}}} | ''Missing description'' [[Category:Missing description]]}}
 
|}
 
|}
 
|-
 
|-
Line 11: Line 11:
 
:{{{name|Missing ''name''}}}'s equipment:
 
:{{{name|Missing ''name''}}}'s equipment:
  
{{{eqs}}} | Missing ''eqs'' (equipment) [[Category:Missing equipment]]}} }}
+
{{{eqs}}} | ''Missing equipment'' (equipment) [[Category:Missing equipment]]}} }}
 
|-  
 
|-  
 
! align="right" | Spells:
 
! align="right" | Spells:
| {{#ifeq: {{lc: {{{spell|{{{spell1|+}}}}}}}} | none | Does not cast spells | {{#if: {{{spell|{{{spell1|}}}}}} | [[{{{spell|{{{spell1}}}}}}]] | Missing ''spell''s [[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}}}]]}}
+
| {{#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:
 
! align="right" | Skills:
| {{#ifeq: {{lc: {{{skill|{{{skill1|+}}}}}}}} | none | Does not have skills | {{#if: {{{skill|{{{skill1|}}}}}} | [[{{{skill|{{{skill1}}}}}}]] | Missing ''skill''s [[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}}}]]}}
+
| {{#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:
 
! align="right" | Area:
| {{#if: {{{area|}}} | {{#ifexist: {{{area}}}| [[{{{area}}}]]  [[Category:{{{area}}}]] | {{{area}}} }} |  Missing ''area''  [[Category:Missing area]]}}
+
| {{#if: {{{area|}}} | {{#ifexist: {{{area}}}| [[{{{area}}}]]  [[Category:{{{area}}}]] | {{{area}}} }} |  ''Missing area''  [[Category:Missing area]]}}
 
|-  
 
|-  
 
! align="right" | Alignment:
 
! align="right" | Alignment:
Line 39: Line 39:
 
| wight
 
| wight
 
| wraith
 
| wraith
| zombie = [[Category:Undead]] }} | Missing ''race'' [[Category:Missing race]]}} {{#if: {{{undead|}}} | [[Category:Undead]]}}
+
| zombie = [[Category:Undead]] }} | ''Missing race'' [[Category:Missing race]]}} {{#if: {{{undead|}}} | [[Category:Undead]]}}
 
|-
 
|-
! align="right" | {{#if {{{gender|}}} | Gender: {{#switch: {{lc:{{{gender}}}}}
+
|-
 +
! 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]]}}
 +
|-
 +
! align="right" | {{#if: {{{gender|}}} | Gender: }}
 +
| {{#switch: {{lc:{{{gender}}}}}
 
| f
 
| f
| female = Female [[Category:Female NPC]]
+
| female = female [[Category:Female NPC]]
 
| m
 
| m
| male = Male [[Category:Male NPC]]
+
| male = male [[Category:Male NPC]]
 
| m
 
| m
| neuter = Neuter [[Category:Neuter NPC]]
+
| neuter = neuter [[Category:Neuter NPC]]
| #default = [[Category:Missing gender]] }}
+
| #default = [[Category:Missing gender]]}}
| }}
+
 
|-
 
|-
! align="right" | Exp worth:
+
! align="right" | {{#if: {{{other|}}} | Other info: }}
| {{#if: {{{exp|}}} | {{{exp}}} | Missing ''exp'' worth [[Category:Missing exp worth]]}}  
+
| {{#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]] }}
 
|-
 
|-
! align="right" | {{#if: {{{other|{{{GAP|{{{PAP|}}}}}}}}} | Other info: }}
+
</includeonly><noinclude>Use this template when adding new [[NPC]]'s to the game.
| {{#if: {{{GAP|}}} | Global abuse protection: {{{GAP}}} [[Category:Abuse protection]] <br>}}{{#if: {{{PAP|}}} | Personal abuse protection: {{{PAP}}} [[Category:Abuse protection]] <br>}}  {{#if: {{{other|}}} | {{{other}}}}}
+
|}{{#if: {{{kerbholz|}}} | [[Category:Kerbholz]] }}
+
<analytics uacct="UA-3466433-3" ></analytics></includeonly><noinclude>Use this template when adding new [[NPC]]'s to the game.
+
 
== Copy & Paste ==
 
== Copy & Paste ==
 
<nowiki>{{</nowiki> {{PAGENAME}}<br>
 
<nowiki>{{</nowiki> {{PAGENAME}}<br>
Line 74: Line 92:
 
<nowiki>|</nowiki> ''GAP'' =&nbsp;<br>
 
<nowiki>|</nowiki> ''GAP'' =&nbsp;<br>
 
<nowiki>|</nowiki> ''PAP'' =&nbsp;<br>
 
<nowiki>|</nowiki> ''PAP'' =&nbsp;<br>
<nowiki>|</nowiki> ''kerbholz'' =&nbsp;<br>
 
 
<nowiki>|</nowiki> ''gender'' =&nbsp;<br>
 
<nowiki>|</nowiki> ''gender'' =&nbsp;<br>
 +
<nowiki>|</nowiki> ''aggro'' =&nbsp;<br>
 
<nowiki>|</nowiki> ''other'' =&nbsp;<br>
 
<nowiki>|</nowiki> ''other'' =&nbsp;<br>
 
<nowiki>}}</nowiki> [[Category:Template]]
 
<nowiki>}}</nowiki> [[Category:Template]]
Line 113: Line 131:
 
|-
 
|-
 
! align="right" | exp || :
 
! 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.
+
|  
 +
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 || :
 
| align="right" | '''G'''lobal '''A'''buse '''P'''rotection || :
Line 120: Line 147:
 
| align="right" | '''P'''ersonal '''A'''buse '''P'''rotection || :
 
| 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.
 
| If the NPC has Personal Abuse Protection, fill this field with how long the prot is in days.
|-
 
! align="right" | kerbholz || :
 
| If the NPC is a kerbholz quest target, fill this field.
 
 
|-
 
|-
 
! align="right" | gender || :
 
! align="right" | gender || :
 
| Male, female or neuter? Leave blank if unknown. Shorthands m, f and n can be used.
 
| 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 || :
 
! align="right" |  other || :
| If any other important, use this field.
+
| 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>
 
</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
}}

Explanation

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))