Template:NPC: Difference between revisions

From My Wiki
Jump to navigation Jump to search
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)
Created page with "<includeonly>{| |-valign=top | {| |align=center width=308 height=412 style="border:1px solid #aaaaaa; background:#f9f9f9; vertical-align:top;"| {|cellpadding=1 width=302 style="background:#f9f9f9; vertical-align:top;" |- |align=center colspan=4 height=26|'''<big>{{{Name|??}}}</big>''' |- |colspan=4| ---- |- |colspan=4| {|style="width:100%; background:#f9f9f9;" |align=center| {{#ifeq:{{{Race|}}}|||{{{Race|}}}<br>}}{{#ifeq:{{{Title|}}}|||{{{Title|}}}<br>}}{{{Status|Non-Pla..."
 
(9 intermediate revisions by one other user not shown)
Line 4: Line 4:
{|
{|
|align=center width=308 height=412 style="border:1px solid #aaaaaa; background:#f9f9f9; vertical-align: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;"
{|cellpadding=1 width=302 style="background:#f9f9f9; vertical-align:top;"
|-
|-
|align=center colspan=4 height=26|'''<big>{{{Name|??}}}</big>'''
|align=center colspan=4 height=26|'''<big>{{{Name|??}}}</big>'''
Line 67: Line 67:
|width=5|
|width=5|
|colspan=2| <br>
|colspan=2| <br>
{|style="background:#f9f9f9;"
{|cellpadding=-2 style="background:#f9f9f9;"
|-valign=top
|-valign=top
|'''Location: '''
|'''Location: '''
Line 77: Line 77:
{|style="border:1px solid #aaaaaa; background:#f9f9f9;"
{|style="border:1px solid #aaaaaa; background:#f9f9f9;"
{|cellpadding=2
{|cellpadding=2
!align=center width=308 height=414 style="border:1px solid #aaaaaa; background:#f9f9f9;"| [[File:{{{Live Image|}}}|300x400px]]
!align=center width=308 height=414 style="border:1px solid #aaaaaa; background:#f9f9f9;"| {{#ifexist:File:{{strip|{{{Live Image|}}}}}|[[File:{{strip|{{{Live Image|}}}}}{{!}}300x400px]]
|[[File:Live.jpg|300x400px]]}}
|}
|}
|}
|}
|width=4|
|  
|  
__ToC__
__ToC__

Latest revision as of 16:23, 17 January 2024

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.