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
(updated ratings support)
m (fixed switch)
Line 25: Line 25:
 
  |true    = {{++}} This game supports [[Wikipedia:Universal Plug and Play|Universal Plug and Play]] (UPnP) for automatic port configuration.{{{upnp ref|}}} [[UPnP support::true| ]]
 
  |true    = {{++}} This game supports [[Wikipedia:Universal Plug and Play|Universal Plug and Play]] (UPnP) for automatic port configuration.{{{upnp ref|}}} [[UPnP support::true| ]]
 
  |false  = {{--}} This game does not support [[Wikipedia:Universal Plug and Play|Universal Plug and Play]] (UPnP) for automatic port configuration.{{{upnp ref|}}} [[UPnP support::false| ]]
 
  |false  = {{--}} This game does not support [[Wikipedia:Universal Plug and Play|Universal Plug and Play]] (UPnP) for automatic port configuration.{{{upnp ref|}}} [[UPnP support::false| ]]
  |unknown = {{ii}} UPNP support status is unknown.{{{upnp ref|}}} [[UPnP support::unknown| ]]}}}}{{#if:{{{section|}}}|{{#switch:{{lc:{{{1}}}}}
+
  |unknown = {{ii}} UPNP support status is unknown.{{{upnp ref|}}} [[UPnP support::unknown| ]]}}}}{{#if:{{{section|}}}|{{#switch:{{lc:{{{upnp}}}}}
 
  |yes
 
  |yes
 
  |true    = {{#vardefine:PCGWR Network|{{#expr:{{#var:PCGWR Network}}+1}}}}{{#vardefine:PCGWR Network known|{{#expr:{{#var:PCGWR Network known}}+1}}}}
 
  |true    = {{#vardefine:PCGWR Network|{{#expr:{{#var:PCGWR Network}}+1}}}}{{#vardefine:PCGWR Network known|{{#expr:{{#var:PCGWR Network known}}+1}}}}

Revision as of 08:22, 22 February 2018

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