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
m (specified outbound for clarity)
m (Made whole section optional)
Line 1: Line 1:
{| class="template-infotable slottable wikitable"  
+
{{#if: {{{tcp|}}}{{{udp|}}}{{{upnp|}}} |
! scope="col" width="80" {{!}}Protocol 
+
===Ports===
! scope="col" width="280" {{!}}Port(s) and/or port range(s) 
+
{{{!}} class="template-infotable slottable wikitable"  
|-
+
! scope="col" width="80" {{!}} Protocol
 +
! scope="col" width="280" {{!}} Port(s) and/or port range(s)
 +
{{!-}}
 +
 
 +
<!-- TCP -->
 
{{#if: {{{tcp|}}} |
 
{{#if: {{{tcp|}}} |
 
! TCP (outbound)
 
! TCP (outbound)
 
{{!}} {{{tcp|}}}
 
{{!}} {{{tcp|}}}
 +
{{!-}}
 
}}
 
}}
|-
+
 
 +
<!-- UDP -->
 
{{#if: {{{udp|}}} |
 
{{#if: {{{udp|}}} |
 
! UDP (outbound)
 
! UDP (outbound)
 
{{!}} {{{udp|}}}
 
{{!}} {{{udp|}}}
 +
{{!-}}
 
}}
 
}}
|}<includeonly>
+
{{!}}}
 
{{#switch: {{lc:{{{upnp}}}}}
 
{{#switch: {{lc:{{{upnp}}}}}
|true = {{++}} This game supports [[Wikipedia:Universal Plug and Play|Universal Plug and Play]] (UPNP) for automatic port configuration.
+
|true   = {{++}} This game supports [[Wikipedia:Universal Plug and Play|Universal Plug and Play]] (UPnP) for automatic port configuration. [[UPnP support::true| ]]
|false = {{--}} This game does not support [[Wikipedia:Universal Plug and Play|Universal Plug and Play]] (UPNP) for automatic port configuration.
+
|false   = {{--}} This game does not support [[Wikipedia:Universal Plug and Play|Universal Plug and Play]] (UPnP) for automatic port configuration. [[UPnP support::false| ]]
 +
|unknown = {{ii}} UPNP support status is unknown. [[UPnP support::unknown| ]]
  
|#default = {{ii}} UPNP support status is not known.
+
|#default =  
}}</includeonly><noinclude>{{Documentation}}</noinclude>
+
}}}}<noinclude>{{Documentation}}</noinclude>

Revision as of 09:01, 2 February 2014

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