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/Connections"

From PCGamingWiki, the wiki about fixing PC games
(put template inside includeonly to prevent cleanup categorization)
(changed section vardefine handling to fix cleanup category name detection)
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
<includeonly>{{#switch:{{#var:section}}
 
<includeonly>{{#switch:{{#var:section}}
 +
|Audio
 
|Localizations/done
 
|Localizations/done
|Network/Multiplayer={{#vardefine:section|Network/Connections}}
+
|Network/Multiplayer={{#vardefine:section|Network}}
 
|#Default = [[Category:Invalid section order]]
 
|#Default = [[Category:Invalid section order]]
 
}}{{#if: {{{matchmaking|}}}{{{p2p|}}}{{{dedicated|}}}{{{self-hosting|}}}{{{direct ip|}}} | <h3>Connection types</h3>{{#vardefine:Network|true}}
 
}}{{#if: {{{matchmaking|}}}{{{p2p|}}}{{{dedicated|}}}{{{self-hosting|}}}{{{direct ip|}}} | <h3>Connection types</h3>{{#vardefine:Network|true}}
Line 55: Line 56:
 
</tr>
 
</tr>
 
}}
 
}}
</table></div>}}{{#if:{{#var:screenshots}}|{{#vardefine:Network screenshots|true}}{{#vardefine:screenshots|}}}}</includeonly><noinclude>{{Documentation}}</noinclude>
+
</table></div>}}{{#vardefine:section|Network/Connections}}{{#if:{{#var:screenshots}}|{{#vardefine:Network screenshots|true}}{{#vardefine:screenshots|}}}}</includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 23:24, 27 August 2021

Documentation for the above template (sometimes hidden from view).
Description

This template contains all information relating to connection types; see also {{Network/Multiplayer}} and {{Network/Ports}}.

Arguments
Syntax
{{Network/Connections
|matchmaking        = 
|matchmaking notes  = 
|p2p                = 
|p2p notes          = 
|dedicated          = 
|dedicated notes    = 
|self-hosting       = 
|self-hosting notes = 
|direct ip          = 
|direct ip notes    = 
}}