(Added CSS class and inline styling, changed ifeq statements to if, removed parent category)
(changed to a right floating infobox, added CSS for styling)
Line 1: Line 1:
<includeonly>{|
<includeonly>{|style="border-collapse:collapse; float:right"
|-valign=top
|
|
{|class="character"
{|class="character-infobox rowcolors columnstop"
|colspan="2" height=26 style="text-align:center"|<big>{{{Name}}}</big>
!colspan="2" class="worldbgc"|{{{Name}}}<br><span style="font-size:75%">{{{Status}}}</span>
|-
|-
|colspan="2"|<hr style="border-bottom:1px solid #907854; width:100%">
|colspan="2"|{{#ifexist:File:{{{Live Image}}} | [[File:{{{Live Image}}}|thumb|center]] | [[File:{{{Live Image}}}|center|Image Needed]]}}
|-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="2"|<hr style="border-bottom:1px solid #907854">
|Race
|-style="line-height:75%"
|{{{Race|}}}
| 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="2"|<hr style="border-bottom:1px solid #907854">
|Title
|{{{Title|}}}
|-
|-
|colspan="2"|'''Location:''' {{#if:{{{Location|}}}|{{{Location|}}}|??}}
|Location
|{{{Location|}}}
|}
|}
|-
|
|
{|style="height:412px; border:1px solid #907854; background-color:#1A1A1A;"
{|class="character-infobox mw-collapsible mw-collapsed rowcolors"
|{{#ifexist:File:{{{Live Image|}}}|[[File:{{{Live Image|}}}|300x400px]]|[[File:Live.jpg|300x400px]][[Category:Images Needed (NPCs)]]}}
|colspan="2"|'''Other Stats'''
|-
|Strength
|{{{Strength|}}}
|-
|Endurance
|{{{Endurance|}}}
|-
|Coordination
|{{{Coordination|}}}
|-
|Quickness
|{{{Quickness|}}}
|-
|Focus
|{{{Focus|}}}
|-
|Self
|{{{Self|}}}
|-
|Health
|{{{Health|}}}
|-
|Stamina
|{{{Stamina|}}}
|-
|Mana
|{{{Mana|}}}
|}
|}
|
|}{{#if:{{{nocat|}}}||[[Category:NPC Index]]}}</includeonly><noinclude>{{Documentation}}[[Category:Wiki Templates]][[Category:Infobox Templates]]</noinclude>
__ToC__
|}<!--
-->{{#if:{{{Retired NPC|}}}|[[Category:Retired NPCs]]|[[Category:NPC Index]]}}</includeonly><noinclude>{{Documentation}}[[Category:Wiki Template]][[Category:Stats Panel Template]]</noinclude>

Revision as of 23:33, 30 December 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.