(Added CSS class and inline styling, changed ifeq statements to if, removed parent category)
(remove setting border bottom to 0)
 
(10 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>{|
<includeonly>{|style="border-collapse:collapse; float:right"
|-valign=top
|
|
{|class="character"
{|class="character-infobox columnstop;" style="margin-bottom:-10px;"
|colspan="2" height=26 style="text-align:center"|<big>{{{Name}}}</big>
!colspan="2" class="worldbgc"|{{{Name}}}
|-
|-
|colspan="2"|<hr style="border-bottom:1px solid #907854; width:100%">
|colspan="2" style="text-align:center;"|'''{{{Status|}}}'''
|-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">
|colspan="2"|{{#ifexist:File:{{{Live Image}}} | [[File:{{{Live Image}}}|thumb|center]] | [[File:{{{Live Image}}}|center|Image Needed]]}}
|-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="2"|<hr style="border-bottom:1px solid #907854">
{{#if:{{{Race|}}}|{{!}}style="width:100px"{{!}}'''Race'''
{{!}}{{{Race}}}}}
|-
|-
|colspan="2"|'''Location:''' {{#if:{{{Location|}}}|{{{Location|}}}|??}}
{{#if:{{{Title|}}}|{{!}}'''Title'''
{{!}}{{{Title}}}}}
|-
|'''Location'''
|{{{Location|}}}
|}
|}
|-
|
|
{|style="height:412px; border:1px solid #907854; background-color:#1A1A1A;"
{|class="character-infobox mw-collapsible mw-collapsed" id="mw-customcollapsible-otherstats"
|{{#ifexist:File:{{{Live Image|}}}|[[File:{{{Live Image|}}}|300x400px]]|[[File:Live.jpg|300x400px]][[Category:Images Needed (NPCs)]]}}
|colspan=2 class="mw-customtoggle-otherstats" style="cursor:pointer; color:#0645AD"|Stats
|-
|style="width:100px"|'''Level'''
|{{{Level|}}}
|-
|'''Strength'''
|{{{Strength|}}}
|-
|'''Endurance'''
|{{{Endurance|}}}
|-
|'''Coordination'''
|{{{Coordination|}}}
|-
|'''Quickness'''
|{{{Quickness|}}}
|-
|'''Focus'''
|{{{Focus|}}}
|-
|'''Self'''
|{{{Self|}}}
|-
|'''Health'''
|{{{Health|}}}
|-
|'''Stamina'''
|{{{Stamina|}}}
|-
|'''Mana'''
|{{{Mana|}}}
|}
|}
|
|}</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>

Latest revision as of 21:04, 21 January 2024

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

Syntax Edit

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

Usage Edit

This is a component of the NPC Template.