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

From PCGamingWiki, the wiki about fixing PC games
m (testing new stuff)
m (t)
Line 2: Line 2:
 
<td class="template-infobox-type">Modes</td>
 
<td class="template-infobox-type">Modes</td>
 
<td class="template-infobox-info">{{#arraymap: {{{1}}} | , | €€€€€ | {{#switch: {{lc:€€€€€}}
 
<td class="template-infobox-info">{{#arraymap: {{{1}}} | , | €€€€€ | {{#switch: {{lc:€€€€€}}
| singleplayer = {{Glossary:Singleplayer|uc}}                                                      [[Category:Singleplayer]]  
+
| singleplayer = {{Glossary:Singleplayer|uc}}                                                      [[Category:Singleplayer]] {{#var:modes|{{#var:modes|}}Singleplayer, }}
| multiplayer  = {{Glossary:Multiplayer|uc}}                                                        [[Category:Multiplayer]]
+
| multiplayer  = {{Glossary:Multiplayer|uc}}                                                        [[Category:Multiplayer]] {{#var:modes|{{#var:modes|}}Multiplayer, }}
 
| #default    = <div title="Error: '€€€€€' not recognized" class="svg-icon svg-16 os-error"></div> [[Category:Invalid template usage (infobox game)]]
 
| #default    = <div title="Error: '€€€€€' not recognized" class="svg-icon svg-16 os-error"></div> [[Category:Invalid template usage (infobox game)]]
}}{{#var:modes|{{#var:modes|}}€€€€€, }}
+
}}
 
}}</td>
 
}}</td>
 
</tr>}}
 
</tr>}}
 
</includeonly><noinclude>{{Documentation}}</noinclude>
 
</includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 10:06, 11 July 2020

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