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

From PCGamingWiki, the wiki about fixing PC games
(added variables)
(added default warning text)
 
Line 4: Line 4:
 
|co-op = [[LAN play modes::Co-op]]{{#vardefine:LAN play modes|{{#arraymap:{{#var: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]]{{#vardefine:LAN play modes|{{#arraymap:{{#var: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