Difference between revisions of "Template:Network/Ports"
From PCGamingWiki, the wiki about fixing PC games
(fixed table displaying when only UPNP is specified - now shows a default "edit this page" note instead) |
m (added support for hackable state) |
||
Line 23: | Line 23: | ||
</table></div> | {{ii}} No port information; you can <span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit this page]</span> to add it. }} | </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}}}}} | {{#switch: {{lc:{{{upnp}}}}} | ||
− | |true | + | |true = {{++}} This game supports [[Wikipedia:Universal Plug and Play|Universal Plug and Play]] (UPnP) for automatic port configuration.[[UPnP support::true| ]] |
− | |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 | + | |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> | + | |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> |
Revision as of 14:24, 12 December 2020
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?)