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
(deprecated co-op parameters)
(removed Semantic MediaWiki property tagging (migrated to Cargo))
(33 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{#if: {{{local play|}}}{{{lan play|}}}{{{online play|}}}{{{asynchronous|}}} |
+
{{#if: {{{local play|}}}{{{lan play|}}}{{{online play|}}}{{{asynchronous|}}} | <h3>Multiplayer types</h3>{{#switch:{{#var:section}}
<h3>Multiplayer types</h3>
+
|Audio
{{{!}} id="video-settings-table" class="wikitable template-infotable"
+
|Localizations/done={{#vardefine:section|Network}}
{{!-}}
+
|#Default = [[Category:Invalid section order]]
! width="224" {{!}} Type
+
}}{{#vardefine:multiplayer|true}}{{#vardefine:Network|true}}
! width="46" {{!}} Native
+
<div class="container-pcgwikitable"><table class="pcgwikitable template-infotable" id="table-network-multiplayer">
{{#if: {{{local play players|}}}{{{lan play players|}}}{{{online play players|}}} |
+
<tr class="template-infotable-head table-network-multiplayer-head-row">
! width="46" {{!}} Players
+
<th scope="col" style="width: 230px;" class="table-network-multiplayer-head-parameter">Type</th>
! width="378" {{!}} Notes |
+
<th scope="col" style="width: 50px;" class="table-network-multiplayer-head-rating">Native</th>
! width="430" {{!}} Notes }}
+
{{#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>
  
 
<!-- Local play -->
 
<!-- Local play -->
 
{{#if: {{{local play|}}} |
 
{{#if: {{{local play|}}} |
! [[Glossary:Local play|{{Abbr|Local play|Multiplayer on a single device/screen with multiple controllers or keyboards.}}]]
+
<tr class="template-infotable-body table-network-multiplayer-body-row">
{{!}} {{Tickcross|{{{local play|}}}|Local play}}
+
<th scope="row" class="table-network-multiplayer-body-parameter">[[Glossary:Local play|{{Abbr|Local play|Multiplayer on a single device/screen.}}]]</th>
{{#if: {{{local play players|}}} | {{!}} {{{local play players|}}} [[Local play players::{{{local play players|}}}| ]]}}
+
<td class="table-network-multiplayer-body-rating">{{Tickcross|{{{local play|}}}||{{{local play notes|}}}}}</td>
{{!}} style="text-align: center; padding: 3px" {{#if: {{{|}}} || colspan="2" }} {{!}} {{#if: {{{local play modes|}}} | {{{local play modes|}}}{{#arraymap:{{{local play modes|}}}|,|var|[[Local play modes::var| ]]|&#32;}}<br/>}}{{{local play 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]] }}
 +
|}}
 
}}
 
}}
  
<!-- LAN play -->
+
<!-- LAN/Online play -->
{{#if: {{{lan play|}}} |
+
{{#if: {{{lan play|}}}{{{online play|}}} |
! [[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.}}]]
+
<tr class="template-infotable-body table-network-multiplayer-body-row">
{{!}} {{Tickcross|{{{lan play|}}}|LAN play}}
+
<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: {{{lan play players|}}} | {{!}} {{{lan play players|}}} [[LAN play players::{{{lan play players|}}}| ]] }}
+
<td class="table-network-multiplayer-body-rating">{{Tickcross|{{{lan play|}}}||{{{lan play notes|}}}}}
{{!}} style="text-align: center; padding: 3px" {{#if: {{{|}}} || colspan="2" }} {{!}} {{#if: {{{lan play modes|}}} | {{{lan play modes|}}}{{#arraymap:{{{lan play modes|}}}|,|var|[[LAN play modes::var| ]]|&#32;}}<br/>}}{{{lan play 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">
<!-- Online play -->
+
<th scope="row" class="table-network-multiplayer-body-parameter">[[Glossary:Online play|{{Abbr|Online play|Multiplayer over an internet connection.}}]]</th>
{{#if: {{{online play|}}} |
+
<td class="table-network-multiplayer-body-rating">{{Tickcross|{{{online play|}}}||{{{online play notes|}}}}}
! [[Glossary:Online play|{{Abbr|Online play|Multiplayer over an internet connection.}}]]
+
{{#if: {{{online play players|}}} | <td class="table-network-multiplayer-body-players">{{{online play players|}}}</td>}}
{{!}} {{Tickcross|{{{online play|}}}|Online 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: {{{online play players|}}} | {{!}} {{{online play players|}}} [[Online play players::{{{online play players|}}}| ]] }}
+
</tr>
{{!}} style="text-align: center; padding: 3px" {{#if: {{{|}}} || colspan="2" }} {{!}} {{#if: {{{online play modes|}}} | {{{online play modes|}}}{{#arraymap:{{{online play modes|}}}|,|var|[[Online play modes::var| ]]|&#32;}}<br/>}}{{{online play notes|}}}
 
{{!-}}
 
 
}}
 
}}
  
 
<!-- Asynchronous multiplayer -->
 
<!-- Asynchronous multiplayer -->
 
{{#if: {{{asynchronous|}}} |
 
{{#if: {{{asynchronous|}}} |
! [[Glossary:Asynchronous multiplayer|{{Abbr|Asynchronous multiplayer|Turn-based multiplayer that doesn't require both players to be playing concurrently.}}]]
+
<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>
<includeonly>
+
}}</table></div>}}{{#vardefine:section|Network/Multiplayer}}{{#if:{{#var:screenshots}}|{{#vardefine:Network screenshots|true}}{{#vardefine:screenshots|}}}}<noinclude>{{#cargo_declare:
{{#if: {{{local co-op|}}} | [[Category:Invalid template usage]] }}
+
_table=Multiplayer
{{#if: {{{lan co-op|}}} | [[Category:Invalid template usage]] }}
+
|Local=String
{{#if: {{{online co-op|}}} | [[Category:Invalid template usage]] }}
+
|Local_players=String
{{#if: {{{hot-seat|}}} | [[Category:Invalid template usage]] }}
+
|Local_modes=List (,) of String
</includeonly>
+
|LAN=String
{{!}}} }}<noinclude>{{Documentation}}</noinclude>
+
|LAN_players=String
 +
|LAN_modes=List (,) of String
 +
|Online=String
 +
|Online_players=String
 +
|Online_modes=List (,) of String
 +
|Asynchronous=String
 +
}}</noinclude><includeonly>{{#if:{{#var:Game}}|{{#cargo_store:
 +
_table=Multiplayer
 +
|Local={{{local play|}}}
 +
|Local_players={{{local play players|}}}
 +
|Local_modes={{#var:Local play modes}}
 +
|LAN={{{lan play|}}}
 +
|LAN_players={{{lan play players|}}}
 +
|LAN_modes={{#var:LAN play modes}}
 +
|Online={{{online play|}}}
 +
|Online_players={{{online play players|}}}
 +
|Online_modes={{#var:Online play modes}}
 +
|Asynchronous={{{asynchronous|}}}
 +
}}|}}</includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 07:19, 27 September 2021

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   = 
}}