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
(Changed not available to N/A)
m (if a second parameter is set, then return a numeric value indicating the priority/order of the rating. if not, return rating)
Line 1: Line 1:
<includeonly>{{#switch: {{lc:{{{1|}}}}}
+
<includeonly>{{#if: {{{2|}}} |
 +
| perfect            = 1
 +
| playable          = 2
 +
| runs              = 3
 +
| menu              = 4
 +
| unplayable        = 5
 +
| na                = 6
 +
| unknown            = 7
 +
| #default          = 99
 +
|{{#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>
Line 8: Line 17:
 
| unknown            = <span style="color: #333333; font-weight: bold">Unknown</span>  
 
| unknown            = <span style="color: #333333; font-weight: bold">Unknown</span>  
 
| #default          = <div title="Error: '{{{1|}}}' not recognized" class="svg-icon svg-16 os-error"></div>
 
| #default          = <div title="Error: '{{{1|}}}' not recognized" class="svg-icon svg-16 os-error"></div>
}}</includeonly><noinclude>{{Documentation}}</noinclude>
+
}}}}</includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 09:21, 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