Difference between revisions of "Template:Network/Multiplayer"
From PCGamingWiki, the wiki about fixing PC games
(added mode name validity checks) |
(made LAN+Online play visible when either is set) |
||
Line 19: | Line 19: | ||
}} | }} | ||
− | <!-- LAN play --> | + | <!-- LAN/Online play --> |
− | {{#if: {{{lan play|}}} | | + | {{#if: {{{lan play|}}}{{{online play|}}} | |
<tr class="template-infotable-body"> | <tr class="template-infotable-body"> | ||
<th scope="row">[[Glossary:LAN play|{{Abbr|LAN play|Local Area Network multiplayer. Multiple devices playing together over the same network connection without using an external server as a host.}}]]</th> | <th scope="row">[[Glossary:LAN play|{{Abbr|LAN play|Local Area Network multiplayer. Multiple devices playing together over the same network connection without using an external server as a host.}}]]</th> | ||
Line 27: | Line 27: | ||
<td colspan="2">{{#if: {{{lan play modes|}}} | {{#arraymaptemplate:{{{lan play modes|}}}|Network/Multiplayer/switch2|,|, }}<br/>}}{{{lan play notes|}}}</td> | <td colspan="2">{{#if: {{{lan play modes|}}} | {{#arraymaptemplate:{{{lan play modes|}}}|Network/Multiplayer/switch2|,|, }}<br/>}}{{{lan play notes|}}}</td> | ||
</tr> | </tr> | ||
− | |||
− | |||
− | |||
− | |||
<tr class="template-infotable-body"> | <tr class="template-infotable-body"> | ||
<th scope="row">[[Glossary:Online play|{{Abbr|Online play|Multiplayer over an internet connection.}}]]</th> | <th scope="row">[[Glossary:Online play|{{Abbr|Online play|Multiplayer over an internet connection.}}]]</th> |
Revision as of 07:30, 6 March 2017
Documentation for the above template (sometimes hidden from view).
- Description
This template contains all information relating to multiplayer modes; see also {{Network/Connections}} and {{Network/Ports}}.
- Arguments
local play
- Local play support.local play players
- Local play player count.local play modes
- Local play modes.lan play
- LAN play support.lan play players
- LAN play player count.LAN play modes
- LAN play modes.online play
- Online play support.online play players
- Online play player count. Leave blank for MMORPGs and other games with unlimited player counts.Online play modes
- Online play modes.asynchronous
- Asynchronous multiplayer support.
- Syntax
{{Network/Multiplayer |local play = |local play players = |local play modes = |local play notes = |lan play = |lan play players = |lan play modes = |lan play notes = |online play = |online play players = |online play modes = |online play notes = |asynchronous = |asynchronous notes = }}
Visit Template:Network/Multiplayer/Documentation to edit this text. (How does this work?)