Difference between revisions of "Template:Infobox"

From FEX-Emu Wiki
Jump to navigation Jump to search
Line 23: Line 23:
 
}}
 
}}
  
|{{#if:{{{storefront|}}}|{{!}}'''Storefront(s)'''{{!!}}{{#ifeq:{{#regex:{{{storefront|}}}|/>/rs|}}||
+
|{{#if:{{{storefront|}}}|{{!}}'''Storefronts'''{{!!}}{{#ifeq:{{#regex:{{{storefront|}}}|/>/rs|}}||
 
<!--List-->{{#regex:{{{storefront|}}}|/([^,]+)(,? ?)/rs|[[:Category:On $1|$1]][[Category:On $1]]$2}}</tr>|
 
<!--List-->{{#regex:{{{storefront|}}}|/([^,]+)(,? ?)/rs|[[:Category:On $1|$1]][[Category:On $1]]$2}}</tr>|
 
}}}}
 
}}}}
|{{#if:{{{os|}}}|<tr>
+
|{{#if:{{{os|}}}|{{!}}'''Operating Systems'''{{!!}}{{#ifeq:{{#regex:{{{os|}}}|/>/rs|}}||
    <th>Operating System</th>
+
<!--List-->{{#regex:{{{os|}}}|/([^,]+)(,? ?)/rs|[[:Category:$1 Games|$1]][[Category:$1 Games]]$2}}</tr>|
    <td>{{{os}}}</td>
+
}}}}
</tr>}}
+
|{{#if:{{{engine|}}}|{{!}}'''Engine'''{{!!}}{{#ifeq:{{#regex:{{{engine|}}}|/>/rs|}}||
|{{#if:{{{engine|}}}|<tr>
+
<!--List-->{{#regex:{{{engine|}}}|/([^,]+)(,? ?)/rs|[[:Category:$1 Engine|$1]][[Category:$1 Engine]]$2}}</tr>|
    <th>Engine</th>
+
}}}}
    <td>{{{engine}}}</td>
+
|{{#if:{{{arch|}}}|{{!}}'''Architecture'''{{!!}}{{#ifeq:{{#regex:{{{arch|}}}|/>/rs|}}||
</tr>}}
+
<!--List-->{{#regex:{{{arch|}}}|/([^,]+)(,? ?)/rs|[[:Category:$1|$1]][[Category:$1]]$2}}</tr>|
|{{#if:{{{arch|}}}|<tr>
+
}}}}
    <th>Architecture</th>
+
|{{#if:{{{cpufeats|}}}|{{!}}'''CPU Features Used'''{{!!}}{{#ifeq:{{#regex:{{{cpufeats|}}}|/>/rs|}}||
    <td>{{{arch}}}</td>
+
<!--List-->{{#regex:{{{cpufeats|}}}|/([^,]+)(,? ?)/rs|[[:Category:$1 CPU Feature|$1]][[Category:$1 CPU Feature]]$2}}</tr>|
</tr>}}
+
}}}}
|{{#if:{{{cpufeats|}}}|<tr>
+
|{{#if:{{{compat|}}}|{{!}}'''Compatibility'''{{!!}}{{#ifeq:{{#regex:{{{compat|}}}|/>/rs|}}||
    <th>CPU Features Used</th>
+
<!--List-->{{#regex:{{{compat|}}}|/([^,]+)(,? ?)/rs|[[:Category:$1 Compatibility|$1]][[Category:$1 Compatibility]]$2}}</tr>|
    <td>{{{cpufeats}}}</td>
+
}}}}
</tr>}}
 
|{{#if:{{{compat|}}}|<tr>
 
    <th>Compatibility</th>
 
    <td>{{{compat}}}</td>
 
</tr>}}
 
  
 
|}
 
|}
 
</div>
 
</div>

Revision as of 05:29, 16 October 2020

Infobox