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

From PCGamingWiki, the wiki about fixing PC games
(added previous section validity check (ensures templates are being used in the correct order on game pages))
(put template inside includeonly to prevent cleanup categorization)
Line 1: Line 1:
{{#switch:{{#var:section}}
+
<includeonly>{{#switch:{{#var:section}}
 
|Localizations/done
 
|Localizations/done
 
|Network/Multiplayer
 
|Network/Multiplayer
Line 33: Line 33:
 
  |n/a      = {{ii}} [[Wikipedia:Universal Plug and Play|Universal Plug and Play]] (UPnP) support status is not applicable for this game.[[UPnP support::n/a| ]]
 
  |n/a      = {{ii}} [[Wikipedia:Universal Plug and Play|Universal Plug and Play]] (UPnP) support status is not applicable for this game.[[UPnP support::n/a| ]]
 
  |hackable = {{ii}} [[Wikipedia:Universal Plug and Play|Universal Plug and Play]] (UPnP) support status can be hacked for this game: {{#if:{{{upnp notes|}}}|{{{upnp notes|}}}|<div title="Error: 'upnp notes' field required for hackable state" class="svg-icon svg-16 os-error"></div>[[Category:Invalid template usage (Network)]]}}[[UPnP support::hackable| ]]
 
  |hackable = {{ii}} [[Wikipedia:Universal Plug and Play|Universal Plug and Play]] (UPnP) support status can be hacked for this game: {{#if:{{{upnp notes|}}}|{{{upnp notes|}}}|<div title="Error: 'upnp notes' field required for hackable state" class="svg-icon svg-16 os-error"></div>[[Category:Invalid template usage (Network)]]}}[[UPnP support::hackable| ]]
  |#default = {{ii}} [[Wikipedia:Universal Plug and Play|Universal Plug and Play]] (UPnP) support status is unknown.[[UPnP support::unknown| ]]<div title="Error: '{{{upnp}}}' not unrecognized" class="svg-icon svg-16 os-error"></div>[[Category:Invalid template usage (Network)]]{{#vardefine:tickcross unknown|{{#expr:{{#var:tickcross unknown}}+1}}}}}}{{{upnp ref|}}}}}{{#if:{{#var:screenshots}}|{{#vardefine:Network screenshots|true}}{{#vardefine:screenshots|}}}}<noinclude>{{Documentation}}</noinclude>
+
  |#default = {{ii}} [[Wikipedia:Universal Plug and Play|Universal Plug and Play]] (UPnP) support status is unknown.[[UPnP support::unknown| ]]<div title="Error: '{{{upnp}}}' not unrecognized" class="svg-icon svg-16 os-error"></div>[[Category:Invalid template usage (Network)]]{{#vardefine:tickcross unknown|{{#expr:{{#var:tickcross unknown}}+1}}}}}}{{{upnp ref|}}}}}{{#if:{{#var:screenshots}}|{{#vardefine:Network screenshots|true}}{{#vardefine:screenshots|}}}}</includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 03:10, 27 August 2021

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

This template contains all information relating to ports and UPnP support; see also {{Network/Multiplayer}} and {{Network/Connections}}.

Arguments

  • tcp - TCP ports used;
  • udp - UDP ports used;
  • ref - Reference for ports.
  • upnp - UPnP support status.
  • upnp ref - Reference for UPnP support status;
  • upnp notes - Note for hackable (only) state of UPnP support status;

Syntax

{{Network/Ports
|tcp        = 
|udp        = 
|ref        = 
|upnp       = 
|upnp ref   = 
|upnp notes = 
}}