Difference between revisions of "Template:NPC"

From BatWiki
Jump to: navigation, search
m
m
Line 1: Line 1:
 
<includeonly>{| class="infobox" style="valign:top;"
 
<includeonly>{| class="infobox" style="valign:top;"
|+ {{{name}}}
+
|+ {{{name|Missing target ''name''}}}
 
! rowspan=2 | Description: [[Category:Monster]]
 
! rowspan=2 | Description: [[Category:Monster]]
 
|  
 
|  
Line 8: Line 8:
 
|-
 
|-
 
| {{#ifeq: {{lc: {{{eqs|+}}} }} | none | | {{#if: {{{eqs|}}} |
 
| {{#ifeq: {{lc: {{{eqs|+}}} }} | none | | {{#if: {{{eqs|}}} |
:{{{name}}}'s equipment:
+
:{{{name|Missing target ''name''}}}'s equipment:
  
{{{eqs}}} | ''Missing equipment'' [[Category:Missing equipment]]}} }}
+
{{{eqs}}} | Missing ''eqs'' ((equipment)) [[Category:Missing equipment]]}} }}
 
|-  
 
|-  
 
! Spells:
 
! Spells:
| {{#ifeq: {{lc: {{{spell1|+}}} }} | none | Does not cast spells | {{#if: {{{spell1|}}} | [http://www.bat.org/help/spell?str={{{spell1}}} {{{spell1}}}] | ''Missing spells'' [[Category:Missing spells]] }} }}{{#if: {{{spell2|}}} |, [http://www.bat.org/help/spell?str={{{spell2}}} {{{spell2}}}]}}{{#if: {{{spell3|}}} |, [http://www.bat.org/help/spell?str={{{spell3}}} {{{spell3}}}]}}{{#if: {{{spell4|}}} |, [http://www.bat.org/help/spell?str={{{spell4}}} {{{spell4}}}]}}{{#if: {{{spell5|}}} |, [http://www.bat.org/help/spell?str={{{spell5}}} {{{spell5}}}]}}{{#if: {{{spell6|}}} |, [http://www.bat.org/help/spell?str={{{spell6}}} {{{spell6}}}]}}{{#if: {{{spell7|}}} |, [http://www.bat.org/help/spell?str={{{spell7}}} {{{spell7}}}]}}{{#if: {{{spell8|}}} |, [http://www.bat.org/help/spell?str={{{spell8}}} {{{spell8}}}]}}{{#if: {{{spell9|}}} |, [http://www.bat.org/help/spell?str={{{spell9}}} {{{spell9}}}]}}{{#if: {{{spell10|}}} |, [http://www.bat.org/help/spell?str={{{spell10}}} {{{spell10}}}]}}{{#if: {{{spell11|}}} |, [http://www.bat.org/help/spell?str={{{spell11}}} {{{spell11}}}]}}{{#if: {{{spell12|}}} |, [http://www.bat.org/help/spell?str={{{spell12}}} {{{spell12}}}]}}{{#if: {{{spell13|}}} |, [http://www.bat.org/help/spell?str={{{spell13}}} {{{spell13}}}]}}{{#if: {{{spell14|}}} |, [http://www.bat.org/help/spell?str={{{spell14}}} {{{spell14}}}]}}{{#if: {{{spell15|}}} |, [http://www.bat.org/help/spell?str={{{spell15}}} {{{spell15}}}]}}{{#if: {{{spell16|}}} |, [http://www.bat.org/help/spell?str={{{spell16}}} {{{spell16}}}]}}
+
| {{#ifeq: {{lc: {{{spell1|+}}} }} | none | Does not cast spells | {{#if: {{{spell1|}}} | [http://www.bat.org/help/spell?str={{{spell1}}} {{{spell1}}}] | Missing ''spell''s [[Category:Missing spells]] }} }}{{#if: {{{spell2|}}} |, [http://www.bat.org/help/spell?str={{{spell2}}} {{{spell2}}}]}}{{#if: {{{spell3|}}} |, [http://www.bat.org/help/spell?str={{{spell3}}} {{{spell3}}}]}}{{#if: {{{spell4|}}} |, [http://www.bat.org/help/spell?str={{{spell4}}} {{{spell4}}}]}}{{#if: {{{spell5|}}} |, [http://www.bat.org/help/spell?str={{{spell5}}} {{{spell5}}}]}}{{#if: {{{spell6|}}} |, [http://www.bat.org/help/spell?str={{{spell6}}} {{{spell6}}}]}}{{#if: {{{spell7|}}} |, [http://www.bat.org/help/spell?str={{{spell7}}} {{{spell7}}}]}}{{#if: {{{spell8|}}} |, [http://www.bat.org/help/spell?str={{{spell8}}} {{{spell8}}}]}}{{#if: {{{spell9|}}} |, [http://www.bat.org/help/spell?str={{{spell9}}} {{{spell9}}}]}}{{#if: {{{spell10|}}} |, [http://www.bat.org/help/spell?str={{{spell10}}} {{{spell10}}}]}}{{#if: {{{spell11|}}} |, [http://www.bat.org/help/spell?str={{{spell11}}} {{{spell11}}}]}}{{#if: {{{spell12|}}} |, [http://www.bat.org/help/spell?str={{{spell12}}} {{{spell12}}}]}}{{#if: {{{spell13|}}} |, [http://www.bat.org/help/spell?str={{{spell13}}} {{{spell13}}}]}}{{#if: {{{spell14|}}} |, [http://www.bat.org/help/spell?str={{{spell14}}} {{{spell14}}}]}}{{#if: {{{spell15|}}} |, [http://www.bat.org/help/spell?str={{{spell15}}} {{{spell15}}}]}}{{#if: {{{spell16|}}} |, [http://www.bat.org/help/spell?str={{{spell16}}} {{{spell16}}}]}}
 
|-
 
|-
 
! Area:
 
! Area:
| {{#if: {{{area|}}} | {{{area}}} | ''Missing location'' [[Category:Missing area]]}}
+
| {{#if: {{{area|}}} | {{{area}}} | Missing ''area'' [[Category:Missing area]]}}
 
|-  
 
|-  
 
! Alignment:
 
! Alignment:
| {{#if: {{{align|}}} | {{{align}}} | ''Missing alignment'' [[Category:Missing alignment]]}}
+
| {{#if: {{{alignment|{{{align|}}}}}} | {{{alignment|{{{align}}}}}} | ''Missing alignment'' [[Category:Missing alignment]]}}
 
|-  
 
|-  
 
! Race:
 
! Race:
| {{#if: {{{race|}}} | [[{{{race}}}]] [[Category:{{{race}}}]] | ''Missing race'' [[Category:Missing race]]}}{{#if: {{{undead|}}} | [[Category:Undead]]}}
+
| {{#if: {{{race|}}} | [[{{{race}}}]] [[Category:{{{race}}}]] | Missing ''race'' [[Category:Missing race]]}}{{#if: {{{undead|}}} | [[Category:Undead]]}}
 
|-
 
|-
 
! Exp worth:
 
! Exp worth:
| {{#if: {{{exp|}}} | {{{exp}}} | ''Missing exp worth'' [[Category:Missing exp worth]]}}  
+
| {{#if: {{{exp|}}} | {{{exp}}} | Missing ''exp'' worth [[Category:Missing exp worth]]}}  
 
|-
 
|-
! Other info:
+
! {{#if: {{{other|{{{GAP|{{{PAP|}}}}}}}}} | Other info: }}
| {{#if: {{{GAP|}}} | Global abuse protection: {{{GAP}}} [[Category:Abuse protection]] <br>}}{{#if: {{{PAP|}}} | Personal abuse protection: {{{PAP}}} [[Category:Abuse protection]] <br>}}  {{#if: {{{other|}}} | {{{other}}} | ''No other important information''}}
+
| {{#if: {{{GAP|}}} | Global abuse protection: {{{GAP}}} [[Category:Abuse protection]] <br>}}{{#if: {{{PAP|}}} | Personal abuse protection: {{{PAP}}} [[Category:Abuse protection]] <br>}}  {{#if: {{{other|}}} | {{{other}}}}}
|}<analytics uacct="UA-3466433-1" ></analytics></includeonly><noinclude><nowiki>{{</nowiki> {{PAGENAME}}<br><nowiki>
+
|}<analytics uacct="UA-3466433-1" ></analytics></includeonly><noinclude><nowiki>{{</nowiki> {{PAGENAME}}<br>
| name = </nowiki><br><nowiki>
+
<nowiki>|</nowiki> name = <br>
| description = </nowiki><br><nowiki>
+
<nowiki>|</nowiki> description = <br>
| eqs = </nowiki><br><nowiki>
+
<nowiki>|</nowiki> eqs = <br>
| race = </nowiki><br><nowiki>
+
<nowiki>|</nowiki> race = <br>
| undead = </nowiki><br><nowiki>
+
<nowiki>|</nowiki> undead = <br>
| alignment = </nowiki><br><nowiki>
+
<nowiki>|</nowiki> alignment = <br>
| area = </nowiki><br><nowiki>
+
<nowiki>|</nowiki> area = <br>
| spell = </nowiki><br><nowiki>
+
<nowiki>|</nowiki> spell = <br>
| spell# = </nowiki><br><nowiki>
+
<nowiki>|</nowiki> ''spell#'' = <br>
| skill = </nowiki><br><nowiki>
+
<nowiki>|</nowiki> skill = <br>
| skill# = </nowiki><br><nowiki>
+
<nowiki>|</nowiki> ''skill#'' = <br>
| exp = </nowiki><br><nowiki>
+
<nowiki>|</nowiki> ''GAP'' = <br>
}}</nowiki> [[Category:Template]]
+
<nowiki>|</nowiki> ''PAP'' = <br>
 +
<nowiki>|</nowiki> exp = <br>
 +
<nowiki>|</nowiki> ''other'' = <br>
 +
<nowiki>}}</nowiki> [[Category:Template]]
 +
 
 +
Fields in ''italics'' are optional. Meaning if they are not used, remove them.
 
* '''Name''': Fill with what you get when [[scan]]ning the NPC. The full name, the one you see when entering room, is used as articel name.
 
* '''Name''': Fill with what you get when [[scan]]ning 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.
 
* '''Description''': Fill with all what you see when looking at it before seeing its shape.
Line 52: Line 57:
 
* '''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.
 
* '''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.
 
* '''Skill''': Same as spell above.
 +
* '''GAP''': If the NPC has Global Abuse Protection, fill this field with how long the prot is.
 +
* '''PAP''': 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.
 
* '''Exp''': How much the NPC was worth according to party kill.
 
* '''Other''': If any other important, use this field.</noinclude>
 
* '''Other''': If any other important, use this field.</noinclude>

Revision as of 14:18, 3 July 2008

{{ NPC
| name =
| description =
| eqs =
| race =
| undead =
| alignment =
| area =
| spell =
| spell# =
| skill =
| skill# =
| GAP =
| PAP =
| exp =
| other =
}}

Fields in italics are optional. Meaning if they are not used, remove them.

  • Name: Fill with what you get when scanning 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 <NPC>'s equipment: line when looking at NPC. Include also in what slot it is. If multimple items, separate them with a empty newline.
  • Race: Gained trough detect race or study creature.
  • Undead: Fill if the NPC is undead.
  • 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.
  • GAP: If the NPC has Global Abuse Protection, fill this field with how long the prot is.
  • PAP: 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.