Template:RenoInfobox: Difference between revisions
(https://stackoverflow.com/questions/27801082/how-do-you-make-infoboxes-in-mediawiki) |
No edit summary |
||
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:{{{developer|}}}|<tr> | ||
<th>Developer</th> | <th>Developer</th> | ||
<td>{{{ | <td>{{{developer}}}</td> | ||
</tr>}}{{#if:{{{ | </tr>}}{{#if:{{{publisher|}}}|<tr> | ||
<th>Publisher</th> | <th>Publisher</th> | ||
<td>{{{ | <td>{{{publisher}}}</td> | ||
</tr>}}{{#if:{{{ | </tr>}}{{#if:{{{director|}}}|<tr> | ||
<th>Director</th> | <th>Director</th> | ||
<td>{{{ | <td>{{{director}}}</td> | ||
</tr>}}{{#if:{{{ | </tr>}}{{#if:{{{producer|}}}|<tr> | ||
<th>Producer</th> | <th>Producer</th> | ||
<td>{{{ | <td>{{{producer}}}</td> | ||
</tr>}}{{#if:{{{ | </tr>}}{{#if:{{{designer|}}}|<tr> | ||
<th>Designer</th> | <th>Designer</th> | ||
<td>{{{ | <td>{{{designer}}}</td> | ||
</tr>}}{{#if:{{{ | </tr>}}{{#if:{{{programmers|}}}|<tr> | ||
<th> | <th>Programmers</th> | ||
<td>{{{ | <td>{{{programmers}}}</td> | ||
</tr>}}{{#if:{{{ | </tr>}}{{#if:{{{artists|}}}|<tr> | ||
<th>Artist</th> | <th>Artist</th> | ||
<td>{{{ | <td>{{{artists}}}</td> | ||
</tr>}}{{#if:{{{ | </tr>}}{{#if:{{{platform|}}}|<tr> | ||
<th>Platform</th> | <th>Platform</th> | ||
<td>{{{ | <td>{{{platform}}}</td> | ||
</tr>}}{{#if:{{{ | </tr>}}{{#if:{{{released|}}}|<tr> | ||
<th>Released</th> | <th>Released</th> | ||
<td>{{{ | <td>{{{released}}}</td> | ||
</tr>}} | </tr>}} | ||
</table> | </table> | ||
</div> | </div> |
Revision as of 08:58, 26 October 2020
RenoInfobox