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
(added previous section validity check)
(Blanked the page)
Tag: Blanking
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#if: {{{tcp|}}}{{{udp|}}}{{{upnp|}}} | <h3>Ports</h3>{{#switch:{{#var:section}}
 
|Localizations
 
|Network/Multiplayer
 
|Network/Connections={{#vardefine:section|Network/Ports}}
 
|#Default = [[Category:Incorrect section order]]
 
}}{{#vardefine:Network|true}}
 
{{#if: {{{tcp|}}}{{{udp|}}} | <div class="container-pcgwikitable"><table class="pcgwikitable template-infotable" id="table-network-ports">
 
<tr class="template-infotable-head table-network-ports-head-row">
 
<th scope="col" style="width: 230px;" class="table-network-ports-head-parameter">Protocol</th>
 
<th scope="col" style="width: 590px;" class="table-network-ports-head-value">Port(s) and/or port range(s){{{ref|}}}</th>
 
</tr>
 
  
<!-- TCP -->
 
{{#if: {{{tcp|}}} |
 
<tr class="template-infotable-body table-network-ports-body-row">
 
<th scope="row" class="table-network-ports-body-parameter">TCP</th>
 
<td class="table-network-ports-body-value">{{{tcp|}}}</td>
 
</tr>
 
}}
 
 
<!-- UDP -->
 
{{#if: {{{udp|}}} |
 
<tr class="template-infotable-body table-network-ports-body-row">
 
<th scope="row" class="table-network-ports-body-parameter">UDP</th>
 
<td class="table-network-ports-body-value">{{{udp|}}}</td>
 
</tr>
 
}}
 
</table></div> | {{ii}} No port information; you can <span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit this page]</span> to add it. }}
 
{{#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| ]]{{#vardefine:tickcross unknown|{{#expr:{{#var:tickcross unknown}}+1}}}}
 
|n/a      = {{ii}} [[Wikipedia:Universal Plug and Play|Universal Plug and Play]] (UPnP) support status is not applicable for this game.[[UPnP support::n/a| ]]
 
|hackable = {{ii}} [[Wikipedia:Universal Plug and Play|Universal Plug and Play]] (UPnP) support status can be hacked for this game: {{#if:{{{upnp notes|}}}|{{{upnp notes|}}}|<div title="Error: 'upnp notes' field required for hackable state" class="svg-icon svg-16 os-error"></div>[[Category:Invalid template usage (Network)]]}}[[UPnP support::hackable| ]]
 
|#default = {{ii}} [[Wikipedia:Universal Plug and Play|Universal Plug and Play]] (UPnP) support status is unknown.[[UPnP support::unknown| ]]<div title="Error: '{{{upnp}}}' not unrecognized" class="svg-icon svg-16 os-error"></div>[[Category:Invalid template usage (Network)]]{{#vardefine:tickcross unknown|{{#expr:{{#var:tickcross unknown}}+1}}}}}}{{{upnp ref|}}}}}{{#if:{{#var:screenshots}}|{{#vardefine:Network screenshots|true}}{{#vardefine:screenshots|}}}}<noinclude>{{Documentation}}</noinclude>
 

Latest revision as of 23:16, 27 August 2021