Template:NPC: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk
No edit summary
imported>An Adventurer
m (fixing sclavus to be put in their own category :P)
 
(11 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>{|border=0 cellspacing=0 cellpadding=0
<includeonly>{|style="border-collapse:collapse; float:right"
|-valign=top
|
|
{|width=600 border=5 cellspacing=0 style="background-color:#f9f9f9"
{|class="character-infobox columnstop;" style="margin-bottom:-10px; border-bottom:0px;"
|-valign=top
!colspan="2" class="worldbgc"|{{{Name}}}
|
|-
{|border=0 height=400 width=300 style="background-color:#f9f9f9"
|colspan="2" style="text-align:center;"|'''{{{Status|}}}'''
|-
|-
|align=center colspan=4 height=26|'''<big>{{{Name|??}}}</big>'''
|colspan="2"|{{#ifexist:File:{{{Live Image}}} | [[File:{{{Live Image}}}|thumb|center]] | [[File:{{{Live Image}}}|center|Image Needed]]}}
|-
|-
|colspan=4|
{{#if:{{{Race|}}}|{{!}}style="width:100px"{{!}}'''Race'''
----
{{!}}{{{Race}}}}}
|-
|-
|align=center colspan=2 height=36| {{#ifeq:{{{Race|}}}|||{{{Race|}}}<br>}}{{#ifeq:{{{Title|}}}|||{{{Title|}}}<br>}}{{{Status|Non-Player Killer}}}
{{#if:{{{Title|}}}|{{!}}'''Title'''
|align=center colspan=2|'''<small>Level</small>'''<br><span style="font-size: x-large">{{#ifeq:{{{Level|}}}||??|{{{Level|}}} }}</span>
{{!}}{{{Title}}}}}
|-
|-
|colspan=4|
|'''Location'''
----
|{{{Location|}}}
|}
|-
|-
|width=5|
|
!align=left| Strength
{|class="character-infobox mw-collapsible mw-collapsed" id="mw-customcollapsible-otherstats"
|align=right| {{#ifeq:{{{Strength|}}}||??|{{{Strength|}}} }}
|colspan=2 class="mw-customtoggle-otherstats" style="cursor:pointer; color:#0645AD"|Stats
|width=5|
|-
|-
|width=5|
|style="width:100px"|'''Level'''
!align=left| Endurance
|{{{Level|}}}
|align=right| {{#ifeq:{{{Endurance|}}}||??|{{{Endurance|}}} }}
|width=5|
|-
|-
|width=5|
|'''Strength'''
!align=left| Coordination
|{{{Strength|}}}
|align=right| {{#ifeq:{{{Coordination|}}}||??|{{{Coordination|}}} }}
|width=5|
|-
|-
|width=5|
|'''Endurance'''
!align=left| Quickness
|{{{Endurance|}}}
|align=right| {{#ifeq:{{{Quickness|}}}||??|{{{Quickness|}}} }}
|width=5|
|-
|-
|width=5|
|'''Coordination'''
!align=left| Focus
|{{{Coordination|}}}
|align=right| {{#ifeq:{{{Focus|}}}||??|{{{Focus|}}} }}
|width=5|
|-
|-
|width=5|
|'''Quickness'''
!align=left| Self
|{{{Quickness|}}}
|align=right| {{#ifeq:{{{Self|}}}||??|{{{Self|}}} }}
|width=5|
|-
|-
|width=5|
|'''Focus'''
!align=left| Health
|{{{Focus|}}}
|align=right| {{#ifeq:{{{Health|}}}||??|{{{Health|}}} }}
|width=5|
|-
|-
|width=5|
|'''Self'''
!align=left| Stamina
|{{{Self|}}}
|align=right| {{#ifeq:{{{Stamina|}}}||??|{{{Stamina|}}} }}
|width=5|
|-
|-
|width=5|
|'''Health'''
!align=left| Mana
|{{{Health|}}}
|align=right| {{#ifeq:{{{Mana|}}}||??|{{{Mana|}}} }}
|width=5|
|-
|-
|width=5|
|'''Stamina'''
|colspan=2| <br>'''Location:''' {{#ifeq:{{{Location|}}}||??|{{{Location|}}} }}
|{{{Stamina|}}}
|width=5|
|-
|'''Mana'''
|{{{Mana|}}}
|}
|}
!width=300  bgcolor=#f9f9f9 rowspan=14| [[Image:{{#ifeq:{{{Live Image|}}}||Live.jpg|{{{Live Image|}}} }}{{!}}300x400px]]
|}
|width=10|
| __ToC__
|-
|}
|}
[[Category:NPC]]</includeonly><noinclude>
<!-- Categories -->
{{Related|Wiki Templates|Crafter NPC Template|Quest NPC Template|Shopkeeper NPC Template}}
{{#switch:{{{Race|}}}
== Syntax ==
| Isparian | Female Isparian | Male Isparian | Human | Female Human | Male Human = [[Category:Isparian NPCs]]
<pre style="width:auto; overflow:auto">
| Aluvian | Female Aluvian | Male Aluvian = [[Category:Aluvian NPCs]]
{{NPC
| Gharu'ndim | Female Gharu'ndim | Male Gharu'ndim = [[Category:Gharu'ndim NPCs]]
  |         Name =  
| Sho | Female Sho | Male Sho = [[Category:Sho NPCs]]
  |   Live Image Live.jpg
| Viamontian | Female Viamontian | Male Viamontian = [[Category:Viamontian NPCs]]
  |         Race =  
  | Shadow | Female Shadow | Male Shadow | Umbraen | Female Umbraen | Male Umbraen | Penumbraen | Female Penumbraen | Male Penumbraen = [[Category:Shadow NPCs]]
  |       Title =  
  | Gear Knight | Female Gear Knight | Male Gear Knight | Gearknight | Female Gearknight | Male Gearknight = [[Category:Gear Knight NPCs]]
  |       Status = Non-Player Killer
  | Undead | Female Undead | Male Undead | Mu-miyah | Female Mu-miyah | Male Mu-miyah | Ghost | Female Ghost | Male Ghost | Skeleton | Female Skeleton | Male Skeleton = [[Category:Undead NPCs]]
  |       Level =  
  | Empyrean | Female Empyrean | Male Empyrean | Yalain | Female Yalain | Male Yalain | Yalaini | Female Yalaini | Male Yalaini = [[Category:Empyrean NPCs]]
  |     Strength =  
  | Tumerok | Female Tumerok | Male Tumerok | Aun Tumerok | Female Aun Tumerok | Male Aun Tumerok | Hea Tumerok | Female Hea Tumerok | Male Hea Tumerok = [[Category:Tumerok NPCs]]
  |   Endurance =  
  | Lugian | Female Lugian | Male Lugian | Gotrok | Female Gotrok | Male Gotrok | Gotrok Lugian | Female Gotrok Lugian | Male Gotrok Lugian = [[Category:Lugian NPCs]]
  | Coordination =  
  | A'nekshay | Female A'nekshay | Male A'nekshay = [[Category:A'nekshay NPCs]]
  |   Quickness =  
  | Banderling | Female Banderling | Male Banderling = [[Category:Banderling NPCs]]
  |       Focus =  
  | Burun | Female Burun | Male Burun | Ruuk | Female Ruuk | Male Ruuk | Burun Ruuk | Female Burun Ruuk | Male Burun Ruuk | Guruk | Female Guruk | Male Guruk | Burun Guruk | Female Burun Guruk | Male Burun Guruk | Kukuur | Female Kukuur | Male Kukuur | Burun Kukuur | Female Burun Kukuur | Male Burun Kukuur = [[Category:Burun NPCs]]
  |         Self =  
  | Drudge | Female Drudge | Male Drudge = [[Category:Drudge NPCs]]
  |       Health =  
  | Fiun | Female Fiun | Male Fiun = [[Category:Fiun NPCs]]
  |     Stamina =  
  | Mosswart | Female Mosswart | Male Mosswart = [[Category:Mosswart NPCs]]
  |         Mana =  
  | Ruschk | Female Ruschk | Male Ruschk = [[Category:Ruschk NPCs]]
  |     Location =  
  | Sclavus | Female Sclavus | Male Sclavus | Sclavi | Female Sclavi | Male Sclavi = [[Category:Sclavus NPCs]]
  | Tusker | Female Tusker | Male Tusker = [[Category:Tusker NPCs]]
  | Virindi | Female Virindi | Male Virindi = [[Category:Virindi NPCs]]
}}
}}
</pre>
</includeonly><noinclude>{{Documentation}}[[Category:Wiki Templates]][[Category:Infobox Templates]]</noinclude>
 
== 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>

Latest revision as of 07:21, 21 July 2021

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.