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 "Development:Network/Ports"

From PCGamingWiki, the wiki about fixing PC games
(Blanked the page)
Tag: Blanking
 
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#if:{{#var:network}}||<h2 id="Network">Network</h2>{{#vardefine:network|yes}} }}<!--
 
-->{{#if: {{{tcp|}}}{{{udp|}}}{{{upnp|}}} | <h3>Ports</h3>
 
<div class="container-pcgwikitable"><table class="pcgwikitable template-infotable" id="table-network-ports">
 
<tr class="template-infotable-head">
 
<th scope="col" style="width: 230px;">Protocol</th>
 
<th scope="col" style="width: 590px;">Port(s) and/or port range(s){{{ref|}}}</th>
 
</tr>
 
  
<!-- TCP -->
 
{{#if: {{{tcp|}}} |
 
<tr class="template-infotable-body">
 
<th scope="row">TCP (outbound)</th>
 
<td>{{{tcp|}}}</td>
 
</tr>
 
}}
 
 
<!-- UDP -->
 
{{#if: {{{udp|}}} |
 
<tr class="template-infotable-body">
 
<th scope="row">UDP (outbound)</th>
 
<td>{{{udp|}}}</td>
 
</tr>
 
}}
 
</table></div>
 
{{#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| ]]{{#vardefine:PCGWR Network|{{#expr:{{#var:PCGWR Network}}+1}}}}{{#vardefine:PCGWR Network known|{{#expr:{{#var:PCGWR Network known}}+1}}}}
 
|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| ]]{{#vardefine:PCGWR Network known|{{#expr:{{#var:PCGWR Network known}}+1}}}}
 
|unknown = {{ii}} UPNP support status is unknown.{{#vardefine:PCGWR Network unknown|{{#expr:{{#var:PCGWR Network unknown}}+1}}}}{{{upnp ref|}}} [[UPnP support::unknown| ]]}}}}<noinclude>{{Documentation}}</noinclude>
 

Latest revision as of 23:16, 27 August 2021