Difference between revisions of "Template:Network/Ports"
From PCGamingWiki, the wiki about fixing PC games
(added ratings support) |
(updated ratings support) |
||
Line 23: | Line 23: | ||
</table></div> | </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| ]]}}}}{{#if:{{{section|}}}|{{#switch:{{lc:{{{1}}}}} |
+ | |yes | ||
+ | |true = {{#vardefine:PCGWR Network|{{#expr:{{#var:PCGWR Network}}+1}}}}{{#vardefine:PCGWR Network known|{{#expr:{{#var:PCGWR Network known}}+1}}}} | ||
+ | |no | ||
+ | |false = {{#vardefine:PCGWR Network known|{{#expr:{{#var:PCGWR Network known}}+1}}}} | ||
+ | |unknown = {{#vardefine:PCGWR Network unknown|{{#expr:{{#var:PCGWR Network unknown}}+1}}}} | ||
+ | }}}}<noinclude>{{Documentation}}</noinclude> |
Revision as of 08:19, 22 February 2018
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?)