Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

Difference between revisions of "Development:Infobox game/row/taxonomy/modes"

From PCGamingWiki, the wiki about fixing PC games
(1:1 with live)
 
Line 1: Line 1:
 
<includeonly>{{#if: {{{1|}}} | <tr>
 
<includeonly>{{#if: {{{1|}}} | <tr>
 
<td class="template-infobox-type">Modes</td>
 
<td class="template-infobox-type">Modes</td>
<td class="template-infobox-info">{{#vardefineecho:modes|{{#arraymap: {{{1}}} | , | x | [[:Category:{{ucfirst:x}}|{{ucfirst:x}}]] [[Category:{{ucfirst:x}}]] }} }}</td>
+
<td class="template-infobox-info">{{#arraymap: {{{1}}} | , | €€€€€ | {{#switch: {{lc:€€€€€}}
 +
| singleplayer = [[:Category:Singleplayer|Singleplayer]]    [[Category:Singleplayer]]
 +
| multiplayer  = [[:Category:Multiplayer|Multiplayer]]     [[Category:Multiplayer]]
 +
| #default      = <div title="Error: mode '€€€€€' not recognized" class="svg-icon svg-16 os-error"></div> [[Category:Invalid template usage (infobox game)]]
 +
}}
 +
}}</td>
 
</tr>}}
 
</tr>}}
 
</includeonly><noinclude>{{Documentation}}</noinclude>
 
</includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 08:09, 26 May 2020

Documentation for the above template (sometimes hidden from view).