Template:Infobox NPC: Difference between revisions

From The Unofficial Outwar Wiki
Created page with "<div class="infobox"> <div class="infobox-title">{{{title|{{{Name}}}}}}</div> {{#if:{{{Image|}}}|<div class="infobox-image">[[File:{{{Image}}}|200px|center]]</div>}} <table class="infobox-table">{{#if:{{{Name|}}}|<tr> <th>Name:</th> <td>{{{Name}}}</td> </tr>}}{{#if:{{{Location|}}}|<tr> <th>Location:</th> <td>{{{Location}}}</td> </tr>}}{{#if:{{{Room|}}}|<tr> <th>Room:</th> <td>{{{Room}}}</td> </tr>}}</table> </div>"
 
Added find mob section.
 
(23 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>
</tr>}}{{#if:{{{Level|}}}|<tr>
    <th>Level:</th>
    <td>{{{Level}}}</td>
</tr>}}{{#if:{{{Room|}}}|<tr>
</tr>}}{{#if:{{{Room|}}}|<tr>
     <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>
<noinclude>
== How to Use ==
Enter the following code on to an NPC's page and fill in the data:
<pre>
{{Infobox NPC
| Image    = image.extension
| Location  = [[Location]]
| Level    = #
| Room      = #
| Find_Mob  = #
}}
</pre>
</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  = #
 }}