No edit summary
(Added CSS class and inline styling, changed ifeq statements to if, removed parent category)
Line 2: Line 2:
|-valign=top
|-valign=top
|
|
{|
{|class="character"
|align=center width=308 height=412 style="border:1px solid #aaaaaa; background:#f9f9f9; vertical-align:top;"|
|colspan="2" height=26 style="text-align:center"|<big>{{{Name}}}</big>
{|cellpadding=1 width=302 style="background:#f9f9f9; vertical-align:top;"
|-
|-
|align=center colspan=4 height=26|'''<big>{{{Name|??}}}</big>'''
|colspan="2"|<hr style="border-bottom:1px solid #907854; width:100%">
|-style="text-align:center"
|{{#if:{{{Race|}}}|{{{Race|}}}<br>}}{{#if:{{{Title|}}}|{{{Title|}}}<br>}}{{{Status|Non-Player Killer}}}
|<hr style="border-left:1px solid #907854">|<small>Character Level</small><br><span style="font-size: x-large">{{#if:{{{Level|}}}|{{{Level}}}|??}}</span>
|-
|-
|colspan=4|
|colspan="2"|<hr style="border-bottom:1px solid #907854">
----
|-style="line-height:75%"
| Strength
|style="text-align:right"| {{#if:{{{Strength|}}}|{{{Strength}}}|??}}
|-style="line-height:75%"
| Endurance
|style="text-align:right"| {{#if:{{{Endurance|}}}|{{{Endurance}}}|??}}
|-style="line-height:75%"
| Coordination
|style="text-align:right"| {{#if:{{{Coordination|}}}|{{{Coordination}}}|??}}
|-style="line-height:75%"
| Quickness
|style="text-align:right"| {{#if:{{{Quickness|}}}|{{{Quickness}}}|??}}
|-style="line-height:75%"
| Focus
|style="text-align:right"| {{#if:{{{Focus|}}}|{{{Focus}}}|??}}
|-style="line-height:75%"
| Self
|style="text-align:right"| {{#if:{{{Self|}}}|{{{Self}}}|??}}
|-style="line-height:75%"
| Health
|style="text-align:right"| {{#if:{{{Health|}}}|{{{Health}}}|??}}
|-style="line-height:75%"
| Stamina
|style="text-align:right"| {{#if:{{{Stamina|}}}|{{{Stamina}}}|??}}
|-style="line-height:75%"
| Mana
|style="text-align:right"| {{#if:{{{Mana|}}}|{{{Mana}}}|??}}
|-
|-
|colspan=4|
|colspan="2"|<hr style="border-bottom:1px solid #907854">
{|style="width:100%; background:#f9f9f9;"
|align=center| {{#ifeq:{{{Race|}}}|||{{{Race|}}}<br>}}{{#ifeq:{{{Title|}}}|||{{{Title|}}}<br>}}{{{Status|Non-Player Killer}}}
|align=center|'''<small>Level</small>'''<br><span style="font-size: x-large">{{#ifeq:{{{Level|}}}||??|{{{Level|}}} }}</span>
|}
|-
|colspan=4|
----
|-
|width=5|
!align=left| Strength
|align=right| {{#ifeq:{{{Strength|}}}||??|{{{Strength|}}} }}
|width=5|
|-
|-
|width=5|
|colspan="2"|'''Location:''' {{#if:{{{Location|}}}|{{{Location|}}}|??}}
!align=left| Endurance
|align=right| {{#ifeq:{{{Endurance|}}}||??|{{{Endurance|}}} }}
|width=5|
|-
|width=5|
!align=left| Coordination
|align=right| {{#ifeq:{{{Coordination|}}}||??|{{{Coordination|}}} }}
|width=5|
|-
|width=5|
!align=left| Quickness
|align=right| {{#ifeq:{{{Quickness|}}}||??|{{{Quickness|}}} }}
|width=5|
|-
|width=5|
!align=left| Focus
|align=right| {{#ifeq:{{{Focus|}}}||??|{{{Focus|}}} }}
|width=5|
|-
|width=5|
!align=left| Self
|align=right| {{#ifeq:{{{Self|}}}||??|{{{Self|}}} }}
|width=5|
|-
|width=5|
!align=left| Health
|align=right| {{#ifeq:{{{Health|}}}||??|{{{Health|}}} }}
|width=5|
|-
|width=5|
!align=left| Stamina
|align=right| {{#ifeq:{{{Stamina|}}}||??|{{{Stamina|}}} }}
|width=5|
|-
|width=5|
!align=left| Mana
|align=right| {{#ifeq:{{{Mana|}}}||??|{{{Mana|}}} }}
|width=5|
|-
|width=5|
|colspan=2| <br>
{|cellpadding=-2 style="background:#f9f9f9;"
|-valign=top
|'''Location: '''
| {{#ifeq:{{{Location|}}}||??|{{{Location|}}} }}
|}
|width=5|
|}
|}
|
|
{|style="border:1px solid #aaaaaa; background:#f9f9f9;"
{|style="height:412px; border:1px solid #907854; background-color:#1A1A1A;"
{|cellpadding=2
|{{#ifexist:File:{{{Live Image|}}}|[[File:{{{Live Image|}}}|300x400px]]|[[File:Live.jpg|300x400px]][[Category:Images Needed (NPCs)]]}}
!align=center width=308 height=414 style="border:1px solid #aaaaaa; background:#f9f9f9;"| {{#ifexist:File:{{strip|{{{Live Image|}}}}}|[[File:{{strip|{{{Live Image|}}}}}{{!}}300x400px]]
|[[File:Live.jpg|300x400px]]}}
|}
|}
|}
 
|
[[Category:NPC]]</includeonly><noinclude>
__ToC__
{{Related|Wiki Templates|NPC Template|Crafter NPC Template|Quest NPC Template|Shopkeeper NPC Template}}
|}<!--
== Syntax ==
-->{{#if:{{{Retired NPC|}}}|[[Category:Retired NPCs]]|[[Category:NPC Index]]}}</includeonly><noinclude>{{Documentation}}[[Category:Wiki Template]][[Category:Stats Panel Template]]</noinclude>
<pre style="width:auto; overflow:auto">
{{NPC
|         Name =
|  Live Image =  Live.jpg
|        Race =
|        Title =
|      Status = Non-Player Killer
|        Level =
|    Strength =
|    Endurance =
| Coordination =
|    Quickness =
|        Focus =
|        Self =
|      Health =
|      Stamina =
|        Mana =
|    Location =
}}
</pre>
 
== Usage ==
This is a component template that is part of several [[Page Template]]s. See [[NPC Template]], [[Crafter NPC Template]], [[Quest NPC Template]], and [[Shopkeeper NPC Template]] for details on usage and examples.
 
[[Category:Wiki Template]]
</noinclude>

Revision as of 15:20, 5 April 2014

Template Documentation: |_}}/Doc?action=edit Edit Documentation

Syntax

{{NPC
 |         Name = 
 |   Live Image =  Live.jpg
 |         Race = 
 |        Title = 
 |       Status = Non-Player Killer
 |        Level = 
 |     Strength = 
 |    Endurance = 
 | Coordination = 
 |    Quickness = 
 |        Focus = 
 |         Self = 
 |       Health = 
 |      Stamina = 
 |         Mana = 
 |     Location = 
}}

Usage

This is a component of the NPC Template.