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> | ||
− | + | <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)</th> | |
+ | </tr> | ||
<!-- TCP --> | <!-- TCP --> | ||
{{#if: {{{tcp|}}} | | {{#if: {{{tcp|}}} | | ||
− | + | <tr class="template-infotable-body"> | |
− | + | <th scope="row">TCP (outbound)</th> | |
− | + | <td>{{{tcp|}}}</td> | |
+ | </tr> | ||
}} | }} | ||
<!-- UDP --> | <!-- UDP --> | ||
{{#if: {{{udp|}}} | | {{#if: {{{udp|}}} | | ||
− | + | <tr class="template-infotable-body"> | |
− | + | <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 forhackable
(only) state of UPnP support status;
Syntax
{{Network/Ports |tcp = |udp = |ref = |upnp = |upnp ref = |upnp notes = }}
Visit Template:Network/Ports/Documentation to edit this text. (How does this work?)