Difference between revisions of "Template:NPC"

From BatWiki
Jump to: navigation, search
m (+C:Template)
m (updated to use the missing categorys)
Line 1: Line 1:
{| class="infobox bordered" style="width: 35em; text-align: left; font-size: 95%;"
+
{| class="infobox" style="width: 35em; text-align: left;"
|+ style="font-size: larger;" | '''{{{name|{{PAGENAME}}}}}'''  <includeonly> [[Category:Monster]] </includeonly>
+
|+ '''{{{name|{{PAGENAME}}}}}'''  <includeonly> [[Category:Monster]] </includeonly>
|-
+
| colspan="2" style="text-align:center;" |
+
|-
+
 
! Description:
 
! Description:
 
|-
 
|-
| {{{desc|''No description available''}}}
+
| {{#if: {{{desc|}}} | {{{desc}}} | ''Missing description'' <includeonly>[[Category:Missing description]]</includeonly>}}  
 
|-  
 
|-  
 
! Equipment:
 
! Equipment:
 
|-
 
|-
| {{{eqs|''No equipment''}}}
+
| {{#if: {{{eqs|}}} | {{{eqs}}} | ''Missing equipment's'' <includeonly>[[Category:Missing equipment]]</includeonly>}}  
 
|-  
 
|-  
 
! Spells:
 
! Spells:
 
|-
 
|-
|{{#ifeq: {{{spell1|+}}}|{{{spell1|-}}}|[http://www.bat.org/help/spell?str={{{spell1}}} ''{{{spell1}}}'']|''Not known''}}{{#ifeq: {{{spell2|+}}}|{{{spell2|-}}}|, [http://www.bat.org/help/spell?str={{{spell2}}} ''{{{spell2}}}'']|}}{{#ifeq: {{{spell3|+}}}|{{{spell3|-}}}|, [http://www.bat.org/help/spell?str={{{spell3}}} ''{{{spell3}}}'']|}}{{#ifeq: {{{spell4|+}}}|{{{spell4|-}}}|, [http://www.bat.org/help/spell?str={{{spell4}}} ''{{{spell4}}}'']|}}{{#ifeq: {{{spell5|+}}}|{{{spell5|-}}}|, [http://www.bat.org/help/spell?str={{{spell5}}} ''{{{spell5}}}'']|}}{{#ifeq: {{{spell6|+}}}|{{{spell6|-}}}|, [http://www.bat.org/help/spell?str={{{spell6}}} ''{{{spell6}}}'']|}}{{#ifeq: {{{spell7|+}}}|{{{spell7|-}}}|, [http://www.bat.org/help/spell?str={{{spell7}}} ''{{{spell7}}}'']|}}{{#ifeq: {{{spell8|+}}}|{{{spell8|-}}}|, [http://www.bat.org/help/spell?str={{{spell8}}} ''{{{spell8}}}'']|}}{{#ifeq: {{{spell9|+}}}|{{{spell9|-}}}|, [http://www.bat.org/help/spell?str={{{spell9}}} ''{{{spell9}}}'']|}}{{#ifeq: {{{spell10|+}}}|{{{spell10|-}}}|, [http://www.bat.org/help/spell?str={{{spell10}}} ''{{{spell10}}}'']|}}{{#ifeq: {{{spell11|+}}}|{{{spell11|-}}}|, [http://www.bat.org/help/spell?str={{{spell11}}} ''{{{spell11}}}'']|}}{{#ifeq: {{{spell12|+}}}|{{{spell12|-}}}|, [http://www.bat.org/help/spell?str={{{spell12}}} ''{{{spell12}}}'']|}}{{#ifeq: {{{spell13|+}}}|{{{spell13|-}}}|, [http://www.bat.org/help/spell?str={{{spell13}}} ''{{{spell13}}}'']|}}{{#ifeq: {{{spell14|+}}}|{{{spell14|-}}}|, [http://www.bat.org/help/spell?str={{{spell14}}} ''{{{spell14}}}'']|}}{{#ifeq: {{{spell15|+}}}|{{{spell15|-}}}|, [http://www.bat.org/help/spell?str={{{spell15}}} ''{{{spell15}}}'']|}}{{#ifeq: {{{spell16|+}}}|{{{spell16|-}}}|, [http://www.bat.org/help/spell?str={{{spell16}}} ''{{{spell16}}}'']|}}
+
| {{#if: {{{spell1|}}} | [http://www.bat.org/help/spell?str={{{spell1}}} {{{spell1}}}] | Does not cast 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}}}]}}
 
|-
 
|-
 
! Exp worth:
 
! Exp worth:
 
|-
 
|-
| {{{exp|''Not known''}}}
+
| {{#if: {{{exp|}}} | {{{exp}}} | ''Missing how much worth in exp'' <includeonly>[[Category:Missing exp worth]]</includeonly>}}  
 
|-
 
|-
 
! Area:
 
! Area:
 
|-
 
|-
| {{{area|''Not known''}}}
+
| {{#if: {{{area|}}} | {{{area}}} | ''Missing where located'' <includeonly>[[Category:Missing area]]</includeonly>}}
 
|-  
 
|-  
 
! Alignment:
 
! Alignment:
 
|-
 
|-
| {{{align|''Not known''}}}
+
| {{#if: {{{align|}}} | {{{align}}} | ''Missing alignment'' <includeonly>[[Category:Missing alignment]]</includeonly>}}
 
|-  
 
|-  
 
! Race:
 
! Race:
 
|-
 
|-
| {{#if: {{{race|}}} | [[:Category:{{{race}}}|{{{race}}}]] [[Category:{{{race}}}]] | ''Not known''}}
+
| {{#if: {{{race|}}} | [[{{{race}}}]] [[Category:Missing {{{race}}}]] | ''Missing race'' <includeonly>[[Category:Missing race]]</includeonly>}}
|-  
+
|-
 
! Other info:
 
! Other info:
 
|-
 
|-
| {{{other|''No other important information''}}}
+
| {{#if: {{{AP|}}} | Abjuse protection: {{{AP}}} [[Category:Abuse protection]] <br>}}{{{other|''No other important information''}}}
 
+
|}   <analytics uacct="UA-3466433-1" ></analytics>   <noinclude>[[Category:Template]]</noinclude>
|-
+
| colspan="2" style="font-size: smaller;" | {{{footnotes|}}}
+
|}
+
<analytics uacct="UA-3466433-1" ></analytics> <noinclude>[[Category:Template]]</noinclude>
+

Revision as of 23:37, 31 May 2008

NPC
Description:
Missing description
Equipment:
Missing equipment's
Spells:
Does not cast spells
Exp worth:
Missing how much worth in exp
Area:
Missing where located
Alignment:
Missing alignment
Race:
Missing race
Other info:
No other important information
<analytics uacct="UA-3466433-1" ></analytics>