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
(removed old PCGWR method; simplified upnp ref)
(Blanked the page)
Tag: Blanking
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#if: {{#var:use form}}| {{#if:{{#var:network}}||<h2 class="Network">Network</h2>}} }}{{#vardefine:network|yes}}<!--
 
-->{{#if: {{{tcp|}}}{{{udp|}}}{{{upnp|}}} | <h3 {{#if: {{#var:use form}}|class="Network Ports"}}>Ports</h3>{{#vardefine:section|Network}}
 
<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 support::true| ]]
 
|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}} [[Wikipedia:Universal Plug and Play|Universal Plug and Play]] (UPnP) support status is unknown.[[UPnP support::unknown| ]]
 
|#default = {{ii}} [[Wikipedia:Universal Plug and Play|Universal Plug and Play]] (UPnP) support status is unknown.[[UPnP support::unknown| ]][[Category:Invalid template usage (Network)]]}}{{{upnp ref|}}}}}<noinclude>{{Documentation}}</noinclude>
 

Latest revision as of 23:16, 27 August 2021