Difference between revisions of "Template:Infobox"

From FEX-Emu Wiki
Jump to navigation Jump to search
Line 2: Line 2:
 
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>
 
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>
 
{{#if:{{{image|}}}|<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}
 
{{#if:{{{image|}}}|<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}
<table>
+
{|
 
|{{#if:{{{developer|}}}|'''[[:Category:Developers|Developer(s)]]'''}}
 
|{{#if:{{{developer|}}}|'''[[:Category:Developers|Developer(s)]]'''}}
{{#if:{{{storefront|}}}|<tr>
+
|{{#if:{{{storefront|}}}|<tr>
 
     <th>Storefront</th>
 
     <th>Storefront</th>
 
     <td>{{{storefront}}}</td>
 
     <td>{{{storefront}}}</td>
 
</tr>}}
 
</tr>}}
{{#if:{{{os|}}}|<tr>
+
|{{#if:{{{os|}}}|<tr>
 
     <th>Operating System</th>
 
     <th>Operating System</th>
 
     <td>{{{os}}}</td>
 
     <td>{{{os}}}</td>
 
</tr>}}
 
</tr>}}
{{#if:{{{engine|}}}|<tr>
+
|{{#if:{{{engine|}}}|<tr>
 
     <th>Engine</th>
 
     <th>Engine</th>
 
     <td>{{{engine}}}</td>
 
     <td>{{{engine}}}</td>
 
</tr>}}
 
</tr>}}
{{#if:{{{arch|}}}|<tr>
+
|{{#if:{{{arch|}}}|<tr>
 
     <th>Architecture</th>
 
     <th>Architecture</th>
 
     <td>{{{arch}}}</td>
 
     <td>{{{arch}}}</td>
 
</tr>}}
 
</tr>}}
{{#if:{{{cpufeats|}}}|<tr>
+
|{{#if:{{{cpufeats|}}}|<tr>
 
     <th>CPU Features Used</th>
 
     <th>CPU Features Used</th>
 
     <td>{{{cpufeats}}}</td>
 
     <td>{{{cpufeats}}}</td>
 
</tr>}}
 
</tr>}}
{{#if:{{{compat|}}}|<tr>
+
|{{#if:{{{compat|}}}|<tr>
 
     <th>Compatibility</th>
 
     <th>Compatibility</th>
 
     <td>{{{compat}}}</td>
 
     <td>{{{compat}}}</td>
 
</tr>}}
 
</tr>}}
  
</table>
+
|}
 
</div>
 
</div>

Revision as of 06:49, 10 October 2020

Infobox