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
(Added rating class)
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#switch: {{lc:{{{1|}}}}}
+
<includeonly>{{#if: {{{2|}}} |
| perfect            = data-sort-value="1"><span style="color: #10ab00; font-weight: bold">Perfect</span>
+
{{#switch: {{lc:{{{1|}}}}}
| playable          = data-sort-value="2"><span style="color: #bdc62f; font-weight: bold">Playable</span>
+
| perfect            = 1
| runs              = data-sort-value="3"><span style="color: #bc7100; font-weight: bold">Runs</span>
+
| playable          = 2
| loads              = data-sort-value="4"><span style="color: #7c1600; font-weight: bold">Loads</span>
+
| runs              = 3
| unplayable        = data-sort-value="5"><span style="color: #814600; font-weight: bold">Unplayable</span>
+
| menu              = 4
| unknown            = data-sort-value="6"><span style="color: #333333; font-weight: bold">Unknown</span>  
+
| unplayable        = 5
| #default          = data-sort-value="0"><div title="Error: '{{{1|}}}' not recognized" class="svg-icon svg-16 os-error"></div>
+
| na                = 6
}}</includeonly><noinclude>{{Documentation}}</noinclude>
+
| unknown            = 7
 +
| #default          = 99
 +
}}|{{#switch: {{lc:{{{1|}}}}}
 +
| perfect            = <span class="rating rating-perfect">Perfect</span>
 +
| playable          = <span class="rating rating-playable">Playable</span>
 +
| runs              = <span class="rating rating-runs">Runs</span>
 +
| menu              = <span class="rating rating-menu">Menu</span>
 +
| unplayable        = <span class="rating rating-unplayable">Unplayable</span>
 +
| na                = <span class="rating rating-na">N/A</span>  
 +
| unknown            = <span class="rating rating-unknown">Unknown</span>  
 +
| #default          = <div title="Error: '{{{1|}}}' not recognized" class="svg-icon svg-16 os-error"></div>
 +
}}}}</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