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
matchmaking
- Matchmaking support.p2p
- Peer-to-peer support.dedicated
- Dedicated support.self-hosting
- Self-hosting support, populates Category:Self-hosting when set to true or hackable.direct ip
- Direct IP support.
- Syntax
{{Network/Connections |matchmaking = |matchmaking notes = |p2p = |p2p notes = |dedicated = |dedicated notes = |self-hosting = |self-hosting notes = |direct ip = |direct ip notes = }}
Visit Template:Network/Connections/Documentation to edit this text. (How does this work?)