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

Difference between revisions of "Template:Rating"

From AppleGamingWiki, the wiki about gaming on M1 Apple silicon Macs
m (if a second parameter is set, then return a numeric value indicating the priority/order of the rating. if not, return rating)
m (forgot switch clause)
Line 1: Line 1:
 
<includeonly>{{#if: {{{2|}}} |
 
<includeonly>{{#if: {{{2|}}} |
 +
{{#switch: {{lc:{{{1|}}}}}
 
| perfect            = 1
 
| perfect            = 1
 
| playable          = 2
 
| playable          = 2
Line 8: Line 9:
 
| unknown            = 7
 
| unknown            = 7
 
| #default          = 99
 
| #default          = 99
|{{#switch: {{lc:{{{1|}}}}}
+
}}|{{#switch: {{lc:{{{1|}}}}}
 
| perfect            = <span style="color: #10ab00; font-weight: bold">Perfect</span>
 
| perfect            = <span style="color: #10ab00; font-weight: bold">Perfect</span>
 
| playable          = <span style="color: #bdc62f; font-weight: bold">Playable</span>
 
| playable          = <span style="color: #bdc62f; font-weight: bold">Playable</span>

Revision as of 09:26, 13 April 2021

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

Template to be used when rating within the Template:Compatibility section.

Arguments
  • perfect - Perfect - Game can be played with no issues.
  • playable - Playable - Game can be played through with minor audio or graphical glitches.
  • runs - Runs - Game runs, but major glitches/issues prevent game from being completed.
  • menu - Menu - Game menu loads, but crashes in title screen/menu/in-game.
  • unplayable - Unplayable - Crashes when booting/infinite black screen.
  • na - Not available - Game is not available in this method/format.
  • unknown - Unknown - Method hasn't been tested yet.
Syntax
{{rating|perfect}}
Example

{{rating|perfect}}

References