Difference between revisions of "Template:NPC Infobox"
Line 2: | Line 2: | ||
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}| | <div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}| | ||
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}} | <div class="infobox-image">[[File:{{{image}}}|300px]]</div>}} | ||
− | <table>{{#if:{{{ | + | <table>{{#if:{{{Name|}}}|<tr> |
<th>Parameter 1</th> | <th>Parameter 1</th> | ||
<td>{{{Name}}}</td> | <td>{{{Name}}}</td> | ||
− | </tr>}}{{#if:{{{ | + | </tr>}}{{#if:{{{Title|}}}|<tr> |
<th>Parameter 2</th> | <th>Parameter 2</th> | ||
<td>{{{Title}}}</td> | <td>{{{Title}}}</td> | ||
− | </tr>}}{{#if:{{{ | + | </tr>}}{{#if:{{{Location|}}}|<tr> |
<th>Parameter 3</th> | <th>Parameter 3</th> | ||
<td>{{{Location}}}</td> | <td>{{{Location}}}</td> | ||
− | </tr>}}{{#if:{{{ | + | </tr>}}{{#if:{{{Type|}}}|<tr> |
<th>Parameter 4</th> | <th>Parameter 4</th> | ||
<td>{{{Type}}}</td> | <td>{{{Type}}}</td> | ||
</tr>}}</table> | </tr>}}</table> | ||
</div> | </div> |
Revision as of 21:04, 6 July 2021
NPC Infobox