Difference between revisions of "Template:Network/Multiplayer"
From PCGamingWiki, the wiki about fixing PC games
(made missing Localizations section semi-valid for now (pass section order check here but still categorize as missing)) |
(changed section vardefine handling to fix cleanup category name detection) |
||
Line 1: | Line 1: | ||
{{#if: {{{local play|}}}{{{lan play|}}}{{{online play|}}}{{{asynchronous|}}} | <h3>Multiplayer types</h3>{{#switch:{{#var:section}} | {{#if: {{{local play|}}}{{{lan play|}}}{{{online play|}}}{{{asynchronous|}}} | <h3>Multiplayer types</h3>{{#switch:{{#var:section}} | ||
|Audio | |Audio | ||
− | |Localizations/done={{#vardefine:section|Network | + | |Localizations/done={{#vardefine:section|Network}} |
|#Default = [[Category:Invalid section order]] | |#Default = [[Category:Invalid section order]] | ||
}}{{#vardefine:multiplayer|true}}{{#vardefine:Network|true}} | }}{{#vardefine:multiplayer|true}}{{#vardefine:Network|true}} | ||
Line 50: | Line 50: | ||
<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 |
Revision as of 23:23, 27 August 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
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?)