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:Network/Multiplayer"

From PCGamingWiki, the wiki about fixing PC games
m
m ({{#ifeq:{{NAMESPACE}}||Category:Invalid section order}})
 
(60 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{| id="video-settings-table" class="slottable wikitable" style="text-align: center; width: 720px;"
+
{{#if: {{{local play|}}}{{{lan play|}}}{{{online play|}}}{{{asynchronous|}}} | <h3>Multiplayer types</h3>{{#switch:{{#var:section}}
|-
+
|Audio
! width="224" | Type
+
|Localizations/done={{#vardefine:section|Network}}
! width="46" | Native
+
|#Default = {{#ifeq:{{NAMESPACE}}||[[Category:Invalid section order]]}}
{{#if: {{{|}}} |
+
}}{{#vardefine:multiplayer|true}}{{#vardefine:Network|true}}
! width="46" {{!}} Players
+
<div class="container-pcgwikitable"><table class="pcgwikitable template-infotable" id="table-network-multiplayer">
! width="378" {{!}} Notes |
+
<tr class="template-infotable-head table-network-multiplayer-head-row">
! width="430" {{!}} Notes }}
+
<th scope="col" style="width: 230px;" class="table-network-multiplayer-head-parameter">Type</th>
|-
+
<th scope="col" style="width: 50px;" class="table-network-multiplayer-head-rating">Native</th>
 +
{{#if: {{{local play players|}}}{{{lan play players|}}}{{{online play players|}}} | <th scope="col" style="width: 50px;" class="table-network-multiplayer-head-players">Players</th>
 +
<th scope="col" style="width: 490px;" class="table-network-multiplayer-head-notes">Notes</th> |
 +
<th scope="col" style="width: 540px;" class="table-network-multiplayer-head-notes">Notes</th> }}
 +
</tr>
  
<!-- Hot-seat -->
+
<!-- Local play -->
{{#if: {{{hot-seat|}}} |
+
{{#if: {{{local play|}}} |
! [[Hot-seat]]
+
<tr class="template-infotable-body table-network-multiplayer-body-row">
{{!}} {{Tickcross|{{{hot-seat|}}}|Hot-seat}}
+
<th scope="row" class="table-network-multiplayer-body-parameter">[[Glossary:Local play|{{Abbr|Local play|Multiplayer on a single device/screen.}}]]</th>
{{#if: {{{hot-seat players|}}} | {{{!}}} {{{hot-seat players|}}} }}
+
<td class="table-network-multiplayer-body-rating">{{Tickcross|{{{local play|}}}||{{{local play notes|}}}}}</td>
{{!}} style="text-align: center; padding: 3px" {{#if: {{{|}}} || colspan="2" }} {{!}} {{{hot-seat notes|}}}
+
{{#if: {{{local play players|}}} | <td class="table-network-multiplayer-body-players">{{{local play players|}}}</td>}}
{{!-}}
+
<td colspan="2" class="table-network-multiplayer-body-notes">{{#if: {{{local play modes|}}} | {{#arraymaptemplate:{{{local play modes|}}}|Network/Multiplayer/switch|,|,&#32;}}<br/>}}{{{local play notes|}}}</td>
 +
</tr>
 +
{{#switch:{{lc:{{{local play}}}}}
 +
|true
 +
|hackable = {{#ifeq: {{NAMESPACE}} | | [[Category:Local multiplayer games]] }}
 +
|}}
 
}}
 
}}
  
<!-- Local co-op -->
+
<!-- LAN/Online play -->
{{#if: {{{local co-op|}}} |
+
{{#if: {{{lan play|}}}{{{online play|}}} |
! [[Local co-op]]
+
<tr class="template-infotable-body table-network-multiplayer-body-row">
{{!}} {{Tickcross|{{{local co-op|}}}|Local co-op}}
+
<th scope="row" class="table-network-multiplayer-body-parameter">[[Glossary:LAN play|{{Abbr|LAN play|Local Area Network multiplayer. Multiple devices playing together over the same network connection without using an external server as a host.}}]]</th>
{{#if: {{{local co-op players|}}} | {{{!}}} {{{local co-op players|}}} }}
+
<td class="table-network-multiplayer-body-rating">{{Tickcross|{{{lan play|}}}||{{{lan play notes|}}}}}
{{!}} style="text-align: center; padding: 3px" {{#if: {{{|}}} || colspan="2" }} {{!}} {{{local co-op notes|}}}
+
{{#if: {{{lan play players|}}} | <td class="table-network-multiplayer-body-players">{{{lan play players|}}}</td>}}
{{!-}}
+
<td colspan="2" class="table-network-multiplayer-body-notes">{{#if: {{{lan play modes|}}} | {{#arraymaptemplate:{{{lan play modes|}}}|Network/Multiplayer/switch2|,|,&#32;}}<br/>}}{{{lan play notes|}}}</td>
}}
+
</tr>
 
+
<tr class="template-infotable-body table-network-multiplayer-body-row">
<!-- LAN play -->
+
<th scope="row" class="table-network-multiplayer-body-parameter">[[Glossary:Online play|{{Abbr|Online play|Multiplayer over an internet connection.}}]]</th>
{{#if: {{{lan play|}}} |
+
<td class="table-network-multiplayer-body-rating">{{Tickcross|{{{online play|}}}||{{{online play notes|}}}}}
! [[LAN play]]
+
{{#if: {{{online play players|}}} | <td class="table-network-multiplayer-body-players">{{{online play players|}}}</td>}}
{{!}} {{Tickcross|{{{lan play|}}}|LAN play}}
+
<td colspan="2" class="table-network-multiplayer-body-notes">{{#if: {{{online play modes|}}} | {{#arraymaptemplate:{{{online play modes|}}}|Network/Multiplayer/switch3|,|,&#32;}}<br/>}}{{#if: {{{online play notes|}}} | {{{online play notes|}}} | {{#if: {{#var:GameSpy}}|''[[GameSpy]] services have been shut down;''<ref>[https://web.archive.org/web/20140625050818/http://www.poweredbygamespy.com/pricing/ Pricing | GameSpy Technology]</ref> ''see [[GameSpy]] for workarounds.''|{{#ifeq: {{lc:{{{online play|}}}}} | false | {{#switch:{{lc:{{{lan play}}}}}|true|hackable = {{#if: {{#var:DOS}}{{#var:PC booter}} | ''For [[DOSBox]] use [http://www.dosbox.com/wiki/Connectivity DOSBox IPX/modem emulation].''}}|#Default  = }}}}}}}}</td>
{{#if: {{{lan play players|}}} | {{{!}}} {{{lan play players|}}} }}
+
</tr>
{{!}} style="text-align: center; padding: 3px" {{#if: {{{|}}} || colspan="2" }} {{!}} {{{lan play notes|}}}
 
{{!-}}
 
}}
 
 
 
<!-- Online co-op -->
 
{{#if: {{{online co-op|}}} |
 
! [[Online co-op]]
 
{{!}} {{Tickcross|{{{online co-op|}}}|Online co-op}}
 
{{#if: {{{online co-op players|}}} | {{{!}}} {{{online co-op players|}}} }}
 
{{!}} style="text-align: center; padding: 3px" {{#if: {{{|}}} || colspan="2" }} {{!}} {{{online co-op notes|}}}
 
{{!-}}
 
}}
 
 
 
<!-- Online play -->
 
{{#if: {{{online play|}}} |
 
! [[Online play]]
 
{{!}} {{Tickcross|{{{online play|}}}|Online play}}
 
{{#if: {{{online play players|}}} | {{{!}}} {{{online play players|}}} }}
 
{{!}} style="text-align: center; padding: 3px" {{#if: {{{|}}} || colspan="2" }} {{!}} {{{online play notes|}}}
 
{{!-}}
 
 
}}
 
}}
  
 
<!-- Asynchronous multiplayer -->
 
<!-- Asynchronous multiplayer -->
 
{{#if: {{{asynchronous|}}} |
 
{{#if: {{{asynchronous|}}} |
! [[Asynchronous multiplayer]]
+
<tr class="template-infotable-body table-network-multiplayer-body-row">
{{!}} {{Tickcross|{{{asynchronous|}}}|Asynchronous multiplayer}}
+
<th scope="row" class="table-network-multiplayer-body-parameter">[[Glossary:Asynchronous multiplayer|{{Abbr|Asynchronous multiplayer|Turn-based multiplayer that doesn't require both players to be playing concurrently.}}]]</th>
{{!}} style="text-align: center; padding: 3px" colspan="2" {{!}} {{{asynchronous notes|}}}
+
<td class="table-network-multiplayer-body-rating">{{Tickcross|{{{asynchronous|}}}||{{{asynchronous notes|}}}}}</td>
{{!-}}
+
<td colspan="2" class="table-network-multiplayer-body-notes">{{{asynchronous notes|}}}</td>
}}
+
</tr>
 
+
}}</table></div>}}{{#vardefine:section|Network/Multiplayer}}{{#if:{{#var:screenshots}}|{{#vardefine:Network screenshots|true}}{{#vardefine:screenshots|}}}}<noinclude>{{#cargo_declare:
<!-- Matchmaking  -->
+
_table=Multiplayer
{{#if: {{{matchmaking|}}} |
+
|Local=String
! [[Matchmaking]]
+
|Local_players=String
{{!}} {{Tickcross|{{{matchmaking|}}}|Matchmaking}}
+
|Local_modes=List (,) of String
{{!}} style="text-align: center; padding: 3px" colspan="2" {{!}} {{{matchmaking notes|}}}
+
|LAN=String
{{!-}}
+
|LAN_players=String
}}
+
|LAN_modes=List (,) of String
 
+
|Online=String
<!-- Peer-to-peer -->
+
|Online_players=String
{{#if: {{{p2p|}}} |
+
|Online_modes=List (,) of String
! [[Peer-to-peer]]
+
|Asynchronous=String
{{!}} {{Tickcross|{{{p2p|}}}|Peer-to-peer}}
+
}}</noinclude><includeonly>{{#if:{{#var:Game}}|{{#cargo_store:
{{!}} style="text-align: center; padding: 3px" colspan="2" {{!}} {{{p2p notes|}}}
+
_table=Multiplayer
{{!-}}
+
|Local={{{local play|}}}
}}
+
|Local_players={{{local play players|}}}
 
+
|Local_modes={{#var:Local play modes}}
<!-- Dedicated -->
+
|LAN={{{lan play|}}}
{{#if: {{{dedicated|}}} |
+
|LAN_players={{{lan play players|}}}
! [[Dedicated]]
+
|LAN_modes={{#var:LAN play modes}}
{{!}} {{Tickcross|{{{dedicated|}}}|Dedicated}}
+
|Online={{{online play|}}}
{{!}} style="text-align: center; padding: 3px" colspan="2" {{!}} {{{dedicated notes|}}}
+
|Online_players={{{online play players|}}}
{{!-}}
+
|Online_modes={{#var:Online play modes}}
}}
+
|Asynchronous={{{asynchronous|}}}
 
+
}}|}}</includeonly><noinclude>{{Documentation}}</noinclude>
<!-- Self-hosting -->
 
{{#if: {{{self-hosting|}}} |
 
! [[Self-hosting]]
 
{{!}} {{Tickcross|{{{self-hosting|}}}|Self-hosting}}
 
{{!}} style="text-align: center; padding: 3px" colspan="2" {{!}} {{{self-hosting notes|}}}
 
{{!-}}
 
}}
 
 
 
|}<noinclude>{{Documentation}}</noinclude>
 

Latest revision as of 16:50, 20 June 2022

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

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

This template contains all information relating to multiplayer modes; see also {{Network/Connections}} and {{Network/Ports}}.

Arguments
Syntax
{{Network/Multiplayer
|local play           = 
|local play players   = 
|local play modes     = 
|local play notes     = 
|lan play             = 
|lan play players     = 
|lan play modes       = 
|lan play notes       = 
|online play          = 
|online play players  = 
|online play modes    = 
|online play notes    = 
|asynchronous         = 
|asynchronous notes   = 
}}