Difference between revisions of "Template:Infobox game/row/taxonomy/modes"
From PCGamingWiki, the wiki about fixing PC games
Tag: Undo |
m (added namespace check around category assignments) |
||
(3 intermediate revisions by 2 users not shown) | |||
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">{{# | + | <td class="template-infobox-info">{{#switch: {{lc:{{{1}}}}} |
− | | singleplayer = {{Glossary:Singleplayer|uc}} | + | | singleplayer = {{Glossary:Singleplayer|uc}}{{#vardefine:modes|Singleplayer}}{{#ifeq:{{NAMESPACE}}||[[Category:Singleplayer]]}} |
− | | multiplayer = {{Glossary:Multiplayer|uc}} | + | | singleplayer,multiplayer |
− | | #default = <div title="Error: '€€€€€' not recognized" class="svg-icon svg-16 os-error"></div> [[Category:Invalid template usage ( | + | | singleplayer, multiplayer |
− | + | | multiplayer,singleplayer | |
− | + | | multiplayer, singleplayer = {{Glossary:Singleplayer|uc}}, {{Glossary:Multiplayer|uc}}{{#vardefine:multiplayer|needed}}{{#vardefine:modes|Singleplayer, Multiplayer}}{{#ifeq:{{NAMESPACE}}||[[Category:Singleplayer]][[Category:Multiplayer]]}} | |
− | </tr>}} | + | | multiplayer = {{Glossary:Multiplayer|uc}}{{#vardefine:multiplayer|needed}}{{#vardefine:modes|Multiplayer}}{{#ifeq:{{NAMESPACE}}||[[Category:Multiplayer]]}} |
− | </includeonly><noinclude>{{Documentation}}</noinclude> | + | | #default = <div title="Error: '€€€€€' not recognized" class="svg-icon svg-16 os-error"></div> {{#ifeq: {{NAMESPACE}} | | [[Category:Invalid template usage (Taxonomy)]] }} |
+ | }}</td> | ||
+ | </tr>}}{{#switch:{{#var:section}} | ||
+ | |Infobox game | ||
+ | |monetization | ||
+ | |microtransactions={{#vardefine:section|modes}} | ||
+ | |#Default = [[Category:Invalid row order (Taxonomy)]] | ||
+ | }}</includeonly><noinclude>{{Documentation}}</noinclude> |
Latest revision as of 11:44, 9 July 2022
Documentation for the above template (sometimes hidden from view).
- Please refer to Taxonomy.
Category | Definition | Notes | Examples |
---|---|---|---|
Multiplayer | The game supports some form of multiplayer either locally (e.g. hot seat play/pass-and-play) or remotely across the network or internet. | ||
Singleplayer | The game supports solo play through a singleplayer mode. |
|
Visit Template:Infobox game/row/taxonomy/modes/Documentation to edit this text. (How does this work?)