Difference between revisions of "Template:NPC Infobox"

From JD Reborn Wiki
Jump to: navigation, search
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<div class="infobox">
 
<div class="infobox">
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
+
<div class="infobox-header">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}
+
<div class="infobox-image">[[File:{{{image}}}|200px]]</div>}}
<table>{{#if:{{{Name|}}}|<tr>
+
<table>{{#if:{{{param1|}}}|<tr>
     <th>Parameter 1</th>
+
     <th>Name:</th>
     <td>{{{Name}}}</td>
+
     <td>{{{param1}}}</td>
</tr>}}{{#if:{{{Title|}}}|<tr>
+
</tr>}}{{#if:{{{param2|}}}|<tr>
     <th>Parameter 2</th>
+
     <th>Title:</th>
     <td>{{{Title}}}</td>
+
     <td>{{{param2}}}</td>
</tr>}}{{#if:{{{Location|}}}|<tr>
+
</tr>}}{{#if:{{{param3|}}}|<tr>
     <th>Parameter 3</th>
+
     <th>Location:</th>
     <td>{{{Location}}}</td>
+
     <td>{{{param3}}}</td>
</tr>}}{{#if:{{{Type|}}}|<tr>
+
</tr>}}{{#if:{{{param4|}}}|<tr>
     <th>Parameter 4</th>
+
     <th>Type:</th>
     <td>{{{Type}}}</td>
+
     <td>{{{param4}}}</td>
 
</tr>}}</table>
 
</tr>}}</table>
 
</div>
 
</div>

Latest revision as of 21:50, 6 July 2021

NPC Infobox