Template:Infobox NPC: Difference between revisions

From The Unofficial Outwar Wiki
No edit summary
Added find mob section.
 
(2 intermediate revisions by the same user not shown)
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 14: Line 11:
     <th>Room:</th>
     <th>Room:</th>
     <td>{{{Room}}}</td>
     <td>{{{Room}}}</td>
</tr>}}{{#if:{{{Find_Mob|}}}|<tr>
    <th>Find Mob:</th>
    <td>{{{Find_Mob}}}</td>
</tr>}}</table>
</tr>}}</table>
</div>
</div>
Line 23: Line 23:
<pre>
<pre>
{{Infobox NPC
{{Infobox NPC
| Name      = name
  | Image    = image.extension
  | Image    = image.extension
  | Location  = [[Location]]
  | Location  = [[Location]]
  | Level    = #
  | Level    = #
  | Room      = #
  | Room      = #
| Find_Mob  = #
  }}
  }}
</pre>
</pre>
</noinclude>
</noinclude>

Latest revision as of 19:12, 16 December 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      = #
 | Find_Mob  = #
 }}