Template:Infobox NPC: Difference between revisions

From The Unofficial Outwar Wiki
No edit summary
No edit summary
Line 2: Line 2:
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>
{{#if:{{{Image|}}}|<div class="infobox-image">[[File:{{{Image}}}|200px|center]]</div>}}
{{#if:{{{Image|}}}|<div class="infobox-image">[[File:{{{Image}}}|200px|center]]</div>}}
<table class="infobox-table">{{#if:{{{Name|}}}|<tr>
<table class="infobox-table">{{#if:{{{Location|}}}|<tr>
    <th>Name:</th>
    <td>{{{PAGENAME}}}</td>
</tr>}}{{#if:{{{Location|}}}|<tr>
     <th>Location:</th>
     <th>Location:</th>
     <td>{{{Location}}}</td>
     <td>{{{Location}}}</td>
Line 23: Line 20:
<pre>
<pre>
{{Infobox NPC
{{Infobox NPC
| Name      = name
  | Image    = image.extension
  | Image    = image.extension
  | Location  = [[Location]]
  | Location  = [[Location]]

Revision as of 01:39, 10 July 2023

Infobox NPC


How to Use

Enter the following code on to an NPC's page and fill in the data:

{{Infobox NPC
 | Image     = image.extension
 | Location  = [[Location]]
 | Level     = #
 | Room      = #
 }}