Difference between revisions of "Template:Network/Multiplayer/switch2"

From PCGamingWiki, the wiki about fixing PC games
(Created page with "<includeonly>{{#switch: {{lc:{{{1|}}}}} |coop |co op |co-op = LAN play modes::Co-op |versus = LAN play modes::Versus |#Default = Category:Invalid template usage (Net...")
 
(added default warning text)
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
 
|coop
 
|coop
 
|co op
 
|co op
|co-op = [[LAN play modes::Co-op]]
+
|co-op = [[LAN play modes::Co-op]]{{#vardefine:LAN play modes|{{#arraymap:{{#var:LAN play modes}},Co-op|,}}}}
|versus = [[LAN play modes::Versus]]
+
|versus = [[LAN play modes::Versus]]{{#vardefine:LAN play modes|{{#arraymap:{{#var:LAN play modes}},Versus|,}}}}
|#Default = [[Category:Invalid template usage (Network)]]
+
|#Default = {{#if:{{#var:Network-switch2_warn}}||''Mode name(s) not recognised, see the [[PCGamingWiki:Editing guide/Network|editing guide]] for supported modes.''{{#vardefine:Network-switch2_warn|true}}[[Category:Invalid template usage (Network)]]}}
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 03:35, 3 April 2019