Difference between revisions of "Template:Network/Multiplayer"

From PCGamingWiki, the wiki about fixing PC games
(fixed PC booter naming)
(changed section vardefine handling to fix cleanup category name detection)
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#if: {{{local play|}}}{{{lan play|}}}{{{online play|}}}{{{asynchronous|}}} | <h3>Multiplayer types</h3>{{#vardefine:section|Network}}{{#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 46: 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
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   = 
}}