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 "Template:Network/Ports"

From PCGamingWiki, the wiki about fixing PC games
(removed old PCGWR method; moved upnp ref outside switch)
m (added per cell CSS classes for more in-depth styling)
Line 1: Line 1:
 
{{#if: {{{tcp|}}}{{{udp|}}}{{{upnp|}}} | <h3>Ports</h3>{{#vardefine:section|Network}}
 
{{#if: {{{tcp|}}}{{{udp|}}}{{{upnp|}}} | <h3>Ports</h3>{{#vardefine:section|Network}}
 
<div class="container-pcgwikitable"><table class="pcgwikitable template-infotable" id="table-network-ports">
 
<div class="container-pcgwikitable"><table class="pcgwikitable template-infotable" id="table-network-ports">
<tr class="template-infotable-head">
+
<tr class="template-infotable-head table-network-ports-head-row">
<th scope="col" style="width: 230px;">Protocol</th>
+
<th scope="col" style="width: 230px;" class="table-network-ports-head-parameter">Protocol</th>
<th scope="col" style="width: 590px;">Port(s) and/or port range(s){{{ref|}}}</th>
+
<th scope="col" style="width: 590px;" class="table-network-ports-head-value">Port(s) and/or port range(s){{{ref|}}}</th>
 
</tr>
 
</tr>
  
 
<!-- TCP -->
 
<!-- TCP -->
 
{{#if: {{{tcp|}}} |
 
{{#if: {{{tcp|}}} |
<tr class="template-infotable-body">
+
<tr class="template-infotable-body table-network-ports-body-row">
<th scope="row">TCP</th>
+
<th scope="row" class="table-network-ports-body-parameter">TCP</th>
<td>{{{tcp|}}}</td>
+
<td class="table-network-ports-body-value">{{{tcp|}}}</td>
 
</tr>
 
</tr>
 
}}
 
}}
Line 16: Line 16:
 
<!-- UDP -->
 
<!-- UDP -->
 
{{#if: {{{udp|}}} |
 
{{#if: {{{udp|}}} |
<tr class="template-infotable-body">
+
<tr class="template-infotable-body table-network-ports-body-row">
<th scope="row">UDP</th>
+
<th scope="row" class="table-network-ports-body-parameter">UDP</th>
<td>{{{udp|}}}</td>
+
<td class="table-network-ports-body-value">{{{udp|}}}</td>
 
</tr>
 
</tr>
 
}}
 
}}

Revision as of 13:23, 11 March 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;
  • ref - Reference for ports.
  • upnp - UPnP support status.
  • upnp ref - Reference for UPnP support status;
  • upnp notes - Note for hackable (only) state of UPnP support status;

Syntax

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