Difference between revisions of "Template:Middleware/multiplayer"

From PCGamingWiki, the wiki about fixing PC games
(added check for missing multiplayer section (excluded Epic and Steamworks because some games use these for leaderboards etc. with no actual multiplayer))
(updated Warnings vardefine)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>{{#switch:{{lc:{{{1}}}}}
 
<includeonly>{{#switch:{{lc:{{{1}}}}}
|epic online services = [[Store:Epic Games Store#Epic Online Services|Epic Online Services]][[Multiplayer middleware::Epic Online Services| ]]
+
|epic online services = [[Store:Epic Games Store#Epic Online Services|Epic Online Services]]{{#vardefine:multiplayer middleware|{{#if:{{#var:multiplayer middleware}}|{{#var:multiplayer middleware}},Epic Online Services|Epic Online Services}}}}
 
|gfwl
 
|gfwl
|games for windows - live = [[Games for Windows - LIVE]][[Multiplayer middleware::Games for Windows - LIVE| ]]{{#vardefine:Warnings|true}}
+
|games for windows - live = [[Games for Windows - LIVE]]{{#vardefine:multiplayer middleware|{{#if:{{#var:multiplayer middleware}}|{{#var:multiplayer middleware}},Games for Windows - LIVE|Games for Windows - LIVE}}}}{{#vardefine:Warnings|{{#if:{{#var:Warnings}}|{{#var:Warnings}},GFWL|GFWL}}}}
|gamespy = [[GameSpy]][[Multiplayer middleware::GameSpy| ]]{{#vardefine:GameSpy|true}}{{#vardefine:Warnings|true}}
+
|gamespy = [[GameSpy]]{{#vardefine:GameSpy|true}}{{#vardefine:multiplayer middleware|{{#if:{{#var:multiplayer middleware}}|{{#var:multiplayer middleware}},GameSpy|GameSpy}}}}{{#vardefine:Warnings|{{#if:{{#var:Warnings}}|{{#var:Warnings}},GameSpy|GameSpy}}}}
 
|mplayer
 
|mplayer
|mplayer.com = [[MPlayer.com]][[Multiplayer middleware::Mplayer| ]]
+
|mplayer.com = [[MPlayer.com]]{{#vardefine:multiplayer middleware|{{#if:{{#var:multiplayer middleware}}|{{#var:multiplayer middleware}},MPlayer.com|MPlayer.com}}}}
|steamworks = [[Store:Steam|Steamworks]][[Multiplayer middleware::Steamworks| ]]
+
|steamworks = [[Store:Steam|Steamworks]]{{#vardefine:multiplayer middleware|{{#if:{{#var:multiplayer middleware}}|{{#var:multiplayer middleware}},Steamworks|Steamworks}}}}
|#Default  = {{{1|}}}[[Multiplayer middleware::{{{1}}}| ]]
+
|#Default  = {{{1|}}}{{#vardefine:multiplayer middleware|{{#if:{{#var:multiplayer middleware}}|{{#var:multiplayer middleware}},{{{1|}}}|{{{1|}}}}}}}
 
}}{{#switch:{{lc:{{{1}}}}}
 
}}{{#switch:{{lc:{{{1}}}}}
 
|epic online services
 
|epic online services
 
|steamworks=
 
|steamworks=
|#Default  ={{#if:{{#var:multiplayer}}||{{#vardefine:multiplayer|needed}}}}</includeonly>
+
|#Default  ={{#if:{{#var:multiplayer}}||{{#vardefine:multiplayer|needed}}}}}}</includeonly>

Latest revision as of 07:03, 14 October 2021