Difference between revisions of "Template:NPC Infobox"
Line 1: | Line 1: | ||
<div class="infobox"> | <div class="infobox"> | ||
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}| | <div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}| | ||
− | <div class="infobox-image">[[File:{{{image}}}| | + | <div class="infobox-image">[[File:{{{image}}}|200px]]</div>}} |
− | <table>{{#if:{{{ | + | <table>{{#if:{{{param1|}}}|<tr> |
<th>Parameter 1</th> | <th>Parameter 1</th> | ||
<td>{{{Name}}}</td> | <td>{{{Name}}}</td> | ||
− | </tr>}}{{#if:{{{ | + | </tr>}}{{#if:{{{param2|}}}|<tr> |
<th>Parameter 2</th> | <th>Parameter 2</th> | ||
<td>{{{Title}}}</td> | <td>{{{Title}}}</td> | ||
− | </tr>}}{{#if:{{{ | + | </tr>}}{{#if:{{{param3|}}}|<tr> |
<th>Parameter 3</th> | <th>Parameter 3</th> | ||
<td>{{{Location}}}</td> | <td>{{{Location}}}</td> | ||
− | </tr>}}{{#if:{{{ | + | </tr>}}{{#if:{{{param4|}}}|<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:06, 6 July 2021
NPC Infobox