Template:Infobox NPC: Difference between revisions

From The Unofficial Outwar Wiki
No edit summary
Added find mob section.
 
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="infobox">
<div class="infobox">
<div class="infobox-title">{{{title|{{{Name}}}}}}</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>{{{Name}}}</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 20: Line 20:
== How to Use ==
== How to Use ==
Enter the following code on to an NPC's page and fill in the data:
Enter the following code on to an NPC's page and fill in the data:
<code>
 
<pre>
{{Infobox NPC
{{Infobox NPC
| Name      = name
| Image    = image.extension
| Image    = image.extension
| Location  = [[Location]]
| Location  = [[Location]]
| Level    = #
| Level    = #
| Room      = #
| Room      = #
| Find_Mob  = #
}}
}}
</code>
</pre>
</noinclude>
</noinclude>

Latest revision as of 20: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  = #
 }}