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)
(Added rating class)
 
(3 intermediate revisions by 2 users not shown)
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 class="rating rating-perfect">Perfect</span>
| playable          = <span style="color: #bdc62f; font-weight: bold">Playable</span>
+
| playable          = <span class="rating rating-playable">Playable</span>
| runs              = <span style="color: #bc7100; font-weight: bold">Runs</span>
+
| runs              = <span class="rating rating-runs">Runs</span>
| menu              = <span style="color: #7c1600; font-weight: bold">Menu</span>
+
| menu              = <span class="rating rating-menu">Menu</span>
| unplayable        = <span style="color: #814600; font-weight: bold">Unplayable</span>
+
| unplayable        = <span class="rating rating-unplayable">Unplayable</span>
| na                = <span style="color: #999999; font-weight: bold">N/A</span>  
+
| na                = <span class="rating rating-na">N/A</span>  
| unknown            = <span style="color: #333333; font-weight: bold">Unknown</span>  
+
| unknown            = <span class="rating rating-unknown">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>

Latest revision as of 14:02, 18 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