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
Line 1: Line 1:
 
{{#if: {{{tcp|}}}{{{udp|}}}{{{upnp|}}} | <h3>Ports</h3>
 
{{#if: {{{tcp|}}}{{{udp|}}}{{{upnp|}}} | <h3>Ports</h3>
{{{!}} class="wikitable template-infotable"
+
<div class="container-pcgwikitable"><table class="pcgwikitable template-infotable" id="table-network-ports">
! scope="col" width="224" {{!}} Protocol
+
<tr class="template-infotable-head">
! scope="col" width="482" {{!}} Port(s) and/or port range(s)
+
<th scope="col" style="width: 230px;">Protocol</th>
{{!-}}
+
<th scope="col" style="width: 590px;">Port(s) and/or port range(s)</th>
 +
</tr>
  
 
<!-- TCP -->
 
<!-- TCP -->
 
{{#if: {{{tcp|}}} |
 
{{#if: {{{tcp|}}} |
! TCP (outbound)
+
<tr class="template-infotable-body">
{{!}} {{{tcp|}}}
+
<th scope="row">TCP (outbound)</th>
{{!-}}
+
<td>{{{tcp|}}}</td>
 +
</tr>
 
}}
 
}}
  
 
<!-- UDP -->
 
<!-- UDP -->
 
{{#if: {{{udp|}}} |
 
{{#if: {{{udp|}}} |
! UDP (outbound)
+
<tr class="template-infotable-body">
{{!}} {{{udp|}}}
+
<th scope="row">UDP (outbound)</th>
{{!-}}
+
<td>{{{udp|}}}</td>
 +
</tr>
 
}}
 
}}
 
+
</table></div>
{{!}}}
 
 
{{#switch: {{lc:{{{upnp}}}}}
 
{{#switch: {{lc:{{{upnp}}}}}
 
  |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| ]]}}}}<noinclude>{{Documentation}}</noinclude>
 
  |unknown = {{ii}} UPNP support status is unknown.{{{upnp ref|}}} [[UPnP support::unknown| ]]}}}}<noinclude>{{Documentation}}</noinclude>

Revision as of 20:40, 3 August 2015

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