Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

Difference between revisions of "Template:Network/Connections"

From PCGamingWiki, the wiki about fixing PC games
(updated tickcross usage)
(added previous section validity check (ensures templates are being used in the correct order on game pages))
Line 1: Line 1:
{{#if: {{{matchmaking|}}}{{{p2p|}}}{{{dedicated|}}}{{{self-hosting|}}}{{{direct ip|}}} | <h3>Connection types</h3>{{#vardefine:section|Network}}{{#vardefine:Network|true}}
+
{{#switch:{{#var:section}}
 +
|Localizations/done
 +
|Network/Multiplayer={{#vardefine:section|Network/Connections}}
 +
|#Default = [[Category:Invalid section order]]
 +
}}{{#if: {{{matchmaking|}}}{{{p2p|}}}{{{dedicated|}}}{{{self-hosting|}}}{{{direct ip|}}} | <h3>Connection types</h3>{{#vardefine:Network|true}}
 
<div class="container-pcgwikitable"><table class="pcgwikitable template-infotable" id="table-network-connection">
 
<div class="container-pcgwikitable"><table class="pcgwikitable template-infotable" id="table-network-connection">
 
<tr class="template-infotable-head table-network-connection-head-row">
 
<tr class="template-infotable-head table-network-connection-head-row">

Revision as of 02:30, 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    = 
}}