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


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

Difference between revisions of "Development:Middleware"

From PCGamingWiki, the wiki about fixing PC games
(change switches to dev versions)
(anticheat template dev version)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#ifeq:{{#var:section}}|API|{{#vardefine:section|Middleware}}|[[Category:Invalid section order]]}}{{#if:{{{physics|}}}{{{audio|}}}{{{interface|}}}{{{input|}}}{{{cutscenes|}}}{{{multiplayer|}}}{{{anticheat|}}}|<div class="container-pcgwikitable"><table class="pcgwikitable template-infotable" id="table-middleware">
+
<noinclude>{{#cargo_declare:
 +
_table=Middleware
 +
|Physics=List (,) of String
 +
|Audio=List (,) of String
 +
|Interface=List (,) of String
 +
|Input=List (,) of String
 +
|Cutscenes=List (,) of String
 +
|Multiplayer=List (,) of String
 +
|Anticheat=List (,) of String
 +
}}</noinclude><includeonly>{{#ifeq:{{#var:section}}|API|{{#vardefine:section|Middleware}}|[[Category:Invalid section order]]}}{{#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 table-middleware-head-row">
 
<tr class="template-infotable-head table-middleware-head-row">
 
<th scope="col" style="width: 230px;" class="table-middleware-head-parameter"></th>
 
<th scope="col" style="width: 230px;" class="table-middleware-head-parameter"></th>
Line 44: Line 53:
 
<tr class="template-infotable-body table-middleware-body-row">
 
<tr class="template-infotable-body table-middleware-body-row">
 
<th scope="row" class="table-middleware-body-parameter">Multiplayer</th>
 
<th scope="row" class="table-middleware-body-parameter">Multiplayer</th>
<td class="table-middleware-body-middleware">{{#arraymaptemplate:{{{multiplayer}}}|Development:Middleware/multiplayer}}</td>
+
<td class="table-middleware-body-middleware">{{#arraymaptemplate:{{{multiplayer}}}|Middleware/multiplayer}}</td>
 
<td class="table-middleware-body-notes">{{{multiplayer notes|}}}</td>
 
<td class="table-middleware-body-notes">{{{multiplayer notes|}}}</td>
 
</tr>
 
</tr>
 
}}
 
}}
{{#if: {{{anticheat|}}} |
+
{{#if: {{{anticheat|}}} |{{#if:{{#var:multiplayer}}||{{#vardefine:multiplayer|needed}}}}
 
<tr class="template-infotable-body table-middleware-body-row">
 
<tr class="template-infotable-body table-middleware-body-row">
 
<th scope="row" class="table-middleware-body-parameter">Anti-cheat</th>
 
<th scope="row" class="table-middleware-body-parameter">Anti-cheat</th>
Line 54: Line 63:
 
<td class="table-middleware-body-notes">{{{anticheat notes|}}}</td>
 
<td class="table-middleware-body-notes">{{{anticheat notes|}}}</td>
 
</tr>
 
</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>
+
}}</table></div>{{#ifeq: {{NAMESPACE}} | | {{#cargo_store:
 +
_table=Middleware
 +
|Physics={{{physics|}}}
 +
|Audio={{{audio|}}}
 +
|Interface={{{interface|}}}
 +
|Input={{{input|}}}
 +
|Cutscenes={{{cutscenes|}}}
 +
|Multiplayer={{#var:multiplayer middleware}}
 +
|Anticheat={{#var:anticheat middleware}}
 +
}}}}|{{ii}} ''No middleware information; you can <span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit this page]</span> to add it.''}}</includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 21:51, 10 November 2021

Error: #cargo_declare must be called from a template page.
Documentation for the above template (sometimes hidden from view).