Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.

Difference between revisions of "Template:Middleware"

From PCGamingWiki, the wiki about fixing PC games
(added property support for multiplayer middleware)
m (use Middleware/anticheat)
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<div class="container-pcgwikitable"><table class="pcgwikitable template-infotable" id="table-middleware">
+
<includeonly>{{#if:{{{physics|}}}{{{audio|}}}{{{interface|}}}{{{input|}}}{{{cutscenes|}}}{{{multiplayer|}}}{{{anticheat|}}}|<div class="container-pcgwikitable"><table class="pcgwikitable template-infotable" id="table-middleware">
<tr class="template-infotable-head">
+
<tr class="template-infotable-head table-middleware-head-row">
<th scope="col" style="width: 230px;"></th>
+
<th scope="col" style="width: 230px;" class="table-middleware-head-parameter"></th>
<th scope="col" style="width: 120px;">Middleware</th>
+
<th scope="col" style="width: 120px;" class="table-middleware-head-middleware">Middleware</th>
<th scope="col" style="width: 470px;">Notes</th>
+
<th scope="col" style="width: 470px;" class="table-middleware-head-notes">Notes</th>
 
</tr>
 
</tr>
  
 
{{#if: {{{physics|}}} |
 
{{#if: {{{physics|}}} |
<tr class="template-infotable-body">
+
<tr class="template-infotable-body table-middleware-body-row">
<th scope="row">Physics</th>
+
<th scope="row" class="table-middleware-body-parameter">Physics</th>
<td>{{{physics|}}}</td>
+
<td class="table-middleware-body-middleware">{{{physics|}}}</td>
<td>{{{physics notes|}}}</td>
+
<td class="table-middleware-body-notes">{{{physics notes|}}}</td>
 
</tr>
 
</tr>
 
}}
 
}}
 
{{#if: {{{audio|}}} |
 
{{#if: {{{audio|}}} |
<tr class="template-infotable-body">
+
<tr class="template-infotable-body table-middleware-body-row">
<th scope="row">Audio</th>
+
<th scope="row" class="table-middleware-body-parameter">Audio</th>
<td>{{{audio|}}}</td>
+
<td class="table-middleware-body-middleware">{{{audio|}}}</td>
<td>{{{audio notes|}}}</td>
+
<td class="table-middleware-body-notes">{{{audio notes|}}}</td>
 
</tr>
 
</tr>
 
}}
 
}}
 
{{#if: {{{interface|}}} |
 
{{#if: {{{interface|}}} |
<tr class="template-infotable-body">
+
<tr class="template-infotable-body table-middleware-body-row">
<th scope="row">Interface</th>
+
<th scope="row" class="table-middleware-body-parameter">Interface</th>
<td>{{{interface|}}}</td>
+
<td class="table-middleware-body-middleware">{{{interface|}}}</td>
<td>{{{interface notes|}}}</td>
+
<td class="table-middleware-body-notes">{{{interface notes|}}}</td>
 
</tr>
 
</tr>
 
}}
 
}}
 
{{#if: {{{input|}}} |
 
{{#if: {{{input|}}} |
<tr class="template-infotable-body">
+
<tr class="template-infotable-body table-middleware-body-row">
<th scope="row">Input</th>
+
<th scope="row" class="table-middleware-body-parameter">Input</th>
<td>{{{input|}}}</td>
+
<td class="table-middleware-body-middleware">{{{input|}}}</td>
<td>{{{input notes|}}}</td>
+
<td class="table-middleware-body-notes">{{{input notes|}}}</td>
 
</tr>
 
</tr>
 
}}
 
}}
 
{{#if: {{{cutscenes|}}} |
 
{{#if: {{{cutscenes|}}} |
<tr class="template-infotable-body">
+
<tr class="template-infotable-body table-middleware-body-row">
<th scope="row">Cutscenes</th>
+
<th scope="row" class="table-middleware-body-parameter">Cutscenes</th>
<td>{{{cutscenes|}}}</td>
+
<td class="table-middleware-body-middleware">{{{cutscenes|}}}</td>
<td>{{{cutscenes notes|}}}</td>
+
<td class="table-middleware-body-notes">{{{cutscenes notes|}}}</td>
 
</tr>
 
</tr>
 
}}
 
}}
 
{{#if: {{{multiplayer|}}} |
 
{{#if: {{{multiplayer|}}} |
<tr class="template-infotable-body">
+
<tr class="template-infotable-body table-middleware-body-row">
<th scope="row">Multiplayer</th>
+
<th scope="row" class="table-middleware-body-parameter">Multiplayer</th>
<td>{{{multiplayer|}}}</td>
+
<td class="table-middleware-body-middleware">{{#arraymaptemplate:{{{multiplayer}}}|Middleware/multiplayer}}</td>
<td>{{{multiplayer notes|}}}</td>
+
<td class="table-middleware-body-notes">{{{multiplayer notes|}}}</td>
 
</tr>
 
</tr>
}}<!-- Hidden properties
+
}}
-->{{#if: {{{multiplayer|}}}| {{#arraymap:{{{multiplayer|}}}|,|var|[[Multiplayer middleware::var| ]]|&#32;}} }}<!--
+
{{#if: {{{anticheat|}}} |
--></table></div><noinclude>{{Documentation}}</noinclude>
+
<tr class="template-infotable-body table-middleware-body-row">
 +
<th scope="row" class="table-middleware-body-parameter">Anti-cheat</th>
 +
<td class="table-middleware-body-middleware">{{#arraymaptemplate:{{{anticheat}}}|Middleware/anticheat}}</td>
 +
<td class="table-middleware-body-notes">{{{anticheat notes|}}}</td>
 +
</tr>
 +
}}</table></div>|{{ii}} ''No middleware information; you can <span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit this page]</span> to add it.''}}</includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 22:15, 22 November 2019

Documentation for the above template (sometimes hidden from view).
Description
Arguments
  • -
Syntax
===Middleware===
{{Middleware
|physics          = 
|physics notes    = 
|audio            = 
|audio notes      = 
|interface        = 
|interface notes  = 
|input            = 
|input notes      = 
|cutscenes        = 
|cutscenes notes  = 
|multiplayer      = 
|multiplayer notes= 
|anticheat        = 
|anticheat notes  = 
}}