Difference between revisions of "Template:NPC"

From BatWiki
Jump to: navigation, search
m (+valign="top" to description)
m (Reverted edits by BlackSmith (Talk); changed back to last version by Nuane)
Line 1: Line 1:
<includeonly>[[Category:NPC]]
+
<includeonly>{| 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:
+
! rowspan=2 | Description: [[Category:Monster]]
 
|  
 
|  
 
{| style="width: 35em;" cellpadding="0" cellspacing="0"
 
{| style="width: 35em;" cellpadding="0" cellspacing="0"
Line 17: Line 16:
 
|-
 
|-
 
! 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 cast 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}}}]]}}
 
|-
 
|-
 
! align="right" | Area:
 
! align="right" | Area:
| {{#if: {{{area|}}} | {{#ifexist: {{{area}}}| [[{{{area}}}]]  [[Category:{{{area}}}]] | {{{area}}} }} |  Missing ''area''  [[Category:Missing area]]}}
+
| {{#if: {{{area|}}} | {{{area}}} | Missing ''area''  [[Category:Missing area]]}}
 
|-  
 
|-  
 
! align="right" | Alignment:
 
! align="right" | Alignment:
Line 26: Line 25:
 
|-  
 
|-  
 
! align="right" | Race:
 
! align="right" | Race:
| {{#if: {{{race|}}} | {{{race}}} [[Category:{{{race}}}]] {{#switch: {{lc:{{{race}}}}}
+
| {{#if: {{{race|}}} | [[{{{race}}}]] [[Category:{{{race}}}]] | Missing ''race'' [[Category:Missing race]]}}{{#if: {{{undead|}}} | [[Category:Undead]]}}
| 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:
 
! align="right" | Exp worth:
Line 72: Line 58:
 
! align="left" | Instructions how to fill 'em. Fields in ''italics'' should be remove if not used.
 
! align="left" | Instructions how to fill 'em. Fields in ''italics'' should be remove if not used.
 
|-
 
|-
! align="right" |  name || :
+
| align="right" |  '''name''' || :
 
| Fill with what you get when [[target]]ing the NPC. The full name, the one you see when entering room, is used as articel name.
 
| Fill with what you get when [[target]]ing the NPC. The full name, the one you see when entering room, is used as articel name.
 
|-
 
|-
! align="right" | description || :
+
| align="right" | '''description''' || :
 
| Fill with all what you see when looking at it before seeing its shape.
 
| Fill with all what you see when looking at it before seeing its shape.
 
|-
 
|-
! align="right" | eqs || :
+
| 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.
 
| 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 || :
+
| align="right" |  '''race''' || :
 
| Gained trough [[detect race]] or [[study creature]].
 
| Gained trough [[detect race]] or [[study creature]].
 
|-
 
|-
! align="right" | undead || :
+
| align="right" | '''undead''' || :
 
| Fill if the NPC is [[undead]]. Some NPC's are undeads even if they are not members of typical undead races.
 
| Fill if the NPC is [[undead]]. Some NPC's are undeads even if they are not members of typical undead races.
 
|-
 
|-
! align="right" | alignment || :
+
| align="right" | '''alignment''' || :
 
| Gained by either casting [[detect aligment]] or [[jesters trivia]] on the NPC or using [[study creature]] on it.
 
| Gained by either casting [[detect aligment]] or [[jesters trivia]] on the NPC or using [[study creature]] on it.
 
|-
 
|-
! align="right" | area || :
+
| align="right" | '''area''' || :
 
| Where the NPC is located. Use area names provided by batclient/bat.org maps.
 
| Where the NPC is located. Use area names provided by batclient/bat.org maps.
 
|-
 
|-
! align="right" | spell || :
+
| align="right" | '''spell''' || :
 
| Fill with none if does not cast any spells, othervise with the spells name it casts. If multiple spells, add second spell to spell2 field, third to spell3 and so on.
 
| Fill with none if does not cast any spells, othervise with the spells name it casts. If multiple spells, add second spell to spell2 field, third to spell3 and so on.
 
|-
 
|-
! align="right" | skill || :
+
| align="right" | '''skill''' || :
 
| Same as spell above.
 
| Same as spell above.
 
|-
 
|-
Line 105: Line 91:
 
| If the NPC has Personal Abuse Protection, fill this field with how long the prot is.
 
| If the NPC has Personal Abuse Protection, fill this field with how long the prot is.
 
|-
 
|-
! align="right" | exp || :
+
| align="right" | '''exp''' || :
 
| How much the NPC was worth according to party kill.
 
| How much the NPC was worth according to party kill.
 
|-
 
|-
! align="right" |  other || :
+
| align="right" |  '''other''' || :
 
| If any other important, use this field.
 
| If any other important, use this field.
 
|}
 
|}
 
</noinclude>
 
</noinclude>

Revision as of 17:01, 2 October 2008

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#
| GAP
| PAP
| exp = 
| other
}}

Explanation

Fields & Instructions how to fill 'em. Fields in italics should be remove if not used.
name  : Fill with what you get when targeting the NPC. The full name, the one you see when entering room, is used as articel 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.
undead  : Fill if the NPC is undead. 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 does not cast any spells, othervise with the spells name it casts. If multiple spells, add second spell to spell2 field, third to spell3 and so on.
skill  : Same as spell above.
Global Abuse Protection  : If the NPC has Global Abuse Protection, fill this field with how long the prot is.
Personal Abuse Protection  : If the NPC has Personal Abuse Protection, fill this field with how long the prot is.
exp  : How much the NPC was worth according to party kill.
other  : If any other important, use this field.