Template:NPC: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk
No edit summary
imported>Tlosk
(new border styles, hanging indent for location, sizing issue remains for boxes (can't seem to get to match up, some sort of dependency between the two boxes))
Line 1: Line 1:
<includeonly>{|border=0 cellspacing=0 cellpadding=0
<includeonly>{|
|-valign=top
|-valign=top
|
|
{|width=600 border=5 cellspacing=0 style="background-color:#f9f9f9"
{|
|-valign=top
|align=center width=308 height=412 style="border:1px solid #aaaaaa; background:#f9f9f9; vertical-align:top;"|
|
{|cellpadding=1 style="background:#f9f9f9; vertical-align:top;"
{|border=0 height=400 width=300 style="background-color:#f9f9f9"
|-
|-
|align=center colspan=4 height=26|'''<big>{{{Name|??}}}</big>'''
|align=center colspan=4 height=26|'''<big>{{{Name|??}}}</big>'''
Line 12: Line 11:
----
----
|-
|-
|align=center colspan=2 height=36| {{#ifeq:{{{Race|}}}|||{{{Race|}}}<br>}}{{#ifeq:{{{Title|}}}|||{{{Title|}}}<br>}}{{{Status|Non-Player Killer}}}
|colspan=4|
|align=center colspan=2|'''<small>Level</small>'''<br><span style="font-size: x-large">{{#ifeq:{{{Level|}}}||??|{{{Level|}}} }}</span>
{|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|
|colspan=4|
Line 64: Line 66:
|-
|-
|width=5|
|width=5|
|colspan=2| <br>'''Location:''' {{#ifeq:{{{Location|}}}||??|{{{Location|}}} }}
|colspan=2| <br>
{|style="background:#f9f9f9;"
|-valign=top
|'''Location: '''
| {{#ifeq:{{{Location|}}}||??|{{{Location|}}} }}
|}
|width=5|
|width=5|
|}
|}
!width=300  bgcolor=#f9f9f9 rowspan=14| [[Image:{{#ifeq:{{{Live Image|}}}||Live.jpg|{{{Live Image|}}} }}{{!}}300x400px]]
|
{|style="border:1px solid #aaaaaa; background:#f9f9f9;"
{|cellpadding=2
!align=center width=308 height=414 style="border:1px solid #aaaaaa; background:#f9f9f9;"| [[File:{{{Live Image|}}}|300x400px]]
|}
|}
|}
|width=10|
|width=4|
| __ToC__
|  
|-
__ToC__
|}
|}
[[Category:NPC]]</includeonly><noinclude>
[[Category:NPC]]</includeonly><noinclude>

Revision as of 18:03, 29 September 2009

Related topics: Wiki Templates, NPC Template, Crafter NPC Template, Quest NPC Template, Shopkeeper NPC Template

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 template that is part of several Page Templates. See NPC Template, Crafter NPC Template, Quest NPC Template, and Shopkeeper NPC Template for details on usage and examples.