Template:Infobox NPC: Difference between revisions

From The Unofficial Outwar Wiki
No edit summary
No edit summary
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:{{{Name|}}}|<tr>
     <th>Name:</th>
     <th>Name:</th>
     <td>{{{Name}}}</td>
     <td>{{{PAGENAME}}}</td>
</tr>}}{{#if:{{{Location|}}}|<tr>
</tr>}}{{#if:{{{Location|}}}|<tr>
     <th>Location:</th>
     <th>Location:</th>

Revision as of 01:36, 10 July 2023

{{{PAGENAME}}}


How to Use

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

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