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

Difference between revisions of "Template:Network/Multiplayer"

From PCGamingWiki, the wiki about fixing PC games
(changed properties to else)
(fixed PC booter naming)
(36 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{#if: {{{hot-seat|}}}{{{local co-op|}}}{{{local play|}}}{{{lan play|}}}{{{lan co-op|}}}{{{online co-op|}}}{{{online play|}}}{{{asynchronous|}}} |
+
{{#if: {{{local play|}}}{{{lan play|}}}{{{online play|}}}{{{asynchronous|}}} | <h3>Multiplayer types</h3>{{#vardefine:section|Network}}{{#vardefine:multiplayer|true}}{{#vardefine:Network|true}}
<h3>Multiplayer types</h3>
+
<div class="container-pcgwikitable"><table class="pcgwikitable template-infotable" id="table-network-multiplayer">
{{{!}} id="video-settings-table" class="wikitable template-infotable"
+
<tr class="template-infotable-head table-network-multiplayer-head-row">
{{!-}}
+
<th scope="col" style="width: 230px;" class="table-network-multiplayer-head-parameter">Type</th>
! width="224" {{!}} Type
+
<th scope="col" style="width: 50px;" class="table-network-multiplayer-head-rating">Native</th>
! width="46" {{!}} Native
+
{{#if: {{{local play players|}}}{{{lan play players|}}}{{{online play players|}}} | <th scope="col" style="width: 50px;" class="table-network-multiplayer-head-players">Players</th>
{{#if: {{{hot-seat players|}}}{{{local co-op players|}}}{{{lan co-op players|}}}{{{local play players|}}}{{{lan play players|}}}{{{online co-op players|}}}{{{online play players|}}} |
+
<th scope="col" style="width: 490px;" class="table-network-multiplayer-head-notes">Notes</th> |
! width="46" {{!}} Players
+
<th scope="col" style="width: 540px;" class="table-network-multiplayer-head-notes">Notes</th> }}
! width="378" {{!}} Notes |
+
</tr>
! width="430" {{!}} Notes }}
 
{{!-}}
 
  
 
<!-- 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|}}}| ]] | [[Local play players::unknown| ]]}}
+
<td class="table-network-multiplayer-body-rating">{{Tickcross|{{{local play|}}}|Local play|{{{local play notes|}}}}}</td>
{{!}} style="text-align: center; padding: 3px" {{#if: {{{|}}} || colspan="2" }} {{!}} {{{local play notes|}}}
+
{{#if: {{{local play players|}}} | <td class="table-network-multiplayer-body-players">{{{local play players|}}} [[Local play 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|}}} }}
+
<td class="table-network-multiplayer-body-rating">{{Tickcross|{{{lan play|}}}|LAN play|{{{lan play notes|}}}}}
{{!}} style="text-align: center; padding: 3px" {{#if: {{{|}}} || colspan="2" }} {{!}} {{{lan play notes|}}}
+
{{#if: {{{lan play players|}}} | <td class="table-network-multiplayer-body-players">{{{lan play players|}}} [[LAN play 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|{{{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|}}} [[Online play 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|}}} }}
+
</tr>
{{!}} style="text-align: center; padding: 3px" {{#if: {{{|}}} || colspan="2" }} {{!}} {{{online play notes|}}}
 
{{!-}}
 
}}
 
 
 
<!-- Local co-op -->
 
{{#if: {{{local co-op|}}} |
 
! [[Glossary:Local co-op|{{Abbr|Local co-op|Cooperative multiplayer on a single device/screen with multiple controllers or keyboards.}}]]
 
{{!}} {{Tickcross|{{{local co-op|}}}|Local co-op}}
 
{{#if: {{{local co-op players|}}} | {{!}} {{{local co-op players|}}} [[Local co-op players::{{{local co-op players|}}}| ]] | [[Local co-op players::unknown| ]]}}
 
{{!}} style="text-align: center; padding: 3px" {{#if: {{{|}}} || colspan="2" }} {{!}} {{{local co-op notes|}}}
 
{{!-}}
 
}}
 
 
 
<!-- LAN co-op -->
 
{{#if: {{{lan co-op|}}} |
 
! [[Glossary:LAN co-op|{{Abbr|LAN co-op|Local Area Network cooperative multiplayer. Multiple devices playing together over the same network connection without using an external server as a host.}}]]
 
{{!}} {{Tickcross|{{{lan co-op|}}}|LAN co-op}}
 
{{#if: {{{lan co-op players|}}} | {{!}} {{{lan co-op players|}}} }}
 
{{!}} style="text-align: center; padding: 3px" {{#if: {{{|}}} || colspan="2" }} {{!}} {{{lan co-op notes|}}}
 
{{!-}}
 
}}
 
 
 
<!-- Online co-op -->
 
{{#if: {{{online co-op|}}} |
 
! [[Glossary:Online co-op|{{Abbr|Online co-op|Cooperative multiplayer over an internet connection.}}]]
 
{{!}} {{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|}}}
 
{{!-}}
 
}}
 
 
 
<!-- Hot-seat -->
 
{{#if: {{{hot-seat|}}} |
 
! [[Glossary:Hot-seat|{{Abbr|Hot-seat|Multiple players using a single controller or keyboard. Also known as "Pass-and-play".}}]]
 
{{!}} {{Tickcross|{{{hot-seat|}}}|Hot-seat}}
 
{{#if: {{{hot-seat players|}}} | {{!}} {{{hot-seat players|}}} [[Hot-seat players::{{{hot-seat players|}}}| ]] | [[Hot-seat players::unknown| ]]}}
 
{{!}} style="text-align: center; padding: 3px" {{#if: {{{|}}} || colspan="2" }} {{!}} {{{hot-seat 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 multiplayer|{{{asynchronous notes|}}}}}</td>
{{!-}}
+
<td colspan="2" class="table-network-multiplayer-body-notes">{{{asynchronous notes|}}}</td>
}}
+
</tr>
 
+
}}</table></div>}}{{#if:{{#var:screenshots}}|{{#vardefine:Network screenshots|true}}{{#vardefine:screenshots|}}}}<noinclude>{{#cargo_declare:
{{!}}} }}<noinclude>{{Documentation}}</noinclude>
+
_table=Multiplayer
 +
|Local=String
 +
|Local_players=String
 +
|Local_modes=List (,) of String
 +
|LAN=String
 +
|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 12:12, 28 May 2019

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