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
(removed Semantic MediaWiki property tagging (not used))
m (If self-hosting is set to true or hackable, add the page to the self-hosting category)
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
 
|Localizations/done
 
|Localizations/done
 
|Network/Multiplayer={{#vardefine:section|Network}}
 
|Network/Multiplayer={{#vardefine:section|Network}}
|#Default = [[Category:Invalid section order]]
+
|#Default = {{#ifeq:{{NAMESPACE}}||[[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}}
 
<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">
Line 45: Line 45:
 
<td class="table-network-connection-body-rating">{{Tickcross|{{{self-hosting|}}}||{{{self-hosting notes|}}}}}</td>
 
<td class="table-network-connection-body-rating">{{Tickcross|{{{self-hosting|}}}||{{{self-hosting notes|}}}}}</td>
 
<td class="table-network-connection-body-notes">{{{self-hosting notes|}}}</td>
 
<td class="table-network-connection-body-notes">{{{self-hosting notes|}}}</td>
</tr>
+
</tr>{{#switch:{{{self-hosting|}}}|true|hackable=[[Category:Self-hosting]]}}
 
}}
 
}}
  

Latest revision as of 21:04, 23 April 2023

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    = 
}}