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 "Template:Middleware"

From PCGamingWiki, the wiki about fixing PC games
(moving multiplayer 'needed' check to Template:Middleware/multiplayer to handle exceptions better)
(added Cargo handling--store only called when table has content and is in the main namespace)
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 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>

Revision as of 23:11, 17 September 2021

This template defines the table "Middleware". View table.

Documentation for the above template (sometimes hidden from view).
Description

Table to list middleware used by a game.

Arguments
  • physics - Middleware that simulates physics against objects in-game, e.g. Bullet Physics Engine, Havok, PhysX.
  • audio - Middleware that provides support for audio playback, e.g. FMOD, Miles Sound System, Wwise.
  • interface - Middleware that assists with rendering or the design of in-game user interfaces, e.g. Flash, FreeType 2, Scaleform.
  • input - Middleware that provides support for or assists with input systems/controls (keyboard, mouse, gamepads, etc), e.g. Object Oriented Input System (OIS).
  • cutscenes - Middleware that provides cutscene or pre-recorded video playback support, e.g. Bink Video, Smacker.
  • multiplayer - Middleware that provides the base of multiplayer support or assists with other aspects related to it (matchmaking, etc), e.g. Steamworks, GameSpy, Epic Online Services.
  • anticheat - Middleware that protects against cheating or assists with other aspects related to it (anti-cheat, matchmaking, etc), e.g. PunkBuster, VAC, Easy Anti-Cheat.
Syntax
===Middleware===
{{Middleware
|physics          = 
|physics notes    = 
|audio            = 
|audio notes      = 
|interface        = 
|interface notes  = 
|input            = 
|input notes      = 
|cutscenes        = 
|cutscenes notes  = 
|multiplayer      = 
|multiplayer notes= 
|anticheat        = 
|anticheat notes  = 
}}
Related

These sub-templates consolidates the given input and automatically outputs links for well-known middleware.