Difference between revisions of "Template:Middleware/multiplayer"

From PCGamingWiki, the wiki about fixing PC games
m (fixed switch close)
(removed Semantic MediaWiki property tagging (not used), added vardefines for Cargo)
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:Warnings|true}}{{#vardefine:multiplayer middleware|{{#if:{{#var:multiplayer middleware}}|{{#var:multiplayer middleware}},Games for Windows - LIVE|Games for Windows - LIVE}}}}
|gamespy = [[GameSpy]][[Multiplayer middleware::GameSpy| ]]{{#vardefine:GameSpy|true}}{{#vardefine:Warnings|true}}
+
|gamespy = [[GameSpy]]{{#vardefine:GameSpy|true}}{{#vardefine:Warnings|true}}{{#vardefine:multiplayer middleware|{{#if:{{#var:multiplayer middleware}}|{{#var:multiplayer middleware}},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>

Revision as of 23:08, 17 September 2021