Difference between revisions of "Template:Network/Multiplayer"

From PCGamingWiki, the wiki about fixing PC games
(added previous section validity check (ensures templates are being used in the correct order on game pages))
(removed Semantic MediaWiki property tagging (migrated to Cargo))
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#if: {{{local play|}}}{{{lan play|}}}{{{online play|}}}{{{asynchronous|}}} | <h3>Multiplayer types</h3>{{#ifeq:{{#var:section}}|Localizations/done|{{#vardefine:section|Network/Multiplayer}}|[[Category:Invalid section order]]}}{{#vardefine:multiplayer|true}}{{#vardefine:Network|true}}
+
{{#if: {{{local play|}}}{{{lan play|}}}{{{online play|}}}{{{asynchronous|}}} | <h3>Multiplayer types</h3>{{#switch:{{#var:section}}
 +
|Audio
 +
|Localizations/done={{#vardefine:section|Network}}
 +
|#Default = [[Category:Invalid section order]]
 +
}}{{#vardefine:multiplayer|true}}{{#vardefine:Network|true}}
 
<div class="container-pcgwikitable"><table class="pcgwikitable template-infotable" id="table-network-multiplayer">
 
<div class="container-pcgwikitable"><table class="pcgwikitable template-infotable" id="table-network-multiplayer">
 
<tr class="template-infotable-head table-network-multiplayer-head-row">
 
<tr class="template-infotable-head table-network-multiplayer-head-row">
Line 13: Line 17:
 
<tr class="template-infotable-body table-network-multiplayer-body-row">
 
<tr class="template-infotable-body table-network-multiplayer-body-row">
 
<th scope="row" class="table-network-multiplayer-body-parameter">[[Glossary:Local play|{{Abbr|Local play|Multiplayer on a single device/screen.}}]]</th>
 
<th scope="row" class="table-network-multiplayer-body-parameter">[[Glossary:Local play|{{Abbr|Local play|Multiplayer on a single device/screen.}}]]</th>
<td class="table-network-multiplayer-body-rating">{{Tickcross|{{{local play|}}}|Local play|{{{local play notes|}}}}}</td>
+
<td class="table-network-multiplayer-body-rating">{{Tickcross|{{{local play|}}}||{{{local play notes|}}}}}</td>
{{#if: {{{local play players|}}} | <td class="table-network-multiplayer-body-players">{{{local play players|}}} [[Local play players::{{{local play players|}}}| ]]</td>}}
+
{{#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>
 
<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>
 
</tr>
Line 27: Line 31:
 
<tr class="template-infotable-body table-network-multiplayer-body-row">
 
<tr class="template-infotable-body table-network-multiplayer-body-row">
 
<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>
 
<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>
<td class="table-network-multiplayer-body-rating">{{Tickcross|{{{lan play|}}}|LAN play|{{{lan play notes|}}}}}
+
<td class="table-network-multiplayer-body-rating">{{Tickcross|{{{lan play|}}}||{{{lan play notes|}}}}}
{{#if: {{{lan play players|}}} | <td class="table-network-multiplayer-body-players">{{{lan play players|}}} [[LAN play players::{{{lan play players|}}}| ]]</td>}}
+
{{#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>
 
<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>
 
<tr class="template-infotable-body table-network-multiplayer-body-row">
 
<tr class="template-infotable-body table-network-multiplayer-body-row">
 
<th scope="row" class="table-network-multiplayer-body-parameter">[[Glossary:Online play|{{Abbr|Online play|Multiplayer over an internet connection.}}]]</th>
 
<th scope="row" class="table-network-multiplayer-body-parameter">[[Glossary:Online play|{{Abbr|Online play|Multiplayer over an internet connection.}}]]</th>
<td class="table-network-multiplayer-body-rating">{{Tickcross|{{{online play|}}}|Online play|{{{online play notes|}}}}}
+
<td class="table-network-multiplayer-body-rating">{{Tickcross|{{{online play|}}}||{{{online play notes|}}}}}
{{#if: {{{online play players|}}} | <td class="table-network-multiplayer-body-players">{{{online play players|}}} [[Online play players::{{{online play players|}}}| ]]</td>}}
+
{{#if: {{{online play players|}}} | <td class="table-network-multiplayer-body-players">{{{online play players|}}}</td>}}
<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>
+
<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>
 
</tr>
 
</tr>
 
}}
 
}}
Line 43: Line 47:
 
<tr class="template-infotable-body table-network-multiplayer-body-row">
 
<tr class="template-infotable-body table-network-multiplayer-body-row">
 
<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>
 
<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>
<td class="table-network-multiplayer-body-rating">{{Tickcross|{{{asynchronous|}}}|Asynchronous multiplayer|{{{asynchronous notes|}}}}}</td>
+
<td class="table-network-multiplayer-body-rating">{{Tickcross|{{{asynchronous|}}}||{{{asynchronous notes|}}}}}</td>
 
<td colspan="2" class="table-network-multiplayer-body-notes">{{{asynchronous notes|}}}</td>
 
<td colspan="2" class="table-network-multiplayer-body-notes">{{{asynchronous notes|}}}</td>
 
</tr>
 
</tr>
}}</table></div>}}{{#if:{{#var:screenshots}}|{{#vardefine:Network screenshots|true}}{{#vardefine:screenshots|}}}}<noinclude>{{#cargo_declare:
+
}}</table></div>}}{{#vardefine:section|Network/Multiplayer}}{{#if:{{#var:screenshots}}|{{#vardefine:Network screenshots|true}}{{#vardefine:screenshots|}}}}<noinclude>{{#cargo_declare:
 
_table=Multiplayer
 
_table=Multiplayer
 
|Local=String
 
|Local=String

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