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

From PCGamingWiki, the wiki about fixing PC games
(test using switch instead)
(added section validity order check)
 
(2 intermediate revisions by the same user not shown)
Line 8: Line 8:
 
| multiplayer, singleplayer = {{Glossary:Singleplayer|uc}}[[Category:Singleplayer]], {{Glossary:Multiplayer|uc}}[[Category:Multiplayer]]{{#vardefine:multiplayer|needed}}{{#vardefine:modes|Singleplayer, Multiplayer}}
 
| multiplayer, singleplayer = {{Glossary:Singleplayer|uc}}[[Category:Singleplayer]], {{Glossary:Multiplayer|uc}}[[Category:Multiplayer]]{{#vardefine:multiplayer|needed}}{{#vardefine:modes|Singleplayer, Multiplayer}}
 
| multiplayer  = {{Glossary:Multiplayer|uc}}[[Category:Multiplayer]]{{#vardefine:multiplayer|needed}}{{#vardefine:modes|Multiplayer}}
 
| multiplayer  = {{Glossary:Multiplayer|uc}}[[Category:Multiplayer]]{{#vardefine:multiplayer|needed}}{{#vardefine: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 (Taxonomy)]]
}}
 
 
}}</td>
 
}}</td>
</tr>}}
+
</tr>}}{{#switch:{{#var:section}}
</includeonly><noinclude>{{Documentation}}</noinclude>
+
|Infobox game
 +
|monetization
 +
|microtransactions={{#vardefine:section|modes}}
 +
|#Default = [[Category:Invalid row order (Taxonomy)]]
 +
}}</includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 04:17, 4 September 2021

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