Difference between revisions of "Template:Network/Multiplayer"
From PCGamingWiki, the wiki about fixing PC games
(improved multi-mode support) |
m ({{#ifeq:{{NAMESPACE}}||Category:Invalid section order}}) |
||
(38 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | {{#if: {{{ | + | {{#if: {{{local play|}}}{{{lan play|}}}{{{online play|}}}{{{asynchronous|}}} | <h3>Multiplayer types</h3>{{#switch:{{#var:section}} |
− | < | + | |Audio |
− | + | |Localizations/done={{#vardefine:section|Network}} | |
− | + | |#Default = {{#ifeq:{{NAMESPACE}}||[[Category:Invalid section order]]}} | |
− | + | }}{{#vardefine:multiplayer|true}}{{#vardefine:Network|true}} | |
− | + | <div class="container-pcgwikitable"><table class="pcgwikitable template-infotable" id="table-network-multiplayer"> | |
− | {{#if: | + | <tr class="template-infotable-head table-network-multiplayer-head-row"> |
− | + | <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> | ||
<!-- Local play --> | <!-- Local play --> | ||
{{#if: {{{local play|}}} | | {{#if: {{{local play|}}} | | ||
− | + | <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> | |
− | + | <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|}}}</td>}} | |
− | {{ | + | <td colspan="2" class="table-network-multiplayer-body-notes">{{#if: {{{local play modes|}}} | {{#arraymaptemplate:{{{local play modes|}}}|Network/Multiplayer/switch|,|, }}<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|}}} | |
− | + | <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> | |
− | + | <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|}}}</td>}} | |
− | + | <td colspan="2" class="table-network-multiplayer-body-notes">{{#if: {{{lan play modes|}}} | {{#arraymaptemplate:{{{lan play modes|}}}|Network/Multiplayer/switch2|,|, }}<br/>}}{{{lan play notes|}}}</td> | |
− | + | </tr> | |
− | + | <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> |
− | + | <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|}}}</td>}} | |
− | + | <td colspan="2" class="table-network-multiplayer-body-notes">{{#if: {{{online play modes|}}} | {{#arraymaptemplate:{{{online play modes|}}}|Network/Multiplayer/switch3|,|, }}<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> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{#if: {{{ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | < | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{# | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{# | ||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
<!-- Asynchronous multiplayer --> | <!-- Asynchronous multiplayer --> | ||
{{#if: {{{asynchronous|}}} | | {{#if: {{{asynchronous|}}} | | ||
− | + | <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> |
− | + | <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: | |
− | {{ | + | _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> |
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
local play
- Local play support.local play players
- Local play player count.local play modes
- Local play modes.lan play
- LAN play support.lan play players
- LAN play player count.LAN play modes
- LAN play modes.online play
- Online play support.online play players
- Online play player count. Leave blank for MMORPGs and other games with unlimited player counts.Online play modes
- Online play modes.asynchronous
- Asynchronous multiplayer support.
- 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 = }}
Visit Template:Network/Multiplayer/Documentation to edit this text. (How does this work?)