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)
 
(24 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;"
!colspan="2" class="worldbgc"|{{{Name}}}
|-
|-
|
|colspan="2" style="text-align:center;"|'''{{{Status|}}}'''
{|border=0 height=400 width=300 style="background-color:#f9f9f9"
|-
|colspan="2"|{{#ifexist:File:{{{Live Image}}} | [[File:{{{Live Image}}}|thumb|center]] | [[File:{{{Live Image}}}|center|Image Needed]]}}
|-
|-
!valign=center colspan=4 height=26|<big>{{{Name|??}}}</big>
{{#if:{{{Race|}}}|{{!}}style="width:100px"{{!}}'''Race'''
{{!}}{{{Race}}}}}
|-
|-
|colspan=4|
{{#if:{{{Title|}}}|{{!}}'''Title'''
----
{{!}}{{{Title}}}}}
|-
|-
|align=center colspan=2 height=36| {{#ifeq:{{{Race|}}}|||{{{Race|}}}<br>}}{{#ifeq:{{{Title|}}}|||{{{Title|}}}<br>}}{{{Status|Non-Player Killer}}}
|'''Location'''
|align=center colspan=2|'''<small>Level</small>'''<br><span style="font-size: x-large">{{{Level|??}}}</span>
|{{{Location|}}}
|}
|-
|-
|colspan=4|
|
----
{|class="character-infobox mw-collapsible mw-collapsed" id="mw-customcollapsible-otherstats"
|colspan=2 class="mw-customtoggle-otherstats" style="cursor:pointer; color:#0645AD"|Stats
|-
|-
|width=5|
|style="width:100px"|'''Level'''
!align=left| Strength
|{{{Level|}}}
|align=right| {{#ifeq:{{{Strength|}}}||??|{{{Strength|}}} }}
|width=5|
|-
|-
|width=5|
|'''Strength'''
!align=left| Endurance
|{{{Strength|}}}
|align=right| {{#ifeq:{{{Endurance|}}}||??|{{{Endurance|}}} }}
|width=5|
|-
|-
|width=5|
|'''Endurance'''
!align=left| Coordination
|{{{Endurance|}}}
|align=right| {{#ifeq:{{{Coordination|}}}||??|{{{Coordination|}}} }}
|width=5|
|-
|-
|width=5|
|'''Coordination'''
!align=left| Quickness
|{{{Coordination|}}}
|align=right| {{#ifeq:{{{Quickness|}}}||??|{{{Quickness|}}} }}
|width=5|
|-
|-
|width=5|
|'''Quickness'''
!align=left| Focus
|{{{Quickness|}}}
|align=right| {{#ifeq:{{{Focus|}}}||??|{{{Focus|}}} }}
|width=5|
|-
|-
|width=5|
|'''Focus'''
!align=left| Self
|{{{Focus|}}}
|align=right| {{#ifeq:{{{Self|}}}||??|{{{Self|}}} }}
|width=5|
|-
|-
|width=5|
|'''Self'''
!align=left| Health
|{{{Self|}}}
|align=right| {{#ifeq:{{{Health|}}}||??|{{{Health|}}} }}
|width=5|
|-
|-
|width=5|
|'''Health'''
!align=left| Stamina
|{{{Health|}}}
|align=right| {{#ifeq:{{{Stamina|}}}||??|{{{Stamina|}}} }}
|width=5|
|-
|-
|width=5|
|'''Stamina'''
!align=left| Mana
|{{{Stamina|}}}
|align=right| {{#ifeq:{{{Mana|}}}||??|{{{Mana|}}} }}
|width=5|
|-
|-
|width=5|
|'''Mana'''
|colspan=2| <br>'''Location:''' {{#ifeq:{{{Location|}}}||??|{{{Location|}}} }}
|{{{Mana|}}}
|width=5|
|}
|}
!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|Vendor 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 a [[Page Template]]. See [[Vendor NPC Template]] for details on usage an example.
 
</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.