Template:RenoInfobox: Difference between revisions

From Reno Project
(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:{{{param1|}}}|<tr>
<table>{{#if:{{{developer|}}}|<tr>
     <th>Developer</th>
     <th>Developer</th>
     <td>{{{param1}}}</td>
     <td>{{{developer}}}</td>
</tr>}}{{#if:{{{param2|}}}|<tr>
</tr>}}{{#if:{{{publisher|}}}|<tr>
     <th>Publisher</th>
     <th>Publisher</th>
     <td>{{{param2}}}</td>
     <td>{{{publisher}}}</td>
</tr>}}{{#if:{{{param3|}}}|<tr>
</tr>}}{{#if:{{{director|}}}|<tr>
     <th>Director</th>
     <th>Director</th>
     <td>{{{param3}}}</td>
     <td>{{{director}}}</td>
</tr>}}{{#if:{{{param4|}}}|<tr>
</tr>}}{{#if:{{{producer|}}}|<tr>
     <th>Producer</th>
     <th>Producer</th>
     <td>{{{param4}}}</td>
     <td>{{{producer}}}</td>
</tr>}}{{#if:{{{param5|}}}|<tr>
</tr>}}{{#if:{{{designer|}}}|<tr>
     <th>Designer</th>
     <th>Designer</th>
     <td>{{{param5}}}</td>
     <td>{{{designer}}}</td>
</tr>}}{{#if:{{{param6|}}}|<tr>
</tr>}}{{#if:{{{programmers|}}}|<tr>
     <th>Programmer</th>
     <th>Programmers</th>
     <td>{{{param6}}}</td>
     <td>{{{programmers}}}</td>
</tr>}}{{#if:{{{param7|}}}|<tr>
</tr>}}{{#if:{{{artists|}}}|<tr>
     <th>Artist</th>
     <th>Artist</th>
     <td>{{{param7}}}</td>
     <td>{{{artists}}}</td>
</tr>}}{{#if:{{{param8|}}}|<tr>
</tr>}}{{#if:{{{platform|}}}|<tr>
     <th>Platform</th>
     <th>Platform</th>
     <td>{{{param8}}}</td>
     <td>{{{platform}}}</td>
</tr>}}{{#if:{{{param9|}}}|<tr>
</tr>}}{{#if:{{{released|}}}|<tr>
     <th>Released</th>
     <th>Released</th>
     <td>{{{param9}}}</td>
     <td>{{{released}}}</td>
</tr>}}
</tr>}}


</table>
</table>
</div>
</div>

Revision as of 08:58, 26 October 2020

RenoInfobox