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

From PCGamingWiki, the wiki about fixing PC games
(added variables)
(added default warning text)
Line 4: Line 4:
 
|co-op = [[Online play modes::Co-op]]{{#vardefine:Online play modes|{{#arraymap:{{#var:Online play modes}},Co-op|,}}}}
 
|co-op = [[Online play modes::Co-op]]{{#vardefine:Online play modes|{{#arraymap:{{#var:Online play modes}},Co-op|,}}}}
 
|versus = [[Online play modes::Versus]]{{#vardefine:Online play modes|{{#arraymap:{{#var:Online play modes}},Versus|,}}}}
 
|versus = [[Online play modes::Versus]]{{#vardefine:Online play modes|{{#arraymap:{{#var:Online play modes}},Versus|,}}}}
|#Default = [[Category:Invalid template usage (Network)]]
+
|#Default = {{#if:{{#var:Network-switch3_warn}}||''Mode name(s) not recognised, see the [[PCGamingWiki:Editing guide/Network|editing guide]] for supported modes.''{{#vardefine:Network-switch3_warn|true}}}}[[Category:Invalid template usage (Network)]]
 
}}</includeonly>
 
}}</includeonly>

Revision as of 03:36, 3 April 2019