Difference between revisions of "Template:Network/Ports"

From PCGamingWiki, the wiki about fixing PC games
(removed deprecated "yes" and "no" alt names)
m (added n/a case)
Line 26: Line 26:
 
  |false  = {{--}} This game does not support [[Wikipedia:Universal Plug and Play|Universal Plug and Play]] (UPnP) for automatic port configuration.[[UPnP support::false| ]]
 
  |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}}}}
 
  |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| ]]
 
  |#default = {{ii}} [[Wikipedia:Universal Plug and Play|Universal Plug and Play]] (UPnP) support status is unknown.[[UPnP support::unknown| ]][[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>
 
  |#default = {{ii}} [[Wikipedia:Universal Plug and Play|Universal Plug and Play]] (UPnP) support status is unknown.[[UPnP support::unknown| ]][[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>

Revision as of 19:45, 23 September 2019

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;
  • upnp - UPnP support status. Defines Property:UPnP support;
  • upnp ref - Reference for UPnP support status;
  • ref - Reference for ports.

Syntax

{{Network/Ports
|tcp  = 
|udp  = 
|upnp = 
}}